class Google::Apis::BigtableadminV1::Instance
A collection of Bigtable Tables and the resources that serve them. All tables in an instance are served from all Clusters in the instance.
Attributes
Required. The descriptive name for this instance as it appears in UIs. Can be changed at any time, but should be kept globally unique to avoid confusion. Corresponds to the JSON property `displayName` @return [String]
Required. Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. They can be used to filter resources and aggregate metrics. * Label keys must be between 1 and 63 characters long and must conform to the regular expression: `p`Ll`p`Lo“0,62“. * Label values must be between 0 and 63 characters long and must conform to the regular expression: `[p`Ll`p`Lo`p`N`_-]`0,63“. * No more than 64 labels can be associated with a given resource. * Keys and values must both be under 128 bytes. Corresponds to the JSON property `labels` @return [Hash<String,String>]
The unique name of the instance. Values are of the form `projects/`project`/ instances/a-z+`. Corresponds to the JSON property `name` @return [String]
Output only. The current state of the instance. Corresponds to the JSON property `state` @return [String]
Required. The type of the instance. Defaults to `PRODUCTION`. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/bigtableadmin_v1/classes.rb, line 538 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/bigtableadmin_v1/classes.rb, line 543 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) end