public sealed class DirectedReadOptions.Types.IncludeReplicas : IMessage<DirectedReadOptions.Types.IncludeReplicas>, IEquatable<DirectedReadOptions.Types.IncludeReplicas>, IDeepCloneable<DirectedReadOptions.Types.IncludeReplicas>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class DirectedReadOptions.Types.IncludeReplicas.
An IncludeReplicas contains a repeated set of ReplicaSelection which indicates the order in which replicas should be considered.
Implements
IMessageDirectedReadOptionsTypesIncludeReplicas, IEquatableDirectedReadOptionsTypesIncludeReplicas, IDeepCloneableDirectedReadOptionsTypesIncludeReplicas, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Constructors
IncludeReplicas()
public IncludeReplicas()
IncludeReplicas(IncludeReplicas)
public IncludeReplicas(DirectedReadOptions.Types.IncludeReplicas other)
Parameter | |
---|---|
Name | Description |
other |
DirectedReadOptionsTypesIncludeReplicas |
Properties
AutoFailoverDisabled
public bool AutoFailoverDisabled { get; set; }
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
.
Property Value | |
---|---|
Type | Description |
bool |
ReplicaSelections
public RepeatedField<DirectedReadOptions.Types.ReplicaSelection> ReplicaSelections { get; }
The directed read replica selector.
Property Value | |
---|---|
Type | Description |
RepeatedFieldDirectedReadOptionsTypesReplicaSelection |