Cloud Run Admin API . projects . locations

Instance Methods

builds()

Returns the builds Resource.

jobs()

Returns the jobs Resource.

operations()

Returns the operations Resource.

services()

Returns the services Resource.

workerPools()

Returns the workerPools Resource.

close()

Close httplib2 connections.

exportImage(name, body=None, x__xgafv=None)

Export image for a given resource.

exportImageMetadata(name, x__xgafv=None)

Export image metadata for a given resource.

exportMetadata(name, x__xgafv=None)

Export generated customer metadata for a given resource.

exportProjectMetadata(name, x__xgafv=None)

Export generated customer metadata for a given project.

Method Details

close()
Close httplib2 connections.
exportImage(name, body=None, x__xgafv=None)
Export image for a given resource.

Args:
  name: string, Required. The name of the resource of which image metadata should be exported. Format: `projects/{project_id_or_number}/locations/{location}/services/{service}/revisions/{revision}` for Revision `projects/{project_id_or_number}/locations/{location}/jobs/{job}/executions/{execution}` for Execution (required)
  body: object, The request body.
    The object takes the form of:

{ # Request message for exporting Cloud Run image.
  "destinationRepo": "A String", # Required. The export destination url (the Artifact Registry repo).
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # ExportImageResponse contains an operation Id to track the image export operation.
  "operationId": "A String", # An operation ID used to track the status of image exports tied to the original pod ID in the request.
}
exportImageMetadata(name, x__xgafv=None)
Export image metadata for a given resource.

Args:
  name: string, Required. The name of the resource of which image metadata should be exported. Format: `projects/{project_id_or_number}/locations/{location}/services/{service}/revisions/{revision}` for Revision `projects/{project_id_or_number}/locations/{location}/jobs/{job}/executions/{execution}` for Execution (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Metadata represents the JSON encoded generated customer metadata.
  "metadata": "A String", # JSON encoded Google-generated Customer Metadata for a given resource/project.
}
exportMetadata(name, x__xgafv=None)
Export generated customer metadata for a given resource.

Args:
  name: string, Required. The name of the resource of which metadata should be exported. Format: `projects/{project_id_or_number}/locations/{location}/services/{service}` for Service `projects/{project_id_or_number}/locations/{location}/services/{service}/revisions/{revision}` for Revision `projects/{project_id_or_number}/locations/{location}/jobs/{job}/executions/{execution}` for Execution {project_id_or_number} may contains domain-scoped project IDs (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Metadata represents the JSON encoded generated customer metadata.
  "metadata": "A String", # JSON encoded Google-generated Customer Metadata for a given resource/project.
}
exportProjectMetadata(name, x__xgafv=None)
Export generated customer metadata for a given project.

Args:
  name: string, Required. The name of the project of which metadata should be exported. Format: `projects/{project_id_or_number}/locations/{location}` for Project in a given location. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Metadata represents the JSON encoded generated customer metadata.
  "metadata": "A String", # JSON encoded Google-generated Customer Metadata for a given resource/project.
}