Reference documentation and code samples for the Google Cloud Datastream V1 Client class MysqlSslConfig.
MySQL SSL configuration information.
Generated from protobuf messagegoogle.cloud.datastream.v1.MysqlSslConfig
Namespace
Google \ Cloud \ Datastream \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ client_key
string
Optional. 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.
↳ client_key_set
bool
Output only. Indicates whether the client_key field is set.
↳ client_certificate
string
Optional. 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.
↳ client_certificate_set
bool
Output only. Indicates whether the client_certificate field is set.
↳ ca_certificate
string
Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
↳ ca_certificate_set
bool
Output only. Indicates whether the ca_certificate field is set.
getClientKey
Optional. 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.
Returns
Type
Description
string
setClientKey
Optional. 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.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getClientKeySet
Output only. Indicates whether the client_key field is set.
Returns
Type
Description
bool
setClientKeySet
Output only. Indicates whether the client_key field is set.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getClientCertificate
Optional. 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.
Returns
Type
Description
string
setClientCertificate
Optional. 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.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getClientCertificateSet
Output only. Indicates whether the client_certificate field is set.
Returns
Type
Description
bool
setClientCertificateSet
Output only. Indicates whether the client_certificate field is set.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getCaCertificate
Input only. PEM-encoded certificate of the CA that signed the source
database server's certificate.
Returns
Type
Description
string
setCaCertificate
Input only. PEM-encoded certificate of the CA that signed the source
database server's certificate.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCaCertificateSet
Output only. Indicates whether the ca_certificate field is set.
Returns
Type
Description
bool
setCaCertificateSet
Output only. Indicates whether the ca_certificate field is set.
[[["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 Datastream V1 Client - Class MysqlSslConfig (2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/php/docs/reference/cloud-datastream/latest/V1.MysqlSslConfig)\n- [2.3.1](/php/docs/reference/cloud-datastream/2.3.1/V1.MysqlSslConfig)\n- [2.2.0](/php/docs/reference/cloud-datastream/2.2.0/V1.MysqlSslConfig)\n- [2.1.1](/php/docs/reference/cloud-datastream/2.1.1/V1.MysqlSslConfig)\n- [2.0.1](/php/docs/reference/cloud-datastream/2.0.1/V1.MysqlSslConfig)\n- [1.5.5](/php/docs/reference/cloud-datastream/1.5.5/V1.MysqlSslConfig)\n- [1.4.2](/php/docs/reference/cloud-datastream/1.4.2/V1.MysqlSslConfig)\n- [1.3.0](/php/docs/reference/cloud-datastream/1.3.0/V1.MysqlSslConfig)\n- [1.2.1](/php/docs/reference/cloud-datastream/1.2.1/V1.MysqlSslConfig)\n- [1.1.0](/php/docs/reference/cloud-datastream/1.1.0/V1.MysqlSslConfig)\n- [1.0.5](/php/docs/reference/cloud-datastream/1.0.5/V1.MysqlSslConfig) \nReference documentation and code samples for the Google Cloud Datastream V1 Client class MysqlSslConfig.\n\nMySQL SSL configuration information.\n\nGenerated from protobuf message `google.cloud.datastream.v1.MysqlSslConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Datastream \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getClientKey\n\nOptional. Input only. PEM-encoded private key associated with the Client\nCertificate. If this field is used then the 'client_certificate' and the\n'ca_certificate' fields are mandatory.\n\n### setClientKey\n\nOptional. Input only. PEM-encoded private key associated with the Client\nCertificate. If this field is used then the 'client_certificate' and the\n'ca_certificate' fields are mandatory.\n\n### getClientKeySet\n\nOutput only. Indicates whether the client_key field is set.\n\n### setClientKeySet\n\nOutput only. Indicates whether the client_key field is set.\n\n### getClientCertificate\n\nOptional. Input only. PEM-encoded certificate that will be used by the\nreplica to authenticate against the source database server. If this field\nis used then the 'client_key' and the 'ca_certificate' fields are\nmandatory.\n\n### setClientCertificate\n\nOptional. Input only. PEM-encoded certificate that will be used by the\nreplica to authenticate against the source database server. If this field\nis used then the 'client_key' and the 'ca_certificate' fields are\nmandatory.\n\n### getClientCertificateSet\n\nOutput only. Indicates whether the client_certificate field is set.\n\n### setClientCertificateSet\n\nOutput only. Indicates whether the client_certificate field is set.\n\n### getCaCertificate\n\nInput only. PEM-encoded certificate of the CA that signed the source\ndatabase server's certificate.\n\n### setCaCertificate\n\nInput only. PEM-encoded certificate of the CA that signed the source\ndatabase server's certificate.\n\n### getCaCertificateSet\n\nOutput only. Indicates whether the ca_certificate field is set.\n\n### setCaCertificateSet\n\nOutput only. Indicates whether the ca_certificate field is set."]]