Google Cloud Spanner v1 API - Class DirectedReadOptions.Types.IncludeReplicas (5.0.0-beta02)

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.

Inheritance

object > DirectedReadOptions.Types.IncludeReplicas

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

IncludeReplicas()

public IncludeReplicas()

IncludeReplicas(IncludeReplicas)

public IncludeReplicas(DirectedReadOptions.Types.IncludeReplicas other)
Parameter
NameDescription
otherDirectedReadOptionsTypesIncludeReplicas

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
TypeDescription
bool

ReplicaSelections

public RepeatedField<DirectedReadOptions.Types.ReplicaSelection> ReplicaSelections { get; }

The directed read replica selector.

Property Value
TypeDescription
RepeatedFieldDirectedReadOptionsTypesReplicaSelection