Reference documentation and code samples for the Google Cloud Memorystore for Redis V1beta1 API class Google::Cloud::Redis::V1beta1::UpgradeInstanceRequest.
(::String) — Required. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id refers to a GCP region.
#name=
defname=(value)->::String
Parameter
value (::String) — Required. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id refers to a GCP region.
Returns
(::String) — Required. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id refers to a GCP region.
#redis_version
defredis_version()->::String
Returns
(::String) — Required. Specifies the target version of Redis software to upgrade to.
#redis_version=
defredis_version=(value)->::String
Parameter
value (::String) — Required. Specifies the target version of Redis software to upgrade to.
Returns
(::String) — Required. Specifies the target version of Redis software to upgrade to.
[[["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-09-09 UTC."],[],[],null,["# Google Cloud Memorystore for Redis V1beta1 API - Class Google::Cloud::Redis::V1beta1::UpgradeInstanceRequest (v0.17.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.17.0 (latest)](/ruby/docs/reference/google-cloud-redis-v1beta1/latest/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest)\n- [0.16.1](/ruby/docs/reference/google-cloud-redis-v1beta1/0.16.1/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest)\n- [0.15.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.15.0/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.14.0/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest)\n- [0.13.2](/ruby/docs/reference/google-cloud-redis-v1beta1/0.13.2/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest)\n- [0.12.2](/ruby/docs/reference/google-cloud-redis-v1beta1/0.12.2/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.11.0/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest)\n- [0.10.1](/ruby/docs/reference/google-cloud-redis-v1beta1/0.10.1/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.9.0/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.8.0/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.7.0/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-redis-v1beta1/0.6.0/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest)\n- [0.5.1](/ruby/docs/reference/google-cloud-redis-v1beta1/0.5.1/Google-Cloud-Redis-V1beta1-UpgradeInstanceRequest) \nReference documentation and code samples for the Google Cloud Memorystore for Redis V1beta1 API class Google::Cloud::Redis::V1beta1::UpgradeInstanceRequest.\n\nRequest for [UpgradeInstance](/ruby/docs/reference/google-cloud-redis-v1beta1/latest/Google-Cloud-Redis-V1beta1-CloudRedis-Client#Google__Cloud__Redis__V1beta1__CloudRedis__Client_upgrade_instance_instance_ \"Google::Cloud::Redis::V1beta1::CloudRedis::Client#upgrade_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### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. \n**Returns**\n\n- (::String) --- Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.\n\n### #redis_version\n\n def redis_version() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Specifies the target version of Redis software to upgrade to.\n\n### #redis_version=\n\n def redis_version=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Specifies the target version of Redis software to upgrade to. \n**Returns**\n\n- (::String) --- Required. Specifies the target version of Redis software to upgrade to."]]