Class ChangeQuorumRequest
The request for ChangeQuorum.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ChangeQuorumRequest : IDirectResponseSchema
Properties
ETag
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.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Required. Name of the database in which to apply ChangeQuorum
. Values are of the form
projects//instances//databases/
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
QuorumType
Required. The type of this quorum.
Declaration
[JsonProperty("quorumType")]
public virtual QuorumType QuorumType { get; set; }
Property Value
Type | Description |
---|---|
QuorumType |