Google Cloud Datastream V1 Client - Class SqlServerSslConfig (2.7.0)

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

SQL Server SSL configuration information.

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

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ encryption_not_enforced SqlServerSslConfig\EncryptionNotEnforced

If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated.

↳ basic_encryption SqlServerSslConfig\BasicEncryption

If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.

↳ encryption_and_server_validation SqlServerSslConfig\EncryptionAndServerValidation

If set, Datastream will enforce encryption and authenticate server identity.

getEncryptionNotEnforced

If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated.

Returns
Type Description
SqlServerSslConfig\EncryptionNotEnforced|null

hasEncryptionNotEnforced

setEncryptionNotEnforced

If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated.

Parameter
Name Description
var SqlServerSslConfig\EncryptionNotEnforced
Returns
Type Description
$this

getBasicEncryption

If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.

Returns
Type Description
SqlServerSslConfig\BasicEncryption|null

hasBasicEncryption

setBasicEncryption

If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.

Parameter
Name Description
var SqlServerSslConfig\BasicEncryption
Returns
Type Description
$this

getEncryptionAndServerValidation

If set, Datastream will enforce encryption and authenticate server identity.

Returns
Type Description
SqlServerSslConfig\EncryptionAndServerValidation|null

hasEncryptionAndServerValidation

setEncryptionAndServerValidation

If set, Datastream will enforce encryption and authenticate server identity.

Parameter
Name Description
var SqlServerSslConfig\EncryptionAndServerValidation
Returns
Type Description
$this

getEncryptionSetting

Returns
Type Description
string