Reference documentation and code samples for the Google Cloud Deploy V1 Client class JobRun.
AJobRunresource in the Cloud Deploy API.
AJobRuncontains information of a singleRolloutjob evaluation.
Generated from protobuf messagegoogle.cloud.deploy.v1.JobRun
Namespace
Google \ Cloud \ Deploy \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Optional. Name of theJobRun. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}.
↳ uid
string
Output only. Unique identifier of theJobRun.
↳ phase_id
string
Output only. ID of theRolloutphase thisJobRunbelongs in.
↳ job_id
string
Output only. ID of theRolloutjob thisJobRuncorresponds to.
Output only. Information specific to an advanceChildRolloutJobRun
↳ etag
string
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
getName
Optional. Name of theJobRun. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}.
Returns
Type
Description
string
setName
Optional. Name of theJobRun. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getUid
Output only. Unique identifier of theJobRun.
Returns
Type
Description
string
setUid
Output only. Unique identifier of theJobRun.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPhaseId
Output only. ID of theRolloutphase thisJobRunbelongs in.
Returns
Type
Description
string
setPhaseId
Output only. ID of theRolloutphase thisJobRunbelongs in.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getJobId
Output only. ID of theRolloutjob thisJobRuncorresponds to.
Returns
Type
Description
string
setJobId
Output only. ID of theRolloutjob thisJobRuncorresponds to.
Output only. This checksum is computed by the server based on the value of
other fields, and may be sent on update and delete requests to ensure the
client has an up-to-date value before proceeding.
Returns
Type
Description
string
setEtag
Output only. This checksum is computed by the server based on the value of
other fields, and may be sent on update and delete requests to ensure the
client has an up-to-date value before proceeding.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Deploy V1 Client - Class JobRun (2.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0 (latest)](/php/docs/reference/cloud-deploy/latest/V1.JobRun)\n- [1.5.7](/php/docs/reference/cloud-deploy/1.5.7/V1.JobRun)\n- [1.4.0](/php/docs/reference/cloud-deploy/1.4.0/V1.JobRun)\n- [1.3.0](/php/docs/reference/cloud-deploy/1.3.0/V1.JobRun)\n- [1.2.0](/php/docs/reference/cloud-deploy/1.2.0/V1.JobRun)\n- [1.1.1](/php/docs/reference/cloud-deploy/1.1.1/V1.JobRun)\n- [1.0.0](/php/docs/reference/cloud-deploy/1.0.0/V1.JobRun)\n- [0.19.1](/php/docs/reference/cloud-deploy/0.19.1/V1.JobRun)\n- [0.18.1](/php/docs/reference/cloud-deploy/0.18.1/V1.JobRun)\n- [0.17.0](/php/docs/reference/cloud-deploy/0.17.0/V1.JobRun)\n- [0.16.0](/php/docs/reference/cloud-deploy/0.16.0/V1.JobRun)\n- [0.15.0](/php/docs/reference/cloud-deploy/0.15.0/V1.JobRun)\n- [0.14.0](/php/docs/reference/cloud-deploy/0.14.0/V1.JobRun)\n- [0.13.1](/php/docs/reference/cloud-deploy/0.13.1/V1.JobRun)\n- [0.12.1](/php/docs/reference/cloud-deploy/0.12.1/V1.JobRun)\n- [0.11.1](/php/docs/reference/cloud-deploy/0.11.1/V1.JobRun)\n- [0.10.0](/php/docs/reference/cloud-deploy/0.10.0/V1.JobRun)\n- [0.9.0](/php/docs/reference/cloud-deploy/0.9.0/V1.JobRun)\n- [0.8.0](/php/docs/reference/cloud-deploy/0.8.0/V1.JobRun)\n- [0.7.0](/php/docs/reference/cloud-deploy/0.7.0/V1.JobRun)\n- [0.6.0](/php/docs/reference/cloud-deploy/0.6.0/V1.JobRun)\n- [0.5.0](/php/docs/reference/cloud-deploy/0.5.0/V1.JobRun)\n- [0.4.1](/php/docs/reference/cloud-deploy/0.4.1/V1.JobRun)\n- [0.3.4](/php/docs/reference/cloud-deploy/0.3.4/V1.JobRun) \nReference documentation and code samples for the Google Cloud Deploy V1 Client class JobRun.\n\nA `JobRun` resource in the Cloud Deploy API.\n\nA `JobRun` contains information of a single `Rollout` job evaluation.\n\nGenerated from protobuf message `google.cloud.deploy.v1.JobRun`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Deploy \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOptional. Name of the `JobRun`. Format is\n`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.\n\n### setName\n\nOptional. Name of the `JobRun`. Format is\n`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.\n\n### getUid\n\nOutput only. Unique identifier of the `JobRun`.\n\n### setUid\n\nOutput only. Unique identifier of the `JobRun`.\n\n### getPhaseId\n\nOutput only. ID of the `Rollout` phase this `JobRun` belongs in.\n\n### setPhaseId\n\nOutput only. ID of the `Rollout` phase this `JobRun` belongs in.\n\n### getJobId\n\nOutput only. ID of the `Rollout` job this `JobRun` corresponds to.\n\n### setJobId\n\nOutput only. ID of the `Rollout` job this `JobRun` corresponds to.\n\n### getCreateTime\n\nOutput only. Time at which the `JobRun` was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. Time at which the `JobRun` was created.\n\n### getStartTime\n\nOutput only. Time at which the `JobRun` was started.\n\n### hasStartTime\n\n### clearStartTime\n\n### setStartTime\n\nOutput only. Time at which the `JobRun` was started.\n\n### getEndTime\n\nOutput only. Time at which the `JobRun` ended.\n\n### hasEndTime\n\n### clearEndTime\n\n### setEndTime\n\nOutput only. Time at which the `JobRun` ended.\n\n### getState\n\nOutput only. The current state of the `JobRun`.\n\n### setState\n\nOutput only. The current state of the `JobRun`.\n\n### getDeployJobRun\n\nOutput only. Information specific to a deploy `JobRun`.\n\n### hasDeployJobRun\n\n### setDeployJobRun\n\nOutput only. Information specific to a deploy `JobRun`.\n\n### getVerifyJobRun\n\nOutput only. Information specific to a verify `JobRun`.\n\n### hasVerifyJobRun\n\n### setVerifyJobRun\n\nOutput only. Information specific to a verify `JobRun`.\n\n### getPredeployJobRun\n\nOutput only. Information specific to a predeploy `JobRun`.\n\n### hasPredeployJobRun\n\n### setPredeployJobRun\n\nOutput only. Information specific to a predeploy `JobRun`.\n\n### getPostdeployJobRun\n\nOutput only. Information specific to a postdeploy `JobRun`.\n\n### hasPostdeployJobRun\n\n### setPostdeployJobRun\n\nOutput only. Information specific to a postdeploy `JobRun`.\n\n### getCreateChildRolloutJobRun\n\nOutput only. Information specific to a createChildRollout `JobRun`.\n\n### hasCreateChildRolloutJobRun\n\n### setCreateChildRolloutJobRun\n\nOutput only. Information specific to a createChildRollout `JobRun`.\n\n### getAdvanceChildRolloutJobRun\n\nOutput only. Information specific to an advanceChildRollout `JobRun`\n\n### hasAdvanceChildRolloutJobRun\n\n### setAdvanceChildRolloutJobRun\n\nOutput only. Information specific to an advanceChildRollout `JobRun`\n\n### getEtag\n\nOutput only. This checksum is computed by the server based on the value of\nother fields, and may be sent on update and delete requests to ensure the\nclient has an up-to-date value before proceeding.\n\n### setEtag\n\nOutput only. This checksum is computed by the server based on the value of\nother fields, and may be sent on update and delete requests to ensure the\nclient has an up-to-date value before proceeding.\n\n### getJobRun"]]