Class: Google::Cloud::Spanner::V1::DirectedReadOptions::IncludeReplicas

Inherits:
Object
  • Object
show all
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

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.

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.



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.

Returns:



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