View Source GoogleApi.Spanner.V1.Model.IncludeReplicas (google_api_spanner v0.39.0)

An IncludeReplicas contains a repeated set of ReplicaSelection which indicates the order in which replicas should be considered.

Attributes

  • autoFailoverDisabled (type: boolean(), default: nil) - 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.
  • replicaSelections (type: list(GoogleApi.Spanner.V1.Model.ReplicaSelection.t), default: nil) - The directed read replica selector.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Spanner.V1.Model.IncludeReplicas{
  autoFailoverDisabled: boolean() | nil,
  replicaSelections: [GoogleApi.Spanner.V1.Model.ReplicaSelection.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.