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

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