Google Cloud Deploy V1 Client - Class Job (0.3.4)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class Job.

Job represents an operation for a Rollout.

Generated from protobuf message google.cloud.deploy.v1.Job

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id string

Output only. The ID of the Job.

↳ state int

Output only. The current state of the Job.

↳ job_run string

Output only. The name of the JobRun responsible for the most recent invocation of this Job.

↳ deploy_job Google\Cloud\Deploy\V1\DeployJob

Output only. A deploy Job.

↳ verify_job Google\Cloud\Deploy\V1\VerifyJob

Output only. A verify Job.

getId

Output only. The ID of the Job.

Returns
Type Description
string

setId

Output only. The ID of the Job.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The current state of the Job.

Returns
Type Description
int

setState

Output only. The current state of the Job.

Parameter
Name Description
var int
Returns
Type Description
$this

getJobRun

Output only. The name of the JobRun responsible for the most recent invocation of this Job.

Returns
Type Description
string

setJobRun

Output only. The name of the JobRun responsible for the most recent invocation of this Job.

Parameter
Name Description
var string
Returns
Type Description
$this

getDeployJob

Output only. A deploy Job.

Returns
Type Description
Google\Cloud\Deploy\V1\DeployJob|null

hasDeployJob

setDeployJob

Output only. A deploy Job.

Parameter
Name Description
var Google\Cloud\Deploy\V1\DeployJob
Returns
Type Description
$this

getVerifyJob

Output only. A verify Job.

Returns
Type Description
Google\Cloud\Deploy\V1\VerifyJob|null

hasVerifyJob

setVerifyJob

Output only. A verify Job.

Parameter
Name Description
var Google\Cloud\Deploy\V1\VerifyJob
Returns
Type Description
$this

getJobType

Returns
Type Description
string