Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::DemoteMasterConfiguration.
Read-replica configuration for connecting to the on-premises primary instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#kind
def kind() -> ::String
Returns
-
(::String) — This is always
sql#demoteMasterConfiguration.
#kind=
def kind=(value) -> ::String
Parameter
-
value (::String) — This is always
sql#demoteMasterConfiguration.
Returns
-
(::String) — This is always
sql#demoteMasterConfiguration.
#mysql_replica_configuration
def mysql_replica_configuration() -> ::Google::Cloud::Sql::V1::DemoteMasterMySqlReplicaConfiguration
Returns
-
(::Google::Cloud::Sql::V1::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.infoin the data directory.
#mysql_replica_configuration=
def mysql_replica_configuration=(value) -> ::Google::Cloud::Sql::V1::DemoteMasterMySqlReplicaConfiguration
Parameter
-
value (::Google::Cloud::Sql::V1::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.infoin the data directory.
Returns
-
(::Google::Cloud::Sql::V1::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.infoin the data directory.