Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::MySqlReplicaConfiguration.
Read-replica configuration specific to MySQL databases.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ca_certificate
def ca_certificate() -> ::String
Returns
- (::String) — PEM representation of the trusted CA's x509 certificate.
#ca_certificate=
def ca_certificate=(value) -> ::String
Parameter
- value (::String) — PEM representation of the trusted CA's x509 certificate.
Returns
- (::String) — PEM representation of the trusted CA's x509 certificate.
#client_certificate
def client_certificate() -> ::String
Returns
- (::String) — PEM representation of the replica's x509 certificate.
#client_certificate=
def client_certificate=(value) -> ::String
Parameter
- value (::String) — PEM representation of the replica's x509 certificate.
Returns
- (::String) — PEM representation of the replica's x509 certificate.
#client_key
def client_key() -> ::String
Returns
- (::String) — PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.
#client_key=
def client_key=(value) -> ::String
Parameter
- value (::String) — PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.
Returns
- (::String) — PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.
#connect_retry_interval
def connect_retry_interval() -> ::Google::Protobuf::Int32Value
Returns
- (::Google::Protobuf::Int32Value) — Seconds to wait between connect retries. MySQL's default is 60 seconds.
#connect_retry_interval=
def connect_retry_interval=(value) -> ::Google::Protobuf::Int32Value
Parameter
- value (::Google::Protobuf::Int32Value) — Seconds to wait between connect retries. MySQL's default is 60 seconds.
Returns
- (::Google::Protobuf::Int32Value) — Seconds to wait between connect retries. MySQL's default is 60 seconds.
#dump_file_path
def dump_file_path() -> ::String
Returns
- (::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.
#dump_file_path=
def dump_file_path=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.
#kind
def kind() -> ::String
Returns
-
(::String) — This is always
sql#mysqlReplicaConfiguration.
#kind=
def kind=(value) -> ::String
Parameter
-
value (::String) — This is always
sql#mysqlReplicaConfiguration.
Returns
-
(::String) — This is always
sql#mysqlReplicaConfiguration.
#master_heartbeat_period
def master_heartbeat_period() -> ::Google::Protobuf::Int64Value
Returns
- (::Google::Protobuf::Int64Value) — Interval in milliseconds between replication heartbeats.
#master_heartbeat_period=
def master_heartbeat_period=(value) -> ::Google::Protobuf::Int64Value
Parameter
- value (::Google::Protobuf::Int64Value) — Interval in milliseconds between replication heartbeats.
Returns
- (::Google::Protobuf::Int64Value) — Interval in milliseconds between replication heartbeats.
#password
def password() -> ::String
Returns
- (::String) — The password for the replication connection.
#password=
def password=(value) -> ::String
Parameter
- value (::String) — The password for the replication connection.
Returns
- (::String) — The password for the replication connection.
#ssl_cipher
def ssl_cipher() -> ::String
Returns
- (::String) — A list of permissible ciphers to use for SSL encryption.
#ssl_cipher=
def ssl_cipher=(value) -> ::String
Parameter
- value (::String) — A list of permissible ciphers to use for SSL encryption.
Returns
- (::String) — A list of permissible ciphers to use for SSL encryption.
#username
def username() -> ::String
Returns
- (::String) — The username for the replication connection.
#username=
def username=(value) -> ::String
Parameter
- value (::String) — The username for the replication connection.
Returns
- (::String) — The username for the replication connection.
#verify_server_certificate
def verify_server_certificate() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.
#verify_server_certificate=
def verify_server_certificate=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.
Returns
- (::Google::Protobuf::BoolValue) — Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.