class ModuleStatus(_messages.Message):
    """[Output Only] Aggregate status for a module.

  Fields:
    autoscalingModuleStatus: [Output Only] The status of the
      AutoscalingModule, set for type AUTOSCALING.
    firewallModuleStatus: [Output Only] The status of the FirewallModule, set
      for type FIREWALL.
    healthCheckModuleStatus: [Output Only] The status of the
      HealthCheckModule, set for type HEALTH_CHECK.
    lbModuleStatus: [Output Only] The status of the LbModule, set for type
      LOAD_BALANCING.
    networkModuleStatus: [Output Only] The status of the NetworkModule, set
      for type NETWORK.
    replicaPoolModuleStatus: [Output Only] The status of the
      ReplicaPoolModule, set for type VM.
    state: [Output Only] The current state of the module.
    type: [Output Only] The type of the module.
  """

    autoscalingModuleStatus = _messages.MessageField('AutoscalingModuleStatus',
                                                     1)
    firewallModuleStatus = _messages.MessageField('FirewallModuleStatus', 2)
    healthCheckModuleStatus = _messages.MessageField('HealthCheckModuleStatus',
                                                     3)
    lbModuleStatus = _messages.MessageField('LbModuleStatus', 4)
    networkModuleStatus = _messages.MessageField('NetworkModuleStatus', 5)
    replicaPoolModuleStatus = _messages.MessageField('ReplicaPoolModuleStatus',
                                                     6)
    state = _messages.MessageField('DeployState', 7)
    type = _messages.StringField(8)
Exemple #2
0
class ClassificationConfig(_messages.Message):
    """Represents the definition of a classification model.

  Fields:
    tensorflowGraph: Options for classification using a custom TensorFlow
      graph.
  """

    tensorflowGraph = _messages.MessageField('TensorFlowGraph', 1)
class NewDisk(_messages.Message):
    """A Persistent Disk resource that will be created and attached to each
  Replica in the Pool. Each Replica will have a unique persistent disk that is
  created and attached to that Replica.

  Fields:
    attachment: How the disk will be attached to the Replica.
    autoDelete: If true, then this disk will be deleted when the instance is
      deleted.
    boot: If true, indicates that this is the root persistent disk.
    initializeParams: Create the new disk using these parameters. The name of
      the disk will be <instance_name>-<five_random_charactersgt;.
  """

    attachment = _messages.MessageField('DiskAttachment', 1)
    autoDelete = _messages.BooleanField(2)
    boot = _messages.BooleanField(3)
    initializeParams = _messages.MessageField('NewDiskInitializeParams', 4)
Exemple #4
0
    class Property(messages.Message):
        """A property of a JSON object.

        Fields:
          key: Name of the property.
          value: A JsonValue attribute.
        """
        key = messages.StringField(1)
        value = messages.MessageField(JsonValue, 2)
Exemple #5
0
class MessageDescriptor(messages.Message):
    """Message definition descriptor.

    Fields:
      name: Name of Message without any qualification.
      fields: Fields defined for message.
      message_types: Nested Message classes defined on message.
      enum_types: Nested Enum classes defined on message.
    """

    name = messages.StringField(1)
    fields = messages.MessageField(FieldDescriptor, 2, repeated=True)

    message_types = messages.MessageField(
        'apitools.base.protorpclite.descriptor.MessageDescriptor',
        3,
        repeated=True)
    enum_types = messages.MessageField(EnumDescriptor, 4, repeated=True)
Exemple #6
0
class InstanceSetRootPasswordRequest(_messages.Message):
    """Database instance set root password request.

  Fields:
    setRootPasswordContext: Set Root Password Context.
  """

    setRootPasswordContext = _messages.MessageField('SetRootPasswordContext',
                                                    1)
Exemple #7
0
class RegisterDebuggeeResponse(_messages.Message):
    """Response for registering a debuggee.

  Fields:
    debuggee: Debuggee resource. The field `id` is guranteed to be set (in
      addition to the echoed fields).
  """

    debuggee = _messages.MessageField('Debuggee', 1)
class InstanceGroupManagersSetAutoHealingPolicyRequest(_messages.Message):
  """A InstanceGroupManagersSetAutoHealingPolicyRequest object.

  Fields:
    autoHealingPolicies: The autohealing policy for this managed instance
      group. You can specify only one value.
  """

  autoHealingPolicies = _messages.MessageField('ReplicaPoolAutoHealingPolicy', 1, repeated=True)
Exemple #9
0
class GetBreakpointResponse(_messages.Message):
    """Response for getting breakpoint information.

  Fields:
    breakpoint: Complete breakpoint state. The fields `id` and `location` are
      guaranteed to be set.
  """

    breakpoint = _messages.MessageField('Breakpoint', 1)
Exemple #10
0
class CreateClusterRequest(_messages.Message):
    """CreateClusterRequest creates a cluster.

  Fields:
    cluster: A [cluster resource](/container-
      engine/reference/rest/v1/projects.zones.clusters)
  """

    cluster = _messages.MessageField('Cluster', 1)
Exemple #11
0
class SetBreakpointResponse(_messages.Message):
    """Response for setting a breakpoint.

  Fields:
    breakpoint: Breakpoint resource. The field `id` is guaranteed to be set
      (in addition to the echoed fileds).
  """

    breakpoint = _messages.MessageField('Breakpoint', 1)
class DeploymentmanagerDeploymentsUpdateRequest(_messages.Message):
    """A DeploymentmanagerDeploymentsUpdateRequest object.

  Enums:
    CreatePolicyValueValuesEnum: Sets the policy to use for creating new
      resources.
    DeletePolicyValueValuesEnum: Sets the policy to use for deleting
      resources.

  Fields:
    createPolicy: Sets the policy to use for creating new resources.
    deletePolicy: Sets the policy to use for deleting resources.
    deployment: The name of the deployment for this request.
    deploymentResource: A Deployment resource to be passed as the request
      body.
    preview: If set to true, updates the deployment and creates and updates
      the "shell" resources but does not actually alter or instantiate these
      resources. This allows you to preview what your deployment will look
      like. You can use this intent to preview how an update would affect your
      deployment. You must provide a target.config with a configuration if
      this is set to true. After previewing a deployment, you can deploy your
      resources by making a request with the update() or you can
      cancelPreview() to remove the preview altogether. Note that the
      deployment will still exist after you cancel the preview and you must
      separately delete this deployment if you want to remove it.
    project: The project ID for this request.
  """
    class CreatePolicyValueValuesEnum(_messages.Enum):
        """Sets the policy to use for creating new resources.

    Values:
      ACQUIRE: <no description>
      CREATE_OR_ACQUIRE: <no description>
    """
        ACQUIRE = 0
        CREATE_OR_ACQUIRE = 1

    class DeletePolicyValueValuesEnum(_messages.Enum):
        """Sets the policy to use for deleting resources.

    Values:
      ABANDON: <no description>
      DELETE: <no description>
    """
        ABANDON = 0
        DELETE = 1

    createPolicy = _messages.EnumField('CreatePolicyValueValuesEnum',
                                       1,
                                       default=u'CREATE_OR_ACQUIRE')
    deletePolicy = _messages.EnumField('DeletePolicyValueValuesEnum',
                                       2,
                                       default=u'DELETE')
    deployment = _messages.StringField(3, required=True)
    deploymentResource = _messages.MessageField('Deployment', 4)
    preview = _messages.BooleanField(5, default=False)
    project = _messages.StringField(6, required=True)
class Deployment(_messages.Message):
    """Deployment message type.

  Fields:
    description: An optional user-provided description of the deployment.
    fingerprint: Provides a fingerprint to use in requests to modify a
      deployment, such as update(), stop(), and cancelPreview() requests. A
      fingerprint is a randomly generated value that must be provided with
      update(), stop(), and cancelPreview() requests to perform optimistic
      locking. This ensures optimistic concurrency so that only one request
      happens at a time.  The fingerprint is initially generated by Deployment
      Manager and changes after every request to modify data. To get the
      latest fingerprint value, perform a get() request to a deployment.
    id: [Output Only] Unique identifier for the resource; defined by the
      server.
    insertTime: [Output Only] Timestamp when the deployment was created, in
      RFC3339 text format .
    manifest: [Output Only] URL of the manifest representing the last manifest
      that was successfully deployed.
    name: Name of the resource; provided by the client when the resource is
      created. The name must be 1-63 characters long, and comply with RFC1035.
      Specifically, the name must be 1-63 characters long and match the
      regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first
      character must be a lowercase letter, and all following characters must
      be a dash, lowercase letter, or digit, except the last character, which
      cannot be a dash.
    operation: [Output Only] The Operation that most recently ran, or is
      currently running, on this deployment.
    target: [Input Only] The parameters that define your deployment, including
      the deployment configuration and relevant templates.
    update: [Output Only] If Deployment Manager is currently updating or
      previewing an update to this deployment, the updated configuration
      appears here.
  """

    description = _messages.StringField(1)
    fingerprint = _messages.BytesField(2)
    id = _messages.IntegerField(3, variant=_messages.Variant.UINT64)
    insertTime = _messages.StringField(4)
    manifest = _messages.StringField(5)
    name = _messages.StringField(6)
    operation = _messages.MessageField('Operation', 7)
    target = _messages.MessageField('TargetConfiguration', 8)
    update = _messages.MessageField('DeploymentUpdate', 9)
class InstanceGroupManager(_messages.Message):
  """An Instance Group Manager resource.

  Fields:
    autoHealingPolicies: The autohealing policy for this managed instance
      group. You can specify only one value.
    baseInstanceName: The base instance name to use for instances in this
      group. The value must be a valid RFC1035 name. Supported characters are
      lowercase letters, numbers, and hyphens (-). Instances are named by
      appending a hyphen and a random four-character string to the base
      instance name.
    creationTimestamp: [Output only] The time the instance group manager was
      created, in RFC3339 text format.
    currentSize: [Output only] The number of instances that currently exist
      and are a part of this group. This includes instances that are starting
      but are not yet RUNNING, and instances that are in the process of being
      deleted or abandoned.
    description: An optional textual description of the instance group
      manager.
    fingerprint: [Output only] Fingerprint of the instance group manager. This
      field is used for optimistic locking. An up-to-date fingerprint must be
      provided in order to modify the Instance Group Manager resource.
    group: [Output only] The full URL of the instance group created by the
      manager. This group contains all of the instances being managed, and
      cannot contain non-managed instances.
    id: [Output only] A server-assigned unique identifier for the resource.
    instanceTemplate: The full URL to an instance template from which all new
      instances will be created.
    kind: [Output only] The resource type. Always
      replicapool#instanceGroupManager.
    name: The name of the instance group manager. Must be 1-63 characters long
      and comply with RFC1035. Supported characters include lowercase letters,
      numbers, and hyphens.
    selfLink: [Output only] The fully qualified URL for this resource.
    targetPools: The full URL of all target pools to which new instances in
      the group are added. Updating the target pool values does not affect
      existing instances.
    targetSize: [Output only] The number of instances that the manager is
      attempting to maintain. Deleting or abandoning instances affects this
      number, as does resizing the group.
  """

  autoHealingPolicies = _messages.MessageField('ReplicaPoolAutoHealingPolicy', 1, repeated=True)
  baseInstanceName = _messages.StringField(2)
  creationTimestamp = _messages.StringField(3)
  currentSize = _messages.IntegerField(4, variant=_messages.Variant.INT32)
  description = _messages.StringField(5)
  fingerprint = _messages.BytesField(6)
  group = _messages.StringField(7)
  id = _messages.IntegerField(8, variant=_messages.Variant.UINT64)
  instanceTemplate = _messages.StringField(9)
  kind = _messages.StringField(10, default=u'replicapool#instanceGroupManager')
  name = _messages.StringField(11)
  selfLink = _messages.StringField(12)
  targetPools = _messages.StringField(13, repeated=True)
  targetSize = _messages.IntegerField(14, variant=_messages.Variant.INT32)
class ReceivedMessage(_messages.Message):
    """A message and its corresponding acknowledgment ID.

  Fields:
    ackId: This ID can be used to acknowledge the received message.
    message: The message.
  """

    ackId = _messages.StringField(1)
    message = _messages.MessageField('PubsubMessage', 2)
Exemple #16
0
class GetAncestryResponse(_messages.Message):
    """Response from the GetAncestry method.

  Fields:
    ancestor: Ancestors are ordered from bottom to top of the resource
      hierarchy. The first ancestor is the project itself, followed by the
      project's parent, etc.
  """

    ancestor = _messages.MessageField('Ancestor', 1, repeated=True)
class PubsubProjectsSubscriptionsPullRequest(_messages.Message):
    """A PubsubProjectsSubscriptionsPullRequest object.

  Fields:
    pullRequest: A PullRequest resource to be passed as the request body.
    subscription: The subscription from which messages should be pulled.
  """

    pullRequest = _messages.MessageField('PullRequest', 1)
    subscription = _messages.StringField(2, required=True)
Exemple #18
0
class ClouddebuggerDebuggerDebuggeesBreakpointsSetRequest(_messages.Message):
    """A ClouddebuggerDebuggerDebuggeesBreakpointsSetRequest object.

  Fields:
    breakpoint: A Breakpoint resource to be passed as the request body.
    debuggeeId: ID of the debuggee where the breakpoint is to be set.
  """

    breakpoint = _messages.MessageField('Breakpoint', 1)
    debuggeeId = _messages.StringField(2, required=True)
Exemple #19
0
class Policy(_messages.Message):
    """Defines an Identity and Access Management (IAM) policy. It is used to
  specify access control policies for Cloud Platform resources.   A `Policy`
  consists of a list of `bindings`. A `Binding` binds a list of `members` to a
  `role`, where the members can be user accounts, Google groups, Google
  domains, and service accounts. A `role` is a named list of permissions
  defined by IAM.  **Example**      {         "bindings": [          {
  "role": "roles/owner",              "members": [
  "user:[email protected]",              "group:[email protected]",
  "domain:google.com",              "serviceAccount:my-other-
  [email protected]"]          },          {
  "role": "roles/viewer",              "members": ["user:[email protected]"]
  }          ]     }  For a description of IAM and its features, see the [IAM
  developer's guide](https://cloud.google.com/iam).

  Fields:
    auditConfigs: Specifies audit logging configs for "data access". "data
      access": generally refers to data reads/writes and admin reads. "admin
      activity": generally refers to admin writes.  Note: `AuditConfig`
      doesn't apply to "admin activity", which always enables audit logging.
    bindings: Associates a list of `members` to a `role`. Multiple `bindings`
      must not be specified for the same `role`. `bindings` with no members
      will result in an error.
    etag: `etag` is used for optimistic concurrency control as a way to help
      prevent simultaneous updates of a policy from overwriting each other. It
      is strongly suggested that systems make use of the `etag` in the read-
      modify-write cycle to perform policy updates in order to avoid race
      conditions: An `etag` is returned in the response to `getIamPolicy`, and
      systems are expected to put that etag in the request to `setIamPolicy`
      to ensure that their change will be applied to the same version of the
      policy.  If no `etag` is provided in the call to `setIamPolicy`, then
      the existing policy is overwritten blindly.
    iamOwned: A boolean attribute.
    rules: A Rule attribute.
    version: Version of the `Policy`. The default version is 0.
  """

    auditConfigs = _messages.MessageField('AuditConfig', 1, repeated=True)
    bindings = _messages.MessageField('Binding', 2, repeated=True)
    etag = _messages.BytesField(3)
    iamOwned = _messages.BooleanField(4)
    rules = _messages.MessageField('Rule', 5, repeated=True)
    version = _messages.IntegerField(6, variant=_messages.Variant.INT32)
class ListOperationsResponse(_messages.Message):
    """A ListOperationsResponse object.

  Fields:
    nextPageToken: A string attribute.
    operations: A Operation attribute.
  """

    nextPageToken = _messages.StringField(1)
    operations = _messages.MessageField('Operation', 2, repeated=True)
Exemple #21
0
class EnumDescriptor(messages.Message):
    """Enum class descriptor.

    Fields:
      name: Name of Enum without any qualification.
      values: Values defined by Enum class.
    """

    name = messages.StringField(1)
    values = messages.MessageField(EnumValueDescriptor, 2, repeated=True)
Exemple #22
0
class RegisterDebuggeeRequest(_messages.Message):
    """Request to register a debuggee.

  Fields:
    debuggee: Debuggee information to register. The fields `project`,
      `uniquifier`, `description` and `agent_version` of the debuggee must be
      set.
  """

    debuggee = _messages.MessageField('Debuggee', 1)
class DnsManagedZonesCreateRequest(_messages.Message):
  """A DnsManagedZonesCreateRequest object.

  Fields:
    managedZone: A ManagedZone resource to be passed as the request body.
    project: Identifies the project addressed by this request.
  """

  managedZone = _messages.MessageField('ManagedZone', 1)
  project = _messages.StringField(2, required=True)
class ClouduseraccountsGroupsInsertRequest(_messages.Message):
  """A ClouduseraccountsGroupsInsertRequest object.

  Fields:
    group: A Group resource to be passed as the request body.
    project: Project ID for this request.
  """

  group = _messages.MessageField('Group', 1)
  project = _messages.StringField(2, required=True)
class RegionViewsListResponse(_messages.Message):
  """The response to the list resource view request.

  Fields:
    nextPageToken: A token used for pagination.
    resourceViews: The list of resource views that meet the criteria.
  """

  nextPageToken = _messages.StringField(1)
  resourceViews = _messages.MessageField('ResourceView', 2, repeated=True)
class ServiceregistryEndpointsInsertRequest(_messages.Message):
    """A ServiceregistryEndpointsInsertRequest object.

  Fields:
    endpoint: A Endpoint resource to be passed as the request body.
    project: The project ID for this request.
  """

    endpoint = _messages.MessageField('Endpoint', 1)
    project = _messages.StringField(2, required=True)
class ClouduseraccountsUsersInsertRequest(_messages.Message):
  """A ClouduseraccountsUsersInsertRequest object.

  Fields:
    project: Project ID for this request.
    user: A User resource to be passed as the request body.
  """

  project = _messages.StringField(1, required=True)
  user = _messages.MessageField('User', 2)
    class AdditionalProperty(_messages.Message):
      """An additional property for a GcsSinksValue object.

      Fields:
        key: Name of the additional property.
        value: A RepeatedString attribute.
      """

      key = _messages.StringField(1)
      value = _messages.MessageField('RepeatedString', 2)
        class AdditionalProperty(_messages.Message):
            """An additional property for a DetailsValueListEntry object.

      Fields:
        key: Name of the additional property.
        value: A extra_types.JsonValue attribute.
      """

            key = _messages.StringField(1)
            value = _messages.MessageField('extra_types.JsonValue', 2)
Exemple #30
0
class RepoId(_messages.Message):
    """A unique identifier for a cloud repo.

  Fields:
    projectRepoId: A combination of a project ID and a repo name.
    uid: A server-assigned, globally unique identifier.
  """

    projectRepoId = _messages.MessageField('ProjectRepoId', 1)
    uid = _messages.StringField(2)