class ProjectsLocationsServicesRevisions extends Resource (View source)

The "revisions" collection of methods.

Typical usage is:

 $runService = new Google\Service\CloudRun(...);
 $revisions = $runService->projects_locations_services_revisions;

Methods

delete(string $name, array $optParams = [])

Deletes a Revision. (revisions.delete)

exportStatus(string $name, string $operationId, array $optParams = [])

Read the status of an image export operation. (revisions.exportStatus)

get(string $name, array $optParams = [])

Gets information about a Revision. (revisions.get)

listProjectsLocationsServicesRevisions(string $parent, array $optParams = [])

Lists Revisions from a given Service, or from a given location. Results are sorted by creation time, descending.

Details

GoogleLongrunningOperation delete(string $name, array $optParams = [])

Deletes a Revision. (revisions.delete)

Parameters

string $name

Required. The name of the Revision to delete. Format: pro jects/{project}/locations/{location}/services/{service}/revisions/{revision}

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudRunV2ExportStatusResponse exportStatus(string $name, string $operationId, array $optParams = [])

Read the status of an image export operation. (revisions.exportStatus)

Parameters

string $name

Required. The name of the resource of which image export operation status has to be fetched. Format: projects/{project_id_or_number}/ locations/{location}/services/{service}/revisions/{revision} for Revision p rojects/{project_id_or_number}/locations/{location}/jobs/{job}/executions/{ex ecution} for Execution

string $operationId

Required. The operation id returned from ExportImage.

array $optParams

Optional parameters.

Return Value

GoogleCloudRunV2ExportStatusResponse

Exceptions

Exception

GoogleCloudRunV2Revision get(string $name, array $optParams = [])

Gets information about a Revision. (revisions.get)

Parameters

string $name

Required. The full name of the Revision. Format: projects /{project}/locations/{location}/services/{service}/revisions/{revision}

array $optParams

Optional parameters.

Return Value

GoogleCloudRunV2Revision

Exceptions

Exception

GoogleCloudRunV2ListRevisionsResponse listProjectsLocationsServicesRevisions(string $parent, array $optParams = [])

Lists Revisions from a given Service, or from a given location. Results are sorted by creation time, descending.

(revisions.listProjectsLocationsServicesRevisions)

Parameters

string $parent

Required. The Service from which the Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: projects/{project}/locations/{location}/services/{service}

array $optParams

Optional parameters.

Return Value

GoogleCloudRunV2ListRevisionsResponse

Exceptions

Exception