Class: Google::Cloud::Bigtable::Admin::V2::AppProfile::SingleClusterRouting

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/bigtable/admin/v2/instance.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#allow_transactional_writes::Boolean

Returns 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.

Returns:

  • (::Boolean)

    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.



307
308
309
310
# File 'proto_docs/google/bigtable/admin/v2/instance.rb', line 307

class SingleClusterRouting
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#cluster_id::String

Returns The cluster to which read/write requests should be routed.

Returns:

  • (::String)

    The cluster to which read/write requests should be routed.



307
308
309
310
# File 'proto_docs/google/bigtable/admin/v2/instance.rb', line 307

class SingleClusterRouting
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end