Interface UpgradeInstanceRequestOrBuilder (2.45.0)

public interface UpgradeInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

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.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getRedisVersion()

public abstract String getRedisVersion()

Required. Specifies the target version of Redis software to upgrade to.

string redis_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The redisVersion.

getRedisVersionBytes()

public abstract ByteString getRedisVersionBytes()

Required. Specifies the target version of Redis software to upgrade to.

string redis_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for redisVersion.