class Google::Apis::SqladminV1beta4::DemoteMasterMySqlReplicaConfiguration
Read-replica configuration specific to MySQL databases.
Attributes
PEM representation of the trusted CA's x509 certificate. Corresponds to the JSON property `caCertificate` @return [String]
PEM representation of the replica's x509 certificate. Corresponds to the JSON property `clientCertificate` @return [String]
PEM representation of the replica's private key. The corresponsing 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. Corresponds to the JSON property `clientKey` @return [String]
This is always `sql#demoteMasterMysqlReplicaConfiguration`. Corresponds to the JSON property `kind` @return [String]
The password for the replication connection. Corresponds to the JSON property `password` @return [String]
The username for the replication connection. Corresponds to the JSON property `username` @return [String]
Public Class Methods
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 1049 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 1054 def update!(**args) @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate) @client_certificate = args[:client_certificate] if args.key?(:client_certificate) @client_key = args[:client_key] if args.key?(:client_key) @kind = args[:kind] if args.key?(:kind) @password = args[:password] if args.key?(:password) @username = args[:username] if args.key?(:username) end