Google Cloud Dataplex V1 Client - Class CreateTaskRequest (0.3.0)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class CreateTaskRequest.

Create task request.

Generated from protobuf messagegoogle.cloud.dataplex.v1.CreateTaskRequest

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ parentstring

Required. The resource name of the parent lake:projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

↳ task_idstring

Required. Task identifier.

↳ taskGoogle\Cloud\Dataplex\V1\Task

Required. Task resource.

↳ validate_onlybool

Optional. Only validate the request, but do not perform mutations. The default is false.

getParent

Required. The resource name of the parent lake:projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

Returns
TypeDescription
string

setParent

Required. The resource name of the parent lake:projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getTaskId

Required. Task identifier.

Returns
TypeDescription
string

setTaskId

Required. Task identifier.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getTask

Required. Task resource.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\Task|null

hasTask

clearTask

setTask

Required. Task resource.

Parameter
NameDescription
varGoogle\Cloud\Dataplex\V1\Task
Returns
TypeDescription
$this

getValidateOnly

Optional. Only validate the request, but do not perform mutations.

The default is false.

Returns
TypeDescription
bool

setValidateOnly

Optional. Only validate the request, but do not perform mutations.

The default is false.

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-08 UTC.