GoogleApi.Spanner.V1.Model.ChangeQuorumRequest (google_api_spanner v0.48.0)
View SourceThe request for ChangeQuorum.
Attributes
-
etag(type:String.t, default:nil) - Optional. The etag is the hash of theQuorumInfo. TheChangeQuorumoperation is only performed if the etag matches that of theQuorumInfoin the current database resource. Otherwise the API returns anABORTEDerror. 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 applyChangeQuorum. Values are of the formprojects//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 }