class ProjectsLocations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

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

Methods

exportImage(string $name, GoogleCloudRunV2ExportImageRequest $postBody, array $optParams = [])

Export image for a given resource. (locations.exportImage)

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

Export image metadata for a given resource. (locations.exportImageMetadata)

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

Export generated customer metadata for a given resource.

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

Export generated customer metadata for a given project.

Details

GoogleCloudRunV2ExportImageResponse exportImage(string $name, GoogleCloudRunV2ExportImageRequest $postBody, array $optParams = [])

Export image for a given resource. (locations.exportImage)

Parameters

string $name

Required. The name of the resource of which image metadata should be exported. Format: projects/{project_id_or_number}/locatio ns/{location}/services/{service}/revisions/{revision} for Revision projects /{project_id_or_number}/locations/{location}/jobs/{job}/executions/{execution } for Execution

GoogleCloudRunV2ExportImageRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudRunV2ExportImageResponse

Exceptions

Exception

GoogleCloudRunV2Metadata exportImageMetadata(string $name, array $optParams = [])

Export image metadata for a given resource. (locations.exportImageMetadata)

Parameters

string $name

Required. The name of the resource of which image metadata should be exported. Format: projects/{project_id_or_number}/locatio ns/{location}/services/{service}/revisions/{revision} for Revision projects /{project_id_or_number}/locations/{location}/jobs/{job}/executions/{execution } for Execution

array $optParams

Optional parameters.

Return Value

GoogleCloudRunV2Metadata

Exceptions

Exception

GoogleCloudRunV2Metadata exportMetadata(string $name, array $optParams = [])

Export generated customer metadata for a given resource.

(locations.exportMetadata)

Parameters

string $name

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/{servi ce}/revisions/{revision} for Revision projects/{project_id_or_number}/locat ions/{location}/jobs/{job}/executions/{execution} for Execution

array $optParams

Optional parameters.

Return Value

GoogleCloudRunV2Metadata

Exceptions

Exception

GoogleCloudRunV2Metadata exportProjectMetadata(string $name, array $optParams = [])

Export generated customer metadata for a given project.

(locations.exportProjectMetadata)

Parameters

string $name

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.

array $optParams

Optional parameters.

Return Value

GoogleCloudRunV2Metadata

Exceptions

Exception