Class: Google::Apis::BigtableadminV2::RowAffinity

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

If enabled, the AFE will route the request based on the row key of the request, rather than randomly. Instead, each row key will be assigned to a cluster, and will stick to that cluster. If clusters are added or removed, then this may affect which row keys stick to which clusters. To avoid this, users can specify a group cluster.

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RowAffinity

Returns a new instance of RowAffinity.



3173
3174
3175
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3173

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

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3178
3179
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3178

def update!(**args)
end