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

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

Request to update a batch of jobs.

Generated from protobuf message google.cloud.talent.v4beta1.BatchUpdateJobsRequest

Namespace

Google \ Cloud \ Talent \ V4beta1

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/tenant/bar". If tenant id is unspecified, a default tenant is created. For example, "projects/foo".

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

Required. The jobs to be updated.

↳ update_mask Google\Protobuf\FieldMask

Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation. If update_mask is provided, only the specified fields in Job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported. If update_mask is provided, The Job inside JobResult will only contains fields that is updated, plus the Id of the Job. Otherwise, Job will include all fields, which can yield a very large response.

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/tenant/bar". If tenant id is unspecified, a default tenant is created. For example, "projects/foo".

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/tenant/bar". If tenant id is unspecified, a default tenant is created. For example, "projects/foo".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getJobs

Required. The jobs to be updated.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setJobs

Required. The jobs to be updated.

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

getUpdateMask

Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation.

If update_mask is provided, only the specified fields in Job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported. If update_mask is provided, The Job inside JobResult will only contains fields that is updated, plus the Id of the Job. Otherwise, Job will include all fields, which can yield a very large response.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation.

If update_mask is provided, only the specified fields in Job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported. If update_mask is provided, The Job inside JobResult will only contains fields that is updated, plus the Id of the Job. Otherwise, Job will include all fields, which can yield a very large response.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this