sqladmin  v1beta4
Public Member Functions | Static Public Member Functions | List of all members
google_sqladmin_api::MySqlReplicaConfiguration Class Reference

#include <my_sql_replica_configuration.h>

Inheritance diagram for google_sqladmin_api::MySqlReplicaConfiguration:

Public Member Functions

 MySqlReplicaConfiguration (const Json::Value &storage)
 
 MySqlReplicaConfiguration (Json::Value *storage)
 
virtual ~MySqlReplicaConfiguration ()
 
const StringPiece GetTypeName () const
 
bool has_ca_certificate () const
 
void clear_ca_certificate ()
 
const StringPiece get_ca_certificate () const
 
void set_ca_certificate (const StringPiece &value)
 
bool has_client_certificate () const
 
void clear_client_certificate ()
 
const StringPiece get_client_certificate () const
 
void set_client_certificate (const StringPiece &value)
 
bool has_client_key () const
 
void clear_client_key ()
 
const StringPiece get_client_key () const
 
void set_client_key (const StringPiece &value)
 
bool has_connect_retry_interval () const
 
void clear_connect_retry_interval ()
 
int32 get_connect_retry_interval () const
 
void set_connect_retry_interval (int32 value)
 
bool has_dump_file_path () const
 
void clear_dump_file_path ()
 
const StringPiece get_dump_file_path () const
 
void set_dump_file_path (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_master_heartbeat_period () const
 
void clear_master_heartbeat_period ()
 
int64 get_master_heartbeat_period () const
 
void set_master_heartbeat_period (int64 value)
 
bool has_password () const
 
void clear_password ()
 
const StringPiece get_password () const
 
void set_password (const StringPiece &value)
 
bool has_ssl_cipher () const
 
void clear_ssl_cipher ()
 
const StringPiece get_ssl_cipher () const
 
void set_ssl_cipher (const StringPiece &value)
 
bool has_username () const
 
void clear_username ()
 
const StringPiece get_username () const
 
void set_username (const StringPiece &value)
 
bool has_verify_server_certificate () const
 
void clear_verify_server_certificate ()
 
bool get_verify_server_certificate () const
 
void set_verify_server_certificate (bool value)
 

Static Public Member Functions

static MySqlReplicaConfigurationNew ()
 

Detailed Description

Read-replica configuration specific to MySQL databases.

Constructor & Destructor Documentation

◆ MySqlReplicaConfiguration() [1/2]

google_sqladmin_api::MySqlReplicaConfiguration::MySqlReplicaConfiguration ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~MySqlReplicaConfiguration()

google_sqladmin_api::MySqlReplicaConfiguration::~MySqlReplicaConfiguration ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::MySqlReplicaConfiguration

◆ 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()

MySqlReplicaConfiguration * google_sqladmin_api::MySqlReplicaConfiguration::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ set_kind()

void google_sqladmin_api::MySqlReplicaConfiguration::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

This is always sql::mysqlReplicaConfiguration.

Parameters
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ set_password()

void google_sqladmin_api::MySqlReplicaConfiguration::set_password ( const StringPiece &  value)
inline

Change the 'password' attribute.

The password for the replication connection.

Parameters
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ set_username()

void google_sqladmin_api::MySqlReplicaConfiguration::set_username ( const StringPiece &  value)
inline

Change the 'username' attribute.

The username for the replication connection.

Parameters
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: