class Google::Apis::DatamigrationV1beta1::SslConfig

SSL configuration information.

Attributes

ca_certificate[RW]

Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host. Corresponds to the JSON property `caCertificate` @return [String]

client_certificate[RW]

Input only. The x509 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' field is mandatory. Corresponds to the JSON property `clientCertificate` @return [String]

client_key[RW]

Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the ' client_certificate' field is mandatory. Corresponds to the JSON property `clientKey` @return [String]

type[RW]

Output only. The ssl config type according to 'client_key', ' client_certificate' and 'ca_certificate'. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datamigration_v1beta1/classes.rb, line 1454
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)
  @type = args[:type] if args.key?(:type)
end