Class UpdateInstanceRequest
java.lang.Object
com.google.cloud.bigtable.admin.v2.models.UpdateInstanceRequest
Parameters for updating an existing Bigtable instance.
Existing instances maybe updated to change their superficial appearance (ie. display name) and can also be upgraded from a DEVELOPMENT instance to a PRODUCTION instance. Please note that upgrading to a PRODUCTION instance cannot be undone.
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateInstanceRequest
Builds a new request to update an existing instance with the specified id.setAllLabels
(Map<String, String> labels) Replaces the labels associated with the instance.setDisplayName
(String displayName) Changes the display name of the instance.Upgrades the instance from a DEVELOPMENT instance to a PRODUCTION instance.com.google.bigtable.admin.v2.PartialUpdateInstanceRequest
Creates the request protobuf.
-
Method Details
-
of
Builds a new request to update an existing instance with the specified id. -
setDisplayName
Changes the display name of the instance. -
setProductionType
Upgrades the instance from a DEVELOPMENT instance to a PRODUCTION instance. This cannot be undone. -
setAllLabels
Replaces the labels associated with the instance.- See Also:
-
toProto
@InternalApi public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest toProto(String projectId) Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
-