Cloud Run Admin API . projects . locations

Instance Methods

jobs()

Returns the jobs Resource.

operations()

Returns the operations Resource.

services()

Returns the services 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.

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 (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.
}