Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ChangeQuorumRequest

import type { ChangeQuorumRequest } from "https://googleapis.deno.dev/v1/spanner:v1.ts";

The request for ChangeQuorum.

interface ChangeQuorumRequest {
etag?: string;
name?: string;
quorumType?: QuorumType;
}

§Properties

§
etag?: string
[src]

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?: string
[src]

Required. Name of the database in which to apply ChangeQuorum. Values are of the form projects//instances//databases/.

§
quorumType?: QuorumType
[src]

Required. The type of this quorum.