Google Cloud AlloyDB for PostgreSQL V1 Client - Class SslConfig (0.2.1)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class SslConfig.

SSL configuration for an AlloyDB Cluster.

Generated from protobuf message google.cloud.alloydb.v1.SslConfig

Namespace

Google \ Cloud \ AlloyDb \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ ssl_mode int

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

↳ ca_source int

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.

getSslMode

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

Returns
TypeDescription
int

setSslMode

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCaSource

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.

Returns
TypeDescription
int

setCaSource

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.

Parameter
NameDescription
var int
Returns
TypeDescription
$this