Google Cloud Talent Solution V4 Client - Class JobResult (2.0.2)

Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class JobResult.

Mutation result of a job from a batch operation.

Generated from protobuf message google.cloud.talent.v4.JobResult

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ job Job

Here Job only contains basic information including name, company, language_code and requisition_id, use getJob method to retrieve detailed information of the created/updated job.

↳ status Google\Rpc\Status

The status of the job processed. This field is populated if the processing of the job fails.

getJob

Here Job only contains basic information including name, company, language_code and requisition_id, use getJob method to retrieve detailed information of the created/updated job.

Returns
Type Description
Job|null

hasJob

clearJob

setJob

Here Job only contains basic information including name, company, language_code and requisition_id, use getJob method to retrieve detailed information of the created/updated job.

Parameter
Name Description
var Job
Returns
Type Description
$this

getStatus

The status of the job processed. This field is populated if the processing of the job fails.

Returns
Type Description
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

The status of the job processed. This field is populated if the processing of the job fails.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this