Google Cloud Talent Solution V4beta1 Client - Class JobResult (1.1.1)

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

Mutation result of a job.

Generated from protobuf message google.cloud.talent.v4beta1.JobOperationResult.JobResult

Namespace

Google \ Cloud \ Talent \ V4beta1 \ JobOperationResult

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ job Google\Cloud\Talent\V4beta1\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
TypeDescription
Google\Cloud\Talent\V4beta1\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
NameDescription
var Google\Cloud\Talent\V4beta1\Job
Returns
TypeDescription
$this

getStatus

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

Returns
TypeDescription
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
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this