Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::DemoteMasterMySqlReplicaConfiguration.
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. The format of the replica's private key can be either PKCS #1 or PKCS #8.
#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. The format of the replica's private key can be either PKCS #1 or PKCS #8.
Returns
- (::String) — PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate. The format of the replica's private key can be either PKCS #1 or PKCS #8.
#kind
def kind() -> ::String
Returns
-
(::String) — This is always
sql#demoteMasterMysqlReplicaConfiguration.
#kind=
def kind=(value) -> ::String
Parameter
-
value (::String) — This is always
sql#demoteMasterMysqlReplicaConfiguration.
Returns
-
(::String) — This is always
sql#demoteMasterMysqlReplicaConfiguration.
#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.
#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.