Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 Client class DemoteMasterConfiguration.
Read-replica configuration for connecting to the on-premises primary instance.
Generated from protobuf message google.cloud.sql.v1beta4.DemoteMasterConfiguration
Namespace
Google \ Cloud \ Sql \ V1beta4Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ kind
string
This is always sql#demoteMasterConfiguration
.
↳ mysql_replica_configuration
Google\Cloud\Sql\V1beta4\DemoteMasterMySqlReplicaConfiguration
MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named master.info
in the data directory.
getKind
This is always sql#demoteMasterConfiguration
.
string
setKind
This is always sql#demoteMasterConfiguration
.
var
string
$this
getMysqlReplicaConfiguration
MySQL specific configuration when replicating from a MySQL on-premises
primary instance. Replication configuration information such as the
username, password, certificates, and keys are not stored in the instance
metadata. The configuration information is used only to set up the
replication connection and is stored by MySQL in a file named master.info
in the data directory.
hasMysqlReplicaConfiguration
clearMysqlReplicaConfiguration
setMysqlReplicaConfiguration
MySQL specific configuration when replicating from a MySQL on-premises
primary instance. Replication configuration information such as the
username, password, certificates, and keys are not stored in the instance
metadata. The configuration information is used only to set up the
replication connection and is stored by MySQL in a file named master.info
in the data directory.
$this