Google Cloud Data Fusion V1 Client - Class UpdateInstanceRequest (1.0.0-RC1)

Reference documentation and code samples for the Google Cloud Data Fusion V1 Client class UpdateInstanceRequest.

Request message for updating a Data Fusion instance.

Data Fusion allows updating the labels, options, and stack driver settings. This is also used for CDF version upgrade.

Generated from protobuf message google.cloud.datafusion.v1.UpdateInstanceRequest

Namespace

Google \ Cloud \ DataFusion \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance Google\Cloud\DataFusion\V1\Instance

Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.

↳ update_mask Google\Protobuf\FieldMask

Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels, options, and version currently) will be overwritten.

getInstance

Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.

Returns
Type Description
Google\Cloud\DataFusion\V1\Instance|null

hasInstance

clearInstance

setInstance

Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.

Parameter
Name Description
var Google\Cloud\DataFusion\V1\Instance
Returns
Type Description
$this

getUpdateMask

Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request.

A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels, options, and version currently) will be overwritten.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request.

A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels, options, and version currently) will be overwritten.

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

static::build

Parameters
Name Description
instance Google\Cloud\DataFusion\V1\Instance

Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.

updateMask Google\Protobuf\FieldMask

Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels, options, and version currently) will be overwritten.

Returns
Type Description
Google\Cloud\DataFusion\V1\UpdateInstanceRequest