class Google::Apis::BigtableadminV2::SingleClusterRouting

Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability.

Attributes

allow_transactional_writes[RW]

Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters. Corresponds to the JSON property `allowTransactionalWrites` @return [Boolean]

allow_transactional_writes?[RW]

Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters. Corresponds to the JSON property `allowTransactionalWrites` @return [Boolean]

cluster_id[RW]

The cluster to which read/write requests should be routed. Corresponds to the JSON property `clusterId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigtableadmin_v2/classes.rb, line 1870
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigtableadmin_v2/classes.rb, line 1875
def update!(**args)
  @allow_transactional_writes = args[:allow_transactional_writes] if args.key?(:allow_transactional_writes)
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
end