Class: Google::Apis::BigtableadminV2::ClusterState
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::ClusterState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb
Overview
The state of a table's data in a particular cluster.
Instance Attribute Summary collapse
-
#encryption_info ⇒ Array<Google::Apis::BigtableadminV2::EncryptionInfo>
Output only.
-
#replication_state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterState
constructor
A new instance of ClusterState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterState
Returns a new instance of ClusterState.
647 648 649 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 647 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encryption_info ⇒ Array<Google::Apis::BigtableadminV2::EncryptionInfo>
Output only. The encryption information for the table in this cluster. If the
encryption key protecting this resource is customer managed, then its version
can be rotated in Cloud Key Management Service (Cloud KMS). The primary
version of the key and its status will be reflected here when changes
propagate from Cloud KMS.
Corresponds to the JSON property encryptionInfo
640 641 642 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 640 def encryption_info @encryption_info end |
#replication_state ⇒ String
Output only. The state of replication for the table in this cluster.
Corresponds to the JSON property replicationState
645 646 647 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 645 def replication_state @replication_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
652 653 654 655 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 652 def update!(**args) @encryption_info = args[:encryption_info] if args.key?(:encryption_info) @replication_state = args[:replication_state] if args.key?(:replication_state) end |