class ProjectsLocationsJobsExecutions extends Resource (View source)

The "executions" collection of methods.

Typical usage is:

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

Methods

cancel(string $name, GoogleCloudRunV2CancelExecutionRequest $postBody, array $optParams = [])

Cancels an Execution. (executions.cancel)

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

Deletes an Execution. (executions.delete)

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

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

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

Gets information about an Execution. (executions.get)

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

Lists Executions from a Job. Results are sorted by creation time, descending.

Details

GoogleLongrunningOperation cancel(string $name, GoogleCloudRunV2CancelExecutionRequest $postBody, array $optParams = [])

Cancels an Execution. (executions.cancel)

Parameters

string $name

Required. The name of the Execution to cancel. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number.

GoogleCloudRunV2CancelExecutionRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Deletes an Execution. (executions.delete)

Parameters

string $name

Required. The name of the Execution to delete. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number.

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

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

Gets information about an Execution. (executions.get)

Parameters

string $name

Required. The full name of the Execution. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number.

array $optParams

Optional parameters.

Return Value

GoogleCloudRunV2Execution

Exceptions

Exception

GoogleCloudRunV2ListExecutionsResponse listProjectsLocationsJobsExecutions(string $parent, array $optParams = [])

Lists Executions from a Job. Results are sorted by creation time, descending.

(executions.listProjectsLocationsJobsExecutions)

Parameters

string $parent

Required. The Execution from which the Executions should be listed. To list all Executions across Jobs, use "-" instead of Job name. Format: projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or number.

array $optParams

Optional parameters.

Return Value

GoogleCloudRunV2ListExecutionsResponse

Exceptions

Exception