Esempio n. 1
0
class FlagsListResponse(_messages.Message):
    """Flags list response.

  Fields:
    items: List of flags.
    kind: This is always sql#flagsList.
  """

    items = _messages.MessageField('Flag', 1, repeated=True)
    kind = _messages.StringField(2, default=u'sql#flagsList')
class DeploymentsListResponse(_messages.Message):
    """A DeploymentsListResponse object.

  Fields:
    nextPageToken: A string attribute.
    resources: A Deployment attribute.
  """

    nextPageToken = _messages.StringField(1)
    resources = _messages.MessageField('Deployment', 2, repeated=True)
Esempio n. 3
0
        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)
Esempio n. 4
0
class SubmitPredictionJobRequest(_messages.Message):
    """Request message for the SubmitPredictionJob API on JobService.

  Fields:
    job: The prediction specification.
    version: The version of the model to use.
  """

    job = _messages.MessageField('PredictionJob', 1)
    version = _messages.StringField(2)
class TemplatesListResponse(_messages.Message):
    """A TemplatesListResponse object.

  Fields:
    nextPageToken: A string attribute.
    resources: A Template attribute.
  """

    nextPageToken = _messages.StringField(1)
    resources = _messages.MessageField('Template', 2, repeated=True)
Esempio n. 6
0
class MlProjectsModelsCreateRequest(_messages.Message):
    """A MlProjectsModelsCreateRequest object.

  Fields:
    model: A Model resource to be passed as the request body.
    name: The name of the project that will own this model.
  """

    model = _messages.MessageField('Model', 1)
    name = _messages.StringField(2, required=True)
Esempio n. 7
0
class AutoscalingPolicyCustomMetricUtilization(_messages.Message):
  """Custom utilization metric policy.

  Fields:
    metric: Identifier of the metric. It should be a Cloud Monitoring metric.
      The metric can not have negative values. The metric should be an
      utilization metric (increasing number of VMs handling requests x times
      should reduce average value of the metric roughly x times). For example
      you could use:
      compute.googleapis.com/instance/network/received_bytes_count.
    utilizationTarget: Target value of the metric which Autoscaler should
      maintain. Must be a positive value.
    utilizationTargetType: Defines type in which utilization_target is
      expressed.
  """

  metric = _messages.StringField(1)
  utilizationTarget = _messages.FloatField(2)
  utilizationTargetType = _messages.StringField(3)
class ManagerTemplatesInsertRequest(_messages.Message):
    """A ManagerTemplatesInsertRequest object.

  Fields:
    projectId: A string attribute.
    template: A Template resource to be passed as the request body.
  """

    projectId = _messages.StringField(1, required=True)
    template = _messages.MessageField('Template', 2)
class GenomicsPipelinesListRequest(_messages.Message):
    """A GenomicsPipelinesListRequest object.

  Fields:
    namePrefix: Pipelines with names that match this prefix should be
      returned.  If unspecified, all pipelines in the project, up to
      `pageSize`, will be returned.
    pageSize: Number of pipelines to return at once. Defaults to 256, and max
      is 2048.
    pageToken: Token to use to indicate where to start getting results. If
      unspecified, returns the first page of results.
    projectId: Required. The name of the project to search for pipelines.
      Caller must have READ access to this project.
  """

    namePrefix = _messages.StringField(1)
    pageSize = _messages.IntegerField(2, variant=_messages.Variant.INT32)
    pageToken = _messages.StringField(3)
    projectId = _messages.StringField(4)
Esempio n. 10
0
        class AdditionalProperty(_messages.Message):
            """An additional property for a GcsSourcesValue object.

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

            key = _messages.StringField(1)
            value = _messages.MessageField('RepeatedString', 2)
Esempio n. 11
0
class DeploymentmanagerResourcesListRequest(_messages.Message):
    """A DeploymentmanagerResourcesListRequest object.

  Fields:
    deployment: The name of the deployment for this request.
    filter: Sets a filter expression for filtering listed resources, in the
      form filter={expression}. Your {expression} must be in the format:
      field_name comparison_string literal_string.  The field_name is the name
      of the field you want to compare. Only atomic field types are supported
      (string, number, boolean). The comparison_string must be either eq
      (equals) or ne (not equals). The literal_string is the string value to
      filter to. The literal value must be valid for the type of field you are
      filtering by (string, number, boolean). For string fields, the literal
      value is interpreted as a regular expression using RE2 syntax. The
      literal value must match the entire field.  For example, to filter for
      instances that do not have a name of example-instance, you would use
      filter=name ne example-instance.  Compute Engine Beta API Only: When
      filtering in the Beta API, you can also filter on nested fields. For
      example, you could filter on instances that have set the
      scheduling.automaticRestart field to true. Use filtering on nested
      fields to take advantage of labels to organize and search for results
      based on label values.  The Beta API also supports filtering on multiple
      expressions by providing each separate expression within parentheses.
      For example, (scheduling.automaticRestart eq true) (zone eq us-
      central1-f). Multiple expressions are treated as AND expressions,
      meaning that resources must match all expressions to pass the filters.
    maxResults: The maximum number of results per page that should be
      returned. If the number of available results is larger than maxResults,
      Compute Engine returns a nextPageToken that can be used to get the next
      page of results in subsequent list requests.
    pageToken: Specifies a page token to use. Set pageToken to the
      nextPageToken returned by a previous list request to get the next page
      of results.
    project: The project ID for this request.
  """

    deployment = _messages.StringField(1, required=True)
    filter = _messages.StringField(2)
    maxResults = _messages.IntegerField(3,
                                        variant=_messages.Variant.UINT32,
                                        default=500)
    pageToken = _messages.StringField(4)
    project = _messages.StringField(5, required=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 ApikeysProjectsApiKeysCreateRequest(_messages.Message):
    """A ApikeysProjectsApiKeysCreateRequest object.

  Fields:
    apiKey: A ApiKey resource to be passed as the request body.
    projectId: The project for which this API key will be created.
  """

    apiKey = _messages.MessageField('ApiKey', 1)
    projectId = _messages.StringField(2, required=True)
class ListDeletedApiKeysResponse(_messages.Message):
    """Response message for `ListDeletedApiKeys` method.

  Fields:
    keys: A list of deleted API keys.
    nextPageToken: The pagination token for the next page of results.
  """

    keys = _messages.MessageField('DeletedApiKey', 1, repeated=True)
    nextPageToken = _messages.StringField(2)
Esempio n. 15
0
class SslCertsInsertRequest(_messages.Message):
    """SslCerts insert request.

  Fields:
    commonName: User supplied name. Must be a distinct name from the other
      certificates for this instance. New certificates will not be usable
      until the instance is restarted.
  """

    commonName = _messages.StringField(1)
class ManagerDeploymentsListRequest(_messages.Message):
    """A ManagerDeploymentsListRequest object.

  Fields:
    maxResults: Maximum count of results to be returned. Acceptable values are
      0 to 100, inclusive. (Default: 50)
    pageToken: Specifies a nextPageToken returned by a previous list request.
      This token can be used to request the next page of results from a
      previous list request.
    projectId: A string attribute.
    region: A string attribute.
  """

    maxResults = _messages.IntegerField(1,
                                        variant=_messages.Variant.INT32,
                                        default=50)
    pageToken = _messages.StringField(2)
    projectId = _messages.StringField(3, required=True)
    region = _messages.StringField(4, required=True)
Esempio n. 17
0
class SslCertsListResponse(_messages.Message):
    """SslCerts list response.

  Fields:
    items: List of client certificates for the instance.
    kind: This is always sql#sslCertsList.
  """

    items = _messages.MessageField('SslCert', 1, repeated=True)
    kind = _messages.StringField(2, default=u'sql#sslCertsList')
        class AdditionalProperty(_messages.Message):
            """An additional property for a ModulesValue object.

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

            key = _messages.StringField(1)
            value = _messages.MessageField('Module', 2)
Esempio n. 19
0
class TiersListResponse(_messages.Message):
    """Tiers list response.

  Fields:
    items: List of tiers.
    kind: This is always sql#tiersList.
  """

    items = _messages.MessageField('Tier', 1, repeated=True)
    kind = _messages.StringField(2, default=u'sql#tiersList')
Esempio n. 20
0
class JobResult(_messages.Message):
    """Represents the results of a training, prediction or evaluation job.

  Fields:
    analysis: The analysis of a trained model for training or evaluation jobs.
    outputFiles: The list of generated output files.
  """

    analysis = _messages.MessageField('Analysis', 1)
    outputFiles = _messages.StringField(2, repeated=True)
Esempio n. 21
0
class BackupConfiguration(_messages.Message):
    """Database instance backup configuration.

  Fields:
    binaryLogEnabled: Whether binary log is enabled. If backup configuration
      is disabled, binary log must be disabled as well.
    enabled: Whether this configuration is enabled.
    id: Identifier for this configuration. This gets generated automatically
      when a backup configuration is created.
    kind: This is always sql#backupConfiguration.
    startTime: Start time for the daily backup configuration in UTC timezone
      in the 24 hour format - HH:MM.
  """

    binaryLogEnabled = _messages.BooleanField(1)
    enabled = _messages.BooleanField(2)
    id = _messages.StringField(3)
    kind = _messages.StringField(4, default=u'sql#backupConfiguration')
    startTime = _messages.StringField(5)
Esempio n. 22
0
class SetDefaultVersionRequest(_messages.Message):
    """Request message for the SetDefaultVersion API on ModelService.

  Fields:
    version: The version of the model that should be promoted to be the new
      default. If this is empty, then the default version on the model is
      cleared.
  """

    version = _messages.StringField(1)
Esempio n. 23
0
class ExportContext(_messages.Message):
    """Database instance export context.

  Fields:
    database: Databases (for example, guestbook) from which the export is
      made. If unspecified, all databases are exported.
    kind: This is always sql#exportContext.
    table: Tables to export, or that were exported, from the specified
      database. If you specify tables, specify one and only one database.
    uri: The path to the file in Google Cloud Storage where the export will be
      stored, or where it was already stored. The URI is in the form
      gs://bucketName/fileName. If the file already exists, the operation
      fails. If the filename ends with .gz, the contents are compressed.
  """

    database = _messages.StringField(1, repeated=True)
    kind = _messages.StringField(2, default=u'sql#exportContext')
    table = _messages.StringField(3, repeated=True)
    uri = _messages.StringField(4)
Esempio n. 24
0
class StorageData(_messages.Message):
    """Represents reference to data stored in Cloud Storage. Each object is
  interpreted as a file.

  Fields:
    uris: The list of Cloud Storage URIs formatted as a complete URI such as
      Format: gs://bucket/path/to/data/file.
  """

    uris = _messages.StringField(1, repeated=True)
class EnvVariable(_messages.Message):
    """An environment variable.

  Fields:
    hidden: Whether this variable is hidden or visible.
    value: Value of the environment variable.
  """

    hidden = _messages.BooleanField(1)
    value = _messages.StringField(2)
class AndroidApplication(_messages.Message):
    """Identifier of an Android application for API key use.

  Fields:
    packageName: The package name of the application.
    sha1Fingerprint: The 20 byte SHA1 fingerprint of the application.
  """

    packageName = _messages.StringField(1)
    sha1Fingerprint = _messages.BytesField(2)
Esempio n. 27
0
class ChangedFileInfo(_messages.Message):
    """Represents file information.

  Enums:
    OperationValueValuesEnum: The operation type for the file.

  Fields:
    fromPath: Related file path for copies or renames.  For copies, the type
      will be ADDED and the from_path will point to the source of the copy.
      For renames, the type will be ADDED, the from_path will point to the
      source of the rename, and another ChangedFileInfo record with that path
      will appear with type DELETED. In other words, a rename is represented
      as a copy plus a delete of the old path.
    hash: A hex-encoded hash for the file. Not necessarily a hash of the
      file's contents. Two paths in the same revision with the same hash have
      the same contents with high probability. Empty if the operation is
      CONFLICTED.
    operation: The operation type for the file.
    path: The path of the file.
  """
    class OperationValueValuesEnum(_messages.Enum):
        """The operation type for the file.

    Values:
      OPERATION_UNSPECIFIED: No operation was specified.
      ADDED: The file was added.
      DELETED: The file was deleted.
      MODIFIED: The file was modified.
      CONFLICTED: The result of merging the file is a conflict. The CONFLICTED
        type only appears in Workspace.changed_files or Snapshot.changed_files
        when the workspace is in a merge state.
    """
        OPERATION_UNSPECIFIED = 0
        ADDED = 1
        DELETED = 2
        MODIFIED = 3
        CONFLICTED = 4

    fromPath = _messages.StringField(1)
    hash = _messages.StringField(2)
    operation = _messages.EnumField('OperationValueValuesEnum', 3)
    path = _messages.StringField(4)
class CloudfunctionsProjectsRegionsFunctionsCallRequest(_messages.Message):
    """A CloudfunctionsProjectsRegionsFunctionsCallRequest object.

  Fields:
    callFunctionRequest: A CallFunctionRequest resource to be passed as the
      request body.
    name: The name of the function to be called.
  """

    callFunctionRequest = _messages.MessageField('CallFunctionRequest', 1)
    name = _messages.StringField(2, required=True)
class ResourceRecordSetsListResponse(_messages.Message):
  """A ResourceRecordSetsListResponse object.

  Fields:
    kind: Type of resource.
    nextPageToken: The presence of this field indicates that there exist more
      results following your last page of results in pagination order. To
      fetch them, make another list request using this value as your
      pagination token.  In this way you can retrieve the complete contents of
      even very large collections one page at a time. However, if the contents
      of the collection change between the first and last paginated list
      request, the set of all elements returned will be an inconsistent view
      of the collection. There is no way to retrieve a consistent snapshot of
      a collection larger than the maximum page size.
    rrsets: The resource record set resources.
  """

  kind = _messages.StringField(1, default=u'dns#resourceRecordSetsListResponse')
  nextPageToken = _messages.StringField(2)
  rrsets = _messages.MessageField('ResourceRecordSet', 3, repeated=True)
class ServiceContext(_messages.Message):
  """Describes a running service that sends errors. Its version changes over
  time and multiple versions can run in parallel.

  Fields:
    service: An identifier of the service, such as the name of the executable,
      job, or Google App Engine module name. This field is expected to have a
      low number of values that are relatively stable over time, as opposed to
      `version`, which can be changed whenever new code is deployed.  Contains
      the module name for error reports extracted from Google App Engine logs
      or `default` if the App Engine default module is used. If empty, the
      value is set to `default`.
    version: Represents the source code version that the developer provided,
      which could represent a version label or a Git SHA-1 hash, for example.
      If the developer did not provide a version, the value is set to
      `default`. For App Engine, the version is set to the version of the app.
  """

  service = _messages.StringField(1)
  version = _messages.StringField(2)