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

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

Request to delete a batch of jobs.

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

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". The parent of all of the jobs specified in names must match this field.

↳ names array

The names of the jobs to delete. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted 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". The parent of all of the jobs specified in names must match this field.

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". The parent of all of the jobs specified in names must match this field.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNames

The names of the jobs to delete.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted in a batch.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNames

The names of the jobs to delete.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted in a batch.

Parameter
NameDescription
var string[]
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".

The parent of all of the jobs specified in names must match this field. Please see Google\Cloud\Talent\V4\JobServiceClient::tenantName() for help formatting this field.

names string[]

The names of the jobs to delete.

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

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

Returns
TypeDescription
Google\Cloud\Talent\V4\BatchDeleteJobsRequest