Interface UpgradeInstanceRequestOrBuilder (2.81.0)

publicinterface UpgradeInstanceRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

publicabstractStringgetName()

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()

publicabstractByteStringgetNameBytes()

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()

publicabstractStringgetRedisVersion()

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()

publicabstractByteStringgetRedisVersionBytes()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.