Class: Google::Cloud::Spanner::V1::DirectedReadOptions::IncludeReplicas
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::V1::DirectedReadOptions::IncludeReplicas
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/v1/spanner.rb
Overview
An IncludeReplicas contains a repeated set of ReplicaSelection which indicates the order in which replicas should be considered.
Instance Attribute Summary collapse
-
#auto_failover_disabled ⇒ ::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.
-
#replica_selections ⇒ ::Array<::Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection>
The directed read replica selector.
Instance Attribute Details
#auto_failover_disabled ⇒ ::Boolean
Returns 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
.
314 315 316 317 |
# File 'proto_docs/google/spanner/v1/spanner.rb', line 314 class IncludeReplicas include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#replica_selections ⇒ ::Array<::Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection>
Returns The directed read replica selector.
314 315 316 317 |
# File 'proto_docs/google/spanner/v1/spanner.rb', line 314 class IncludeReplicas include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |