# Cloud Data Fusion V1 API - Class Google::Cloud::DataFusion::V1::UpdateInstanceRequest (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Cloud Data Fusion V1 API class Google::Cloud::DataFusion::V1::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #instance

    def instance() -> ::Google::Cloud::DataFusion::V1::Instance

**Returns**

- ([::Google::Cloud::DataFusion::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_fusion-v1/latest/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.

### #instance=

    def instance=(value) -> ::Google::Cloud::DataFusion::V1::Instance

**Parameter**

- **value** ([::Google::Cloud::DataFusion::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_fusion-v1/latest/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.
**Returns**

- ([::Google::Cloud::DataFusion::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_fusion-v1/latest/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

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_fusion-v1/latest/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.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_fusion-v1/latest/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**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_fusion-v1/latest/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.