Struct google_api_proto::google::cloud::sql::v1beta4::SqlInstancesVerifyExternalSyncSettingsRequest
source · pub struct SqlInstancesVerifyExternalSyncSettingsRequest {
pub instance: String,
pub project: String,
pub verify_connection_only: bool,
pub sync_mode: i32,
pub verify_replication_only: bool,
pub migration_type: i32,
pub sync_parallel_level: i32,
pub sync_config: Option<SyncConfig>,
}Fields§
§instance: StringCloud SQL instance ID. This does not include the project ID.
project: StringProject ID of the project that contains the instance.
verify_connection_only: boolFlag to enable verifying connection only
sync_mode: i32External sync mode
verify_replication_only: boolOptional. Flag to verify settings required by replication setup only
migration_type: i32Optional. MigrationType configures the migration to use physical files or
logical dump files. If not set, then the logical dump file configuration is
used. Valid values are LOGICAL or PHYSICAL. Only applicable to MySQL.
sync_parallel_level: i32Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.
sync_config: Option<SyncConfig>Implementations§
source§impl SqlInstancesVerifyExternalSyncSettingsRequest
impl SqlInstancesVerifyExternalSyncSettingsRequest
sourcepub fn sync_mode(&self) -> ExternalSyncMode
pub fn sync_mode(&self) -> ExternalSyncMode
Returns the enum value of sync_mode, or the default if the field is set to an invalid enum value.
sourcepub fn set_sync_mode(&mut self, value: ExternalSyncMode)
pub fn set_sync_mode(&mut self, value: ExternalSyncMode)
Sets sync_mode to the provided enum value.
sourcepub fn migration_type(&self) -> MigrationType
pub fn migration_type(&self) -> MigrationType
Returns the enum value of migration_type, or the default if the field is set to an invalid enum value.
sourcepub fn set_migration_type(&mut self, value: MigrationType)
pub fn set_migration_type(&mut self, value: MigrationType)
Sets migration_type to the provided enum value.
sourcepub fn sync_parallel_level(&self) -> ExternalSyncParallelLevel
pub fn sync_parallel_level(&self) -> ExternalSyncParallelLevel
Returns the enum value of sync_parallel_level, or the default if the field is set to an invalid enum value.
sourcepub fn set_sync_parallel_level(&mut self, value: ExternalSyncParallelLevel)
pub fn set_sync_parallel_level(&mut self, value: ExternalSyncParallelLevel)
Sets sync_parallel_level to the provided enum value.
Trait Implementations§
source§impl Clone for SqlInstancesVerifyExternalSyncSettingsRequest
impl Clone for SqlInstancesVerifyExternalSyncSettingsRequest
source§fn clone(&self) -> SqlInstancesVerifyExternalSyncSettingsRequest
fn clone(&self) -> SqlInstancesVerifyExternalSyncSettingsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Message for SqlInstancesVerifyExternalSyncSettingsRequest
impl Message for SqlInstancesVerifyExternalSyncSettingsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.source§impl PartialEq for SqlInstancesVerifyExternalSyncSettingsRequest
impl PartialEq for SqlInstancesVerifyExternalSyncSettingsRequest
source§fn eq(&self, other: &SqlInstancesVerifyExternalSyncSettingsRequest) -> bool
fn eq(&self, other: &SqlInstancesVerifyExternalSyncSettingsRequest) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SqlInstancesVerifyExternalSyncSettingsRequest
Auto Trait Implementations§
impl Freeze for SqlInstancesVerifyExternalSyncSettingsRequest
impl RefUnwindSafe for SqlInstancesVerifyExternalSyncSettingsRequest
impl Send for SqlInstancesVerifyExternalSyncSettingsRequest
impl Sync for SqlInstancesVerifyExternalSyncSettingsRequest
impl Unpin for SqlInstancesVerifyExternalSyncSettingsRequest
impl UnwindSafe for SqlInstancesVerifyExternalSyncSettingsRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request