Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::SslConfig.
SSL configuration information.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ca_certificate
def ca_certificate() -> ::String
Returns
- (::String) — 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.
#ca_certificate=
def ca_certificate=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#client_certificate
def client_certificate() -> ::String
Returns
- (::String) — 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.
#client_certificate=
def client_certificate=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#client_key
def client_key() -> ::String
Returns
- (::String) — 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.
#client_key=
def client_key=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#type
def type() -> ::Google::Cloud::CloudDMS::V1::SslConfig::SslType
Returns
- (::Google::Cloud::CloudDMS::V1::SslConfig::SslType) — Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.