Google Cloud Dataplex V1 Client - Class UpdateTaskRequest (1.1.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
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Mask of fields to update.

↳ task 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
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask of fields to update.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getTask

Required. Update description.

Only fields specified in update_mask are updated.

Returns
Type Description
Task|null

hasTask

clearTask

setTask

Required. Update description.

Only fields specified in update_mask are updated.

Parameter
Name Description
var Task
Returns
Type Description
$this

getValidateOnly

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

The default is false.

Returns
Type Description
bool

setValidateOnly

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

The default is false.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
task Task

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

updateMask Google\Protobuf\FieldMask

Required. Mask of fields to update.

Returns
Type Description
UpdateTaskRequest