Google Cloud Dataplex V1 Client - Class UpdateTaskRequest (0.9.0)

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

Update task request.

Generated from protobuf message google.cloud.dataplex.v1.UpdateTaskRequest

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Mask of fields to update.

↳ task Google\Cloud\Dataplex\V1\Task

Required. Update description. Only fields specified in update_mask are updated.

↳ validate_only bool

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

getUpdateMask

Required. Mask of fields to update.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask of fields to update.

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

getTask

Required. Update description.

Only fields specified in update_mask are updated.

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

hasTask

clearTask

setTask

Required. Update description.

Only fields specified in update_mask are updated.

Parameter
NameDescription
var Google\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
var bool
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
task Google\Cloud\Dataplex\V1\Task

Required. Update description. Only fields specified in update_mask are updated.

updateMask Google\Protobuf\FieldMask

Required. Mask of fields to update.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\UpdateTaskRequest