View Source GoogleApi.Spanner.V1.Model.ChangeQuorumRequest (google_api_spanner v0.41.0)

The request for ChangeQuorum.

Attributes

  • etag (type: String.t, default: nil) - Optional. The etag is the hash of the QuorumInfo. The ChangeQuorum operation will only be performed if the etag matches that of the QuorumInfo in the current database resource. Otherwise the API will return an ABORTED error. The etag is used for optimistic concurrency control as a way to help prevent simultaneous change quorum requests that could create a race condition.
  • name (type: String.t, default: nil) - Required. Name of the database in which to apply the ChangeQuorum. Values are of the form projects//instances//databases/.
  • quorumType (type: GoogleApi.Spanner.V1.Model.QuorumType.t, default: nil) - Required. The type of this Quorum.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Spanner.V1.Model.ChangeQuorumRequest{
  etag: String.t() | nil,
  name: String.t() | nil,
  quorumType: GoogleApi.Spanner.V1.Model.QuorumType.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.