Struct gapi_grpc::google::cloud::sql::v1beta4::DemoteMasterContext[][src]

pub struct DemoteMasterContext {
    pub kind: String,
    pub verify_gtid_consistency: Option<bool>,
    pub master_instance_name: String,
    pub replica_configuration: Option<DemoteMasterConfiguration>,
}

Database instance demote primary instance context.

Fields

kind: String

This is always sql#demoteMasterContext.

verify_gtid_consistency: Option<bool>

Verify GTID consistency for demote operation. Default value: True. Second Generation instances only. Setting this flag to false enables you to bypass GTID consistency check between on-premises primary instance and Cloud SQL instance during the demotion operation but also exposes you to the risk of future replication failures. Change the value only if you know the reason for the GTID divergence and are confident that doing so will not cause any replication issues.

master_instance_name: String

The name of the instance which will act as on-premises primary instance in the replication setup.

replica_configuration: Option<DemoteMasterConfiguration>

Configuration specific to read-replicas replicating from the on-premises primary instance.

Trait Implementations

impl Clone for DemoteMasterContext[src]

impl Debug for DemoteMasterContext[src]

impl Default for DemoteMasterContext[src]

impl Message for DemoteMasterContext[src]

impl PartialEq<DemoteMasterContext> for DemoteMasterContext[src]

impl StructuralPartialEq for DemoteMasterContext[src]

Auto Trait Implementations

impl RefUnwindSafe for DemoteMasterContext

impl Send for DemoteMasterContext

impl Sync for DemoteMasterContext

impl Unpin for DemoteMasterContext

impl UnwindSafe for DemoteMasterContext

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]