GoogleApi.Spanner.V1.Model.QuorumInfo (google_api_spanner v0.48.0)

View Source

Information about the dual-region quorum.

Attributes

  • etag (type: String.t, default: nil) - Output only. The etag is used for optimistic concurrency control as a way to help prevent simultaneous ChangeQuorum requests that might create a race condition.
  • initiator (type: String.t, default: nil) - Output only. Whether this ChangeQuorum is Google or User initiated.
  • quorumType (type: GoogleApi.Spanner.V1.Model.QuorumType.t, default: nil) - Output only. The type of this quorum. See QuorumType for more information about quorum type specifications.
  • startTime (type: DateTime.t, default: nil) - Output only. The timestamp when the request was triggered.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Spanner.V1.Model.QuorumInfo{
  etag: String.t() | nil,
  initiator: String.t() | nil,
  quorumType: GoogleApi.Spanner.V1.Model.QuorumType.t() | nil,
  startTime: DateTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.