#include <my_sql_replica_configuration.h>
Read-replica configuration specific to MySQL databases.
◆ MySqlReplicaConfiguration() [1/2]
| google_sqladmin_api::MySqlReplicaConfiguration::MySqlReplicaConfiguration |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ MySqlReplicaConfiguration() [2/2]
| google_sqladmin_api::MySqlReplicaConfiguration::MySqlReplicaConfiguration |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~MySqlReplicaConfiguration()
| google_sqladmin_api::MySqlReplicaConfiguration::~MySqlReplicaConfiguration |
( |
| ) |
|
|
virtual |
◆ clear_ca_certificate()
| void google_sqladmin_api::MySqlReplicaConfiguration::clear_ca_certificate |
( |
| ) |
|
|
inline |
Clears the 'caCertificate' attribute.
◆ clear_client_certificate()
| void google_sqladmin_api::MySqlReplicaConfiguration::clear_client_certificate |
( |
| ) |
|
|
inline |
Clears the 'clientCertificate' attribute.
◆ clear_client_key()
| void google_sqladmin_api::MySqlReplicaConfiguration::clear_client_key |
( |
| ) |
|
|
inline |
Clears the 'clientKey' attribute.
◆ clear_connect_retry_interval()
| void google_sqladmin_api::MySqlReplicaConfiguration::clear_connect_retry_interval |
( |
| ) |
|
|
inline |
Clears the 'connectRetryInterval' attribute.
◆ clear_dump_file_path()
| void google_sqladmin_api::MySqlReplicaConfiguration::clear_dump_file_path |
( |
| ) |
|
|
inline |
Clears the 'dumpFilePath' attribute.
◆ clear_kind()
| void google_sqladmin_api::MySqlReplicaConfiguration::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_master_heartbeat_period()
| void google_sqladmin_api::MySqlReplicaConfiguration::clear_master_heartbeat_period |
( |
| ) |
|
|
inline |
Clears the 'masterHeartbeatPeriod' attribute.
◆ clear_password()
| void google_sqladmin_api::MySqlReplicaConfiguration::clear_password |
( |
| ) |
|
|
inline |
Clears the 'password' attribute.
◆ clear_ssl_cipher()
| void google_sqladmin_api::MySqlReplicaConfiguration::clear_ssl_cipher |
( |
| ) |
|
|
inline |
Clears the 'sslCipher' attribute.
◆ clear_username()
| void google_sqladmin_api::MySqlReplicaConfiguration::clear_username |
( |
| ) |
|
|
inline |
Clears the 'username' attribute.
◆ clear_verify_server_certificate()
| void google_sqladmin_api::MySqlReplicaConfiguration::clear_verify_server_certificate |
( |
| ) |
|
|
inline |
Clears the 'verifyServerCertificate' attribute.
◆ get_ca_certificate()
| const StringPiece google_sqladmin_api::MySqlReplicaConfiguration::get_ca_certificate |
( |
| ) |
const |
|
inline |
Get the value of the 'caCertificate' attribute.
◆ get_client_certificate()
| const StringPiece google_sqladmin_api::MySqlReplicaConfiguration::get_client_certificate |
( |
| ) |
const |
|
inline |
Get the value of the 'clientCertificate' attribute.
◆ get_client_key()
| const StringPiece google_sqladmin_api::MySqlReplicaConfiguration::get_client_key |
( |
| ) |
const |
|
inline |
Get the value of the 'clientKey' attribute.
◆ get_connect_retry_interval()
| int32 google_sqladmin_api::MySqlReplicaConfiguration::get_connect_retry_interval |
( |
| ) |
const |
|
inline |
Get the value of the 'connectRetryInterval' attribute.
◆ get_dump_file_path()
| const StringPiece google_sqladmin_api::MySqlReplicaConfiguration::get_dump_file_path |
( |
| ) |
const |
|
inline |
Get the value of the 'dumpFilePath' attribute.
◆ get_kind()
| const StringPiece google_sqladmin_api::MySqlReplicaConfiguration::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_master_heartbeat_period()
| int64 google_sqladmin_api::MySqlReplicaConfiguration::get_master_heartbeat_period |
( |
| ) |
const |
|
inline |
Get the value of the 'masterHeartbeatPeriod' attribute.
◆ get_password()
| const StringPiece google_sqladmin_api::MySqlReplicaConfiguration::get_password |
( |
| ) |
const |
|
inline |
Get the value of the 'password' attribute.
◆ get_ssl_cipher()
| const StringPiece google_sqladmin_api::MySqlReplicaConfiguration::get_ssl_cipher |
( |
| ) |
const |
|
inline |
Get the value of the 'sslCipher' attribute.
◆ get_username()
| const StringPiece google_sqladmin_api::MySqlReplicaConfiguration::get_username |
( |
| ) |
const |
|
inline |
Get the value of the 'username' attribute.
◆ get_verify_server_certificate()
| bool google_sqladmin_api::MySqlReplicaConfiguration::get_verify_server_certificate |
( |
| ) |
const |
|
inline |
Get the value of the 'verifyServerCertificate' attribute.
◆ GetTypeName()
| const StringPiece google_sqladmin_api::MySqlReplicaConfiguration::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_ca_certificate()
| bool google_sqladmin_api::MySqlReplicaConfiguration::has_ca_certificate |
( |
| ) |
const |
|
inline |
Determine if the 'caCertificate' attribute was set.
- Returns
- true if the '
caCertificate' attribute was set.
◆ has_client_certificate()
| bool google_sqladmin_api::MySqlReplicaConfiguration::has_client_certificate |
( |
| ) |
const |
|
inline |
Determine if the 'clientCertificate' attribute was set.
- Returns
- true if the '
clientCertificate' attribute was set.
◆ has_client_key()
| bool google_sqladmin_api::MySqlReplicaConfiguration::has_client_key |
( |
| ) |
const |
|
inline |
Determine if the 'clientKey' attribute was set.
- Returns
- true if the '
clientKey' attribute was set.
◆ has_connect_retry_interval()
| bool google_sqladmin_api::MySqlReplicaConfiguration::has_connect_retry_interval |
( |
| ) |
const |
|
inline |
Determine if the 'connectRetryInterval' attribute was set.
- Returns
- true if the '
connectRetryInterval' attribute was set.
◆ has_dump_file_path()
| bool google_sqladmin_api::MySqlReplicaConfiguration::has_dump_file_path |
( |
| ) |
const |
|
inline |
Determine if the 'dumpFilePath' attribute was set.
- Returns
- true if the '
dumpFilePath' attribute was set.
◆ has_kind()
| bool google_sqladmin_api::MySqlReplicaConfiguration::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_master_heartbeat_period()
| bool google_sqladmin_api::MySqlReplicaConfiguration::has_master_heartbeat_period |
( |
| ) |
const |
|
inline |
Determine if the 'masterHeartbeatPeriod' attribute was set.
- Returns
- true if the '
masterHeartbeatPeriod' attribute was set.
◆ has_password()
| bool google_sqladmin_api::MySqlReplicaConfiguration::has_password |
( |
| ) |
const |
|
inline |
Determine if the 'password' attribute was set.
- Returns
- true if the '
password' attribute was set.
◆ has_ssl_cipher()
| bool google_sqladmin_api::MySqlReplicaConfiguration::has_ssl_cipher |
( |
| ) |
const |
|
inline |
Determine if the 'sslCipher' attribute was set.
- Returns
- true if the '
sslCipher' attribute was set.
◆ has_username()
| bool google_sqladmin_api::MySqlReplicaConfiguration::has_username |
( |
| ) |
const |
|
inline |
Determine if the 'username' attribute was set.
- Returns
- true if the '
username' attribute was set.
◆ has_verify_server_certificate()
| bool google_sqladmin_api::MySqlReplicaConfiguration::has_verify_server_certificate |
( |
| ) |
const |
|
inline |
Determine if the 'verifyServerCertificate' attribute was set.
- Returns
- true if the '
verifyServerCertificate' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_ca_certificate()
| void google_sqladmin_api::MySqlReplicaConfiguration::set_ca_certificate |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'caCertificate' attribute.
PEM representation of the trusted CA's x509 certificate.
- Parameters
-
◆ set_client_certificate()
| void google_sqladmin_api::MySqlReplicaConfiguration::set_client_certificate |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'clientCertificate' attribute.
PEM representation of the slave's x509 certificate.
- Parameters
-
◆ set_client_key()
| void google_sqladmin_api::MySqlReplicaConfiguration::set_client_key |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'clientKey' attribute.
PEM representation of the slave's private key. The corresponsing public key is encoded in the client's certificate.
- Parameters
-
◆ set_connect_retry_interval()
| void google_sqladmin_api::MySqlReplicaConfiguration::set_connect_retry_interval |
( |
int32 |
value | ) |
|
|
inline |
Change the 'connectRetryInterval' attribute.
Seconds to wait between connect retries. MySQL's default is 60 seconds.
- Parameters
-
◆ set_dump_file_path()
| void google_sqladmin_api::MySqlReplicaConfiguration::set_dump_file_path |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'dumpFilePath' attribute.
Path to a SQL dump file in Google Cloud Storage from which the slave instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps should have the binlog co-ordinates from which replication should begin. This can be accomplished by setting –master-data to 1 when using mysqldump.
- Parameters
-
◆ set_kind()
| void google_sqladmin_api::MySqlReplicaConfiguration::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
This is always sql::mysqlReplicaConfiguration.
- Parameters
-
◆ set_master_heartbeat_period()
| void google_sqladmin_api::MySqlReplicaConfiguration::set_master_heartbeat_period |
( |
int64 |
value | ) |
|
|
inline |
Change the 'masterHeartbeatPeriod' attribute.
Interval in milliseconds between replication heartbeats.
- Parameters
-
◆ set_password()
| void google_sqladmin_api::MySqlReplicaConfiguration::set_password |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'password' attribute.
The password for the replication connection.
- Parameters
-
◆ set_ssl_cipher()
| void google_sqladmin_api::MySqlReplicaConfiguration::set_ssl_cipher |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'sslCipher' attribute.
A list of permissible ciphers to use for SSL encryption.
- Parameters
-
◆ set_username()
| void google_sqladmin_api::MySqlReplicaConfiguration::set_username |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'username' attribute.
The username for the replication connection.
- Parameters
-
◆ set_verify_server_certificate()
| void google_sqladmin_api::MySqlReplicaConfiguration::set_verify_server_certificate |
( |
bool |
value | ) |
|
|
inline |
Change the 'verifyServerCertificate' attribute.
Whether or not to check the master's Common Name value in the certificate that it sends during the SSL handshake.
- Parameters
-
The documentation for this class was generated from the following files: