ChangeQuorumMetadata

Metadata type for the long-running operation returned by databases.changequorum.

JSON representation
{
  "request": {
    object (ChangeQuorumRequest)
  },
  "startTime": string,
  "endTime": string
}
Fields
request

object (ChangeQuorumRequest)

The request for databases.changequorum.

startTime

string (Timestamp format)

Time the request was received.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

endTime

string (Timestamp format)

If set, the time at which this operation failed or was completed successfully.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

ChangeQuorumRequest

The request for databases.changequorum.

JSON representation
{
  "name": string,
  "quorumType": {
    object (QuorumType)
  },
  "etag": string
}
Fields
name

string

Required. Name of the database in which to apply databases.changequorum. Values are of the form projects/<project>/instances/<instance>/databases/<database>.

quorumType

object (QuorumType)

Required. The type of this quorum.

etag

string

Optional. The etag is the hash of the QuorumInfo. The databases.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.