Reference documentation and code samples for the Google Cloud Dms V1 Client class SslConfig.
SSL configuration information.
Generated from protobuf messagegoogle.cloud.clouddms.v1.SslConfig
Namespace
Google \ Cloud \ CloudDms \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
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'.
Returns
Type
Description
int
setType
Output only. The ssl config type according to 'client_key',
'client_certificate' and 'ca_certificate'.
Parameter
Name
Description
var
int
Returns
Type
Description
$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.
Returns
Type
Description
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.
Parameter
Name
Description
var
string
Returns
Type
Description
$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.
Returns
Type
Description
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.
Parameter
Name
Description
var
string
Returns
Type
Description
$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.
Returns
Type
Description
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dms V1 Client - Class SslConfig (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-dms/latest/V1.SslConfig)\n- [2.0.5](/php/docs/reference/cloud-dms/2.0.5/V1.SslConfig)\n- [1.5.5](/php/docs/reference/cloud-dms/1.5.5/V1.SslConfig)\n- [1.4.2](/php/docs/reference/cloud-dms/1.4.2/V1.SslConfig)\n- [1.3.0](/php/docs/reference/cloud-dms/1.3.0/V1.SslConfig)\n- [1.2.1](/php/docs/reference/cloud-dms/1.2.1/V1.SslConfig)\n- [1.1.0](/php/docs/reference/cloud-dms/1.1.0/V1.SslConfig)\n- [1.0.5](/php/docs/reference/cloud-dms/1.0.5/V1.SslConfig) \nReference documentation and code samples for the Google Cloud Dms V1 Client class SslConfig.\n\nSSL configuration information.\n\nGenerated from protobuf message `google.cloud.clouddms.v1.SslConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudDms \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getType\n\nOutput only. The ssl config type according to 'client_key',\n'client_certificate' and 'ca_certificate'.\n\n### setType\n\nOutput only. The ssl config type according to 'client_key',\n'client_certificate' and 'ca_certificate'.\n\n### getClientKey\n\nInput only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key\nassociated with the Client Certificate. If this field is used then the\n'client_certificate' field is mandatory.\n\n### setClientKey\n\nInput only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key\nassociated with the Client Certificate. If this field is used then the\n'client_certificate' field is mandatory.\n\n### getClientCertificate\n\nInput only. The x509 PEM-encoded certificate that will be used by the\nreplica to authenticate against the source database server.If this field is\nused then the 'client_key' field is mandatory.\n\n### setClientCertificate\n\nInput only. The x509 PEM-encoded certificate that will be used by the\nreplica to authenticate against the source database server.If this field is\nused then the 'client_key' field is mandatory.\n\n### getCaCertificate\n\nRequired. Input only. The x509 PEM-encoded certificate of the CA that\nsigned the source database server's certificate. The replica will use this\ncertificate to verify it's connecting to the right host.\n\n### setCaCertificate\n\nRequired. Input only. The x509 PEM-encoded certificate of the CA that\nsigned the source database server's certificate. The replica will use this\ncertificate to verify it's connecting to the right host."]]