Class: Google::Apis::BigtableadminV2::CheckConsistencyRequest
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::CheckConsistencyRequest
- 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
Request message for google.bigtable.admin.v2.BigtableTableAdmin. CheckConsistency
Instance Attribute Summary collapse
-
#consistency_token ⇒ String
Required.
-
#standard_read_remote_writes ⇒ Google::Apis::BigtableadminV2::StandardReadRemoteWrites
Checks that all writes before the consistency token was generated is replicated in every cluster and readable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckConsistencyRequest
constructor
A new instance of CheckConsistencyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckConsistencyRequest
Returns a new instance of CheckConsistencyRequest.
489 490 491 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 489 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consistency_token ⇒ String
Required. The token created using GenerateConsistencyToken for the Table.
Corresponds to the JSON property consistencyToken
481 482 483 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 481 def consistency_token @consistency_token end |
#standard_read_remote_writes ⇒ Google::Apis::BigtableadminV2::StandardReadRemoteWrites
Checks that all writes before the consistency token was generated is
replicated in every cluster and readable.
Corresponds to the JSON property standardReadRemoteWrites
487 488 489 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 487 def standard_read_remote_writes @standard_read_remote_writes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
494 495 496 497 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 494 def update!(**args) @consistency_token = args[:consistency_token] if args.key?(:consistency_token) @standard_read_remote_writes = args[:standard_read_remote_writes] if args.key?(:standard_read_remote_writes) end |