Google Cloud AlloyDB for PostgreSQL V1 Client - Class PscConfig (1.3.0)

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

PscConfig contains PSC related configuration at a cluster level.

Generated from protobuf message google.cloud.alloydb.v1.Cluster.PscConfig

Namespace

Google \ Cloud \ AlloyDb \ V1 \ Cluster

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ psc_enabled bool

Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.

↳ service_owned_project_number int|string

Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.

getPscEnabled

Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.

Returns
Type Description
bool

setPscEnabled

Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.

Parameter
Name Description
var bool
Returns
Type Description
$this

getServiceOwnedProjectNumber

Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.

Returns
Type Description
int|string

setServiceOwnedProjectNumber

Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.

Parameter
Name Description
var int|string
Returns
Type Description
$this