Google Cloud Talent Solution V4 Client - Class BatchCreateJobsRequest (1.2.2)

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

Request to create a batch of jobs.

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

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
NameDescription
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".

↳ jobs array<Google\Cloud\Talent\V4\Job>

Required. The jobs to be created. A maximum of 200 jobs can be created in a batch.

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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getJobs

Required. The jobs to be created.

A maximum of 200 jobs can be created in a batch.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setJobs

Required. The jobs to be created.

A maximum of 200 jobs can be created in a batch.

Parameter
NameDescription
var array<Google\Cloud\Talent\V4\Job>
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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 Google\Cloud\Talent\V4\JobServiceClient::tenantName() for help formatting this field.

jobs array<Google\Cloud\Talent\V4\Job>

Required. The jobs to be created. A maximum of 200 jobs can be created in a batch.

Returns
TypeDescription
Google\Cloud\Talent\V4\BatchCreateJobsRequest