Struct google_api_proto::google::cloud::sql::v1beta4::MySqlReplicaConfiguration
source · pub struct MySqlReplicaConfiguration {
pub dump_file_path: String,
pub username: String,
pub password: String,
pub connect_retry_interval: Option<i32>,
pub master_heartbeat_period: Option<i64>,
pub ca_certificate: String,
pub client_certificate: String,
pub client_key: String,
pub ssl_cipher: String,
pub verify_server_certificate: Option<bool>,
pub kind: String,
}
Expand description
Read-replica configuration specific to MySQL databases.
Fields§
§dump_file_path: String
Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting –master-data to 1 when using mysqldump.
username: String
The username for the replication connection.
password: String
The password for the replication connection.
connect_retry_interval: Option<i32>
Seconds to wait between connect retries. MySQL’s default is 60 seconds.
master_heartbeat_period: Option<i64>
Interval in milliseconds between replication heartbeats.
ca_certificate: String
PEM representation of the trusted CA’s x509 certificate.
client_certificate: String
PEM representation of the replica’s x509 certificate.
client_key: String
PEM representation of the replica’s private key. The corresponsing public key is encoded in the client’s certificate.
ssl_cipher: String
A list of permissible ciphers to use for SSL encryption.
verify_server_certificate: Option<bool>
Whether or not to check the primary instance’s Common Name value in the certificate that it sends during the SSL handshake.
kind: String
This is always sql#mysqlReplicaConfiguration
.
Trait Implementations§
source§impl Clone for MySqlReplicaConfiguration
impl Clone for MySqlReplicaConfiguration
source§fn clone(&self) -> MySqlReplicaConfiguration
fn clone(&self) -> MySqlReplicaConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MySqlReplicaConfiguration
impl Debug for MySqlReplicaConfiguration
source§impl Default for MySqlReplicaConfiguration
impl Default for MySqlReplicaConfiguration
source§impl Message for MySqlReplicaConfiguration
impl Message for MySqlReplicaConfiguration
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 MySqlReplicaConfiguration
impl PartialEq for MySqlReplicaConfiguration
source§fn eq(&self, other: &MySqlReplicaConfiguration) -> bool
fn eq(&self, other: &MySqlReplicaConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MySqlReplicaConfiguration
Auto Trait Implementations§
impl Freeze for MySqlReplicaConfiguration
impl RefUnwindSafe for MySqlReplicaConfiguration
impl Send for MySqlReplicaConfiguration
impl Sync for MySqlReplicaConfiguration
impl Unpin for MySqlReplicaConfiguration
impl UnwindSafe for MySqlReplicaConfiguration
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