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 doesn't route requests to a replica outside the <include_replicaslist when all of the specified replicas are unavailable or unhealthy. Default value isfalse.
#auto_failover_disabled=
def auto_failover_disabled=(value) -> ::Boolean
    Parameter
    
  - 
        value (::Boolean) — If true, Spanner doesn't route requests to a replica outside the <include_replicaslist when all of the specified replicas are unavailable or unhealthy. Default value isfalse.
    Returns
    
  - 
        (::Boolean) — If true, Spanner doesn't route requests to a replica outside the <include_replicaslist when all of the specified replicas are unavailable or unhealthy. Default value isfalse.
#replica_selections
def replica_selections() -> ::Array<::Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection>
    Returns
    
  - (::Array<::Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection>) — The directed read replica selector.
#replica_selections=
def replica_selections=(value) -> ::Array<::Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection>
    Parameter
    
  - value (::Array<::Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection>) — The directed read replica selector.
    Returns
    
- (::Array<::Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection>) — The directed read replica selector.