Google Cloud Talent Solution V4 Client - Class CreateJobRequest (2.0.1)

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

Create job request.

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

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

↳ job Job

Required. The Job to be created.

getParent

Required. The resource name of the tenant under which the job is created.

The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

Returns
Type Description
string

setParent

Required. The resource name of the tenant under which the job is created.

The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

Parameter
Name Description
var string
Returns
Type Description
$this

getJob

Required. The Job to be created.

Returns
Type Description
Job|null

hasJob

clearJob

setJob

Required. The Job to be created.

Parameter
Name Description
var Job
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource name of the tenant under which the job is created.

The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar". Please see JobServiceClient::tenantName() for help formatting this field.

job Job

Required. The Job to be created.

Returns
Type Description
CreateJobRequest