Reference documentation and code samples for the Google Cloud Dms V1 Client class SslConfig.
SSL configuration information.
Generated from protobuf message google.cloud.clouddms.v1.SslConfig
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
int
Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.
↳ client_key
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_certificate
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.
↳ ca_certificate
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.
getType
Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.
int
setType
Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.
var
int
$this
getClientKey
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.
string
setClientKey
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.
var
string
$this
getClientCertificate
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.
string
setClientCertificate
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.
var
string
$this
getCaCertificate
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.
string
setCaCertificate
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.
var
string
$this