pub struct ChangeQuorumRequest {
pub etag: Option<String>,
pub name: Option<String>,
pub quorum_type: Option<QuorumType>,
}Expand description
The request for ChangeQuorum.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§etag: Option<String>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: Option<String>Required. Name of the database in which to apply ChangeQuorum. Values are of the form projects//instances//databases/.
quorum_type: Option<QuorumType>Required. The type of this quorum.
Trait Implementations§
Source§impl Clone for ChangeQuorumRequest
impl Clone for ChangeQuorumRequest
Source§fn clone(&self) -> ChangeQuorumRequest
fn clone(&self) -> ChangeQuorumRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more