Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::DirectedReadOptions::ExcludeReplicas.
An ExcludeReplicas contains a repeated set of ReplicaSelection that should be excluded from serving requests.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#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.