Cloud Bigtable Admin V2 API - Class Google::Cloud::Bigtable::Admin::V2::AppProfile::SingleClusterRouting (v0.11.0)

Reference documentation and code samples for the Cloud Bigtable Admin V2 API class Google::Cloud::Bigtable::Admin::V2::AppProfile::SingleClusterRouting.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_transactional_writes

def allow_transactional_writes() -> ::Boolean
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.

#allow_transactional_writes=

def allow_transactional_writes=(value) -> ::Boolean
Parameter
  • value (::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.
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.

#cluster_id

def cluster_id() -> ::String
Returns
  • (::String) — The cluster to which read/write requests should be routed.

#cluster_id=

def cluster_id=(value) -> ::String
Parameter
  • value (::String) — The cluster to which read/write requests should be routed.
Returns
  • (::String) — The cluster to which read/write requests should be routed.