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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version available for `DirectedReadOptions.Types.IncludeReplicas` is `5.0.0-beta05`, with multiple prior versions also documented."],["`DirectedReadOptions.Types.IncludeReplicas` is a class within the Google Cloud Spanner v1 API, designed to define the preferred order of replicas for read operations."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."],["`IncludeReplicas` has two constructors: a default constructor, and another that takes an existing `IncludeReplicas` object for copying, and contains the properties `AutoFailoverDisabled` and `ReplicaSelections`."],["The `AutoFailoverDisabled` property, when set to true, prevents Spanner from routing requests outside the specified `include_replicas` list if those replicas are unavailable, and the `ReplicaSelections` property allows for the configuration of the directed read replica selector."]]],[]]