# Google Cloud Memorystore for Memcached V1 API - Class Google::Cloud::Memcache::V1::UpdateInstanceRequest (v2.5.0)

2.5.0 (latest) 2.4.1 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.5 Reference documentation and code samples for the Google Cloud Memorystore for Memcached V1 API class Google::Cloud::Memcache::V1::UpdateInstanceRequest.

Request for [UpdateInstance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Cloud-Memcache-V1-CloudMemcache-Client#Google__Cloud__Memcache__V1__CloudMemcache__Client_update_instance_instance_ "Google::Cloud::Memcache::V1::CloudMemcache::Client#update_instance (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #instance

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

**Returns**

- ([::Google::Cloud::Memcache::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Cloud-Memcache-V1-Instance)) --- Required. A Memcached Instance. Only fields specified in update_mask are updated.

### #instance=

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

**Parameter**

- **value** ([::Google::Cloud::Memcache::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Cloud-Memcache-V1-Instance)) --- Required. A Memcached Instance. Only fields specified in update_mask are updated.
**Returns**

- ([::Google::Cloud::Memcache::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Cloud-Memcache-V1-Instance)) --- Required. A Memcached Instance. Only fields specified in update_mask are updated.

### #update_mask

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

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Protobuf-FieldMask)) ---

  Required. Mask of fields to update.
  - `displayName`

### #update_mask=

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

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Protobuf-FieldMask)) ---

  Required. Mask of fields to update.
  - `displayName`
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Protobuf-FieldMask)) ---

  Required. Mask of fields to update.
  - `displayName`