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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/bigtable/admin/v2/doc/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_writestrue, false

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:

  • (true, false)

    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.



188
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/instance.rb', line 188

class SingleClusterRouting; end

#cluster_idString

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

Returns:

  • (String)

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



188
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/instance.rb', line 188

class SingleClusterRouting; end