# Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::V1::UpgradeInstanceRequest (v2.6.0)

2.6.0 (latest) 2.5.1 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.2 0.14.0 0.13.2 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.1 Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::V1::UpgradeInstanceRequest.

Request for
[UpgradeInstance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-v1/latest/Google-Cloud-Redis-V1-CloudRedis-Client#Google__Cloud__Redis__V1__CloudRedis__Client_upgrade_instance_instance_ "Google::Cloud::Redis::V1::CloudRedis::Client#upgrade_instance (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**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.

### #name=

    def name=(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

    def redis_version() -> ::String

**Returns**

- (::String) --- Required. Specifies the target version of Redis software to upgrade to.

### #redis_version=

    def redis_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.