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

View Source

The request for ChangeQuorum.

Attributes

  • etag (type: String.t, default: nil) - Optional. The etag is the hash of the QuorumInfo. The ChangeQuorum operation is only performed if the etag matches that of the QuorumInfo in the current database resource. Otherwise the API returns 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 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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.