Reference documentation and code samples for the Google Cloud Memorystore for Memcached V1 API class Google::Cloud::Memcache::V1::UpdateInstanceRequest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Memorystore for Memcached V1 API - Class Google::Cloud::Memcache::V1::UpdateInstanceRequest (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Cloud-Memcache-V1-UpdateInstanceRequest)\n- [2.0.1](/ruby/docs/reference/google-cloud-memcache-v1/2.0.1/Google-Cloud-Memcache-V1-UpdateInstanceRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-memcache-v1/1.2.0/Google-Cloud-Memcache-V1-UpdateInstanceRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-memcache-v1/1.1.0/Google-Cloud-Memcache-V1-UpdateInstanceRequest)\n- [1.0.2](/ruby/docs/reference/google-cloud-memcache-v1/1.0.2/Google-Cloud-Memcache-V1-UpdateInstanceRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-memcache-v1/0.9.0/Google-Cloud-Memcache-V1-UpdateInstanceRequest)\n- [0.8.2](/ruby/docs/reference/google-cloud-memcache-v1/0.8.2/Google-Cloud-Memcache-V1-UpdateInstanceRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-memcache-v1/0.7.0/Google-Cloud-Memcache-V1-UpdateInstanceRequest)\n- [0.6.1](/ruby/docs/reference/google-cloud-memcache-v1/0.6.1/Google-Cloud-Memcache-V1-UpdateInstanceRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-memcache-v1/0.5.0/Google-Cloud-Memcache-V1-UpdateInstanceRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-memcache-v1/0.4.0/Google-Cloud-Memcache-V1-UpdateInstanceRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-memcache-v1/0.3.0/Google-Cloud-Memcache-V1-UpdateInstanceRequest)\n- [0.2.5](/ruby/docs/reference/google-cloud-memcache-v1/0.2.5/Google-Cloud-Memcache-V1-UpdateInstanceRequest) \nReference documentation and code samples for the Google Cloud Memorystore for Memcached V1 API class Google::Cloud::Memcache::V1::UpdateInstanceRequest.\n\nRequest for [UpdateInstance](/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)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #instance\n\n def instance() -\u003e ::Google::Cloud::Memcache::V1::Instance\n\n**Returns**\n\n- ([::Google::Cloud::Memcache::V1::Instance](./Google-Cloud-Memcache-V1-Instance)) --- Required. A Memcached Instance. Only fields specified in update_mask are updated.\n\n### #instance=\n\n def instance=(value) -\u003e ::Google::Cloud::Memcache::V1::Instance\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Memcache::V1::Instance](./Google-Cloud-Memcache-V1-Instance)) --- Required. A Memcached Instance. Only fields specified in update_mask are updated. \n**Returns**\n\n- ([::Google::Cloud::Memcache::V1::Instance](./Google-Cloud-Memcache-V1-Instance)) --- Required. A Memcached Instance. Only fields specified in update_mask are updated.\n\n### #update_mask\n\n def update_mask() -\u003e ::Google::Protobuf::FieldMask\n\n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) ---\n\n Required. Mask of fields to update.\n - `displayName`\n\n### #update_mask=\n\n def update_mask=(value) -\u003e ::Google::Protobuf::FieldMask\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) ---\n\n Required. Mask of fields to update.\n- `displayName` \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) ---\n\n Required. Mask of fields to update.\n - `displayName`"]]