Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::DirectedReadOptions::IncludeReplicas (v0.24.0)

Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::DirectedReadOptions::IncludeReplicas.

An IncludeReplicas contains a repeated set of ReplicaSelection which indicates the order in which replicas should be considered.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#auto_failover_disabled

def auto_failover_disabled() -> ::Boolean
Returns
  • (::Boolean) — If true, Spanner will not route requests to a replica outside the include_replicas list when all of the specified replicas are unavailable or unhealthy. Default value is false.

#auto_failover_disabled=

def auto_failover_disabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, Spanner will not route requests to a replica outside the include_replicas list when all of the specified replicas are unavailable or unhealthy. Default value is false.
Returns
  • (::Boolean) — If true, Spanner will not route requests to a replica outside the include_replicas list when all of the specified replicas are unavailable or unhealthy. Default value is false.

#replica_selections

def replica_selections() -> ::Array<::Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection>
Returns

#replica_selections=

def replica_selections=(value) -> ::Array<::Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection>
Parameter
Returns