class Google::Apis::DatastreamV1alpha1::MysqlSslConfig

MySQL SSL configuration information.

Attributes

ca_certificate[RW]

Input only. PEM-encoded certificate of the CA that signed the source database server’s certificate. Corresponds to the JSON property ‘caCertificate` @return [String]

ca_certificate_set[RW]

Output only. Indicates whether the ca_certificate field is set. Corresponds to the JSON property ‘caCertificateSet` @return [Boolean]

ca_certificate_set?[RW]

Output only. Indicates whether the ca_certificate field is set. Corresponds to the JSON property ‘caCertificateSet` @return [Boolean]

client_certificate[RW]

Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the ‘client_key’ and the ‘ca_certificate’ fields are mandatory. Corresponds to the JSON property ‘clientCertificate` @return [String]

client_certificate_set[RW]

Output only. Indicates whether the client_certificate field is set. Corresponds to the JSON property ‘clientCertificateSet` @return [Boolean]

client_certificate_set?[RW]

Output only. Indicates whether the client_certificate field is set. Corresponds to the JSON property ‘clientCertificateSet` @return [Boolean]

client_key[RW]

Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the ‘client_certificate’ and the ‘ca_certificate’ fields are mandatory. Corresponds to the JSON property ‘clientKey` @return [String]

client_key_set[RW]

Output only. Indicates whether the client_key field is set. Corresponds to the JSON property ‘clientKeySet` @return [Boolean]

client_key_set?[RW]

Output only. Indicates whether the client_key field is set. Corresponds to the JSON property ‘clientKeySet` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastream_v1alpha1/classes.rb, line 1082
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datastream_v1alpha1/classes.rb, line 1087
def update!(**args)
  @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
  @ca_certificate_set = args[:ca_certificate_set] if args.key?(:ca_certificate_set)
  @client_certificate = args[:client_certificate] if args.key?(:client_certificate)
  @client_certificate_set = args[:client_certificate_set] if args.key?(:client_certificate_set)
  @client_key = args[:client_key] if args.key?(:client_key)
  @client_key_set = args[:client_key_set] if args.key?(:client_key_set)
end