Class: Google::Apis::BigtableadminV2::ClusterState

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClusterState

Returns a new instance of ClusterState.



758
759
760
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 758

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#encryption_infoArray<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



751
752
753
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 751

def encryption_info
  @encryption_info
end

#replication_stateString

Output only. The state of replication for the table in this cluster. Corresponds to the JSON property replicationState

Returns:

  • (String)


756
757
758
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 756

def replication_state
  @replication_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



763
764
765
766
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 763

def update!(**args)
  @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
  @replication_state = args[:replication_state] if args.key?(:replication_state)
end