Interface UpgradeInstanceRequestOrBuilder (2.39.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for redisVersion.