class ProjectsLocationsRevisions extends Resource (View source)

The "revisions" collection of methods.

Typical usage is:

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

Methods

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

Delete a revision. (revisions.delete)

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

Get information about a revision. (revisions.get)

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

List revisions. (revisions.listProjectsLocationsRevisions)

Details

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

Delete a revision. (revisions.delete)

Parameters

string $name

The name of the revision to delete. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.

array $optParams

Optional parameters.

Return Value

Status

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

Get information about a revision. (revisions.get)

Parameters

string $name

The name of the revision to retrieve. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.

array $optParams

Optional parameters.

Return Value

Revision

ListRevisionsResponse listProjectsLocationsRevisions(string $parent, array $optParams = [])

List revisions. (revisions.listProjectsLocationsRevisions)

Parameters

string $parent

The namespace from which the revisions should be listed. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.

array $optParams

Optional parameters.

Return Value

ListRevisionsResponse