Google Cloud Datastream V1 Client - Class MysqlSslConfig (1.1.0)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class MysqlSslConfig.

MySQL SSL configuration information.

Generated from protobuf message google.cloud.datastream.v1.MysqlSslConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ client_key string

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

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

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
TypeDescription
string

setClientKey

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
NameDescription
var string
Returns
TypeDescription
$this

getClientKeySet

Output only. Indicates whether the client_key field is set.

Returns
TypeDescription
bool

setClientKeySet

Output only. Indicates whether the client_key field is set.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getClientCertificate

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
TypeDescription
string

setClientCertificate

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
NameDescription
var string
Returns
TypeDescription
$this

getClientCertificateSet

Output only. Indicates whether the client_certificate field is set.

Returns
TypeDescription
bool

setClientCertificateSet

Output only. Indicates whether the client_certificate field is set.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getCaCertificate

Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.

Returns
TypeDescription
string

setCaCertificate

Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCaCertificateSet

Output only. Indicates whether the ca_certificate field is set.

Returns
TypeDescription
bool

setCaCertificateSet

Output only. Indicates whether the ca_certificate field is set.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this