Class: Google::Apis::BigtableadminV2::GenerateConsistencyTokenResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigtableadmin_v2/classes.rb,
generated/google/apis/bigtableadmin_v2/representations.rb,
generated/google/apis/bigtableadmin_v2/representations.rb

Overview

Response message for google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GenerateConsistencyTokenResponse

Returns a new instance of GenerateConsistencyTokenResponse



746
747
748
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 746

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

Instance Attribute Details

#consistency_tokenString

The generated consistency token. Corresponds to the JSON property consistencyToken

Returns:

  • (String)


744
745
746
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 744

def consistency_token
  @consistency_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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