# Cloud Spanner Instance Admin V1 API - Class Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstanceConfigRequest (v2.8.0)

2.8.0 (latest) 2.7.1 2.6.0 2.5.0 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.16.0 0.15.0 0.14.0 0.13.2 0.12.0 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.5 Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstanceConfigRequest.

The request for
[UpdateInstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceAdmin-Client#Google__Cloud__Spanner__Admin__Instance__V1__InstanceAdmin__Client_update_instance_config_instance_ "Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Client#update_instance_config (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #instance_config

    def instance_config() -> ::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig

**Returns**

- ([::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceConfig)) --- Required. The user instance configuration to update, which must always include the instance configuration name. Otherwise, only fields mentioned in [update_mask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-UpdateInstanceConfigRequest#Google__Cloud__Spanner__Admin__Instance__V1__UpdateInstanceConfigRequest_update_mask_instance_ "Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstanceConfigRequest#update_mask (method)") need be included. To prevent conflicts of concurrent updates, [etag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceConfig#Google__Cloud__Spanner__Admin__Instance__V1__InstanceConfig_reconciling_instance_ "Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig#reconciling (method)") can be used.

### #instance_config=

    def instance_config=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig

**Parameter**

- **value** ([::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceConfig)) --- Required. The user instance configuration to update, which must always include the instance configuration name. Otherwise, only fields mentioned in [update_mask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-UpdateInstanceConfigRequest#Google__Cloud__Spanner__Admin__Instance__V1__UpdateInstanceConfigRequest_update_mask_instance_ "Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstanceConfigRequest#update_mask (method)") need be included. To prevent conflicts of concurrent updates, [etag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceConfig#Google__Cloud__Spanner__Admin__Instance__V1__InstanceConfig_reconciling_instance_ "Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig#reconciling (method)") can be used.
**Returns**

- ([::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceConfig)) --- Required. The user instance configuration to update, which must always include the instance configuration name. Otherwise, only fields mentioned in [update_mask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-UpdateInstanceConfigRequest#Google__Cloud__Spanner__Admin__Instance__V1__UpdateInstanceConfigRequest_update_mask_instance_ "Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstanceConfigRequest#update_mask (method)") need be included. To prevent conflicts of concurrent updates, [etag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceConfig#Google__Cloud__Spanner__Admin__Instance__V1__InstanceConfig_reconciling_instance_ "Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig#reconciling (method)") can be used.

### #update_mask

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

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Protobuf-FieldMask)) --- Required. A mask specifying which fields in [InstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceConfig "Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig (class)") should be updated. The field mask must always be specified; this prevents any future fields in [InstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceConfig "Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig (class)") from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.

### #update_mask=

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

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Protobuf-FieldMask)) --- Required. A mask specifying which fields in [InstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceConfig "Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig (class)") should be updated. The field mask must always be specified; this prevents any future fields in [InstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceConfig "Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig (class)") from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Protobuf-FieldMask)) --- Required. A mask specifying which fields in [InstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceConfig "Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig (class)") should be updated. The field mask must always be specified; this prevents any future fields in [InstanceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Cloud-Spanner-Admin-Instance-V1-InstanceConfig "Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig (class)") from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.

### #validate_only

    def validate_only() -> ::Boolean

**Returns**

- (::Boolean) --- An option to validate, but not actually execute, a request, and provide the same response.

### #validate_only=

    def validate_only=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- An option to validate, but not actually execute, a request, and provide the same response.
**Returns**

- (::Boolean) --- An option to validate, but not actually execute, a request, and provide the same response.