class ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRuns extends Resource (View source)

The "jobRuns" collection of methods.

Typical usage is:

 $clouddeployService = new Google\Service\CloudDeploy(...);
 $jobRuns = $clouddeployService->projects_locations_deliveryPipelines_releases_rollouts_jobRuns;

Methods

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

Gets details of a single JobRun. (jobRuns.get)

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

Lists JobRuns in a given project and location.

terminate(string $name, TerminateJobRunRequest $postBody, array $optParams = [])

Terminates a Job Run in a given project and location. (jobRuns.terminate)

Details

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

Gets details of a single JobRun. (jobRuns.get)

Parameters

string $name

Required. Name of the JobRun. Format must be projects/ {project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/rele ases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}.

array $optParams

Optional parameters.

Return Value

JobRun

Exceptions

Exception

ListJobRunsResponse listProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRuns(string $parent, array $optParams = [])

Lists JobRuns in a given project and location.

(jobRuns.listProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRuns)

Parameters

string $parent

Required. The Rollout which owns this collection of JobRun objects.

array $optParams

Optional parameters.

Return Value

ListJobRunsResponse

Exceptions

Exception

TerminateJobRunResponse terminate(string $name, TerminateJobRunRequest $postBody, array $optParams = [])

Terminates a Job Run in a given project and location. (jobRuns.terminate)

Parameters

string $name

Required. Name of the JobRun. Format must be projects/ {project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/ {release}/rollouts/{rollout}/jobRuns/{jobRun}.

TerminateJobRunRequest $postBody
array $optParams

Optional parameters.

Return Value

TerminateJobRunResponse

Exceptions

Exception