Google Cloud AlloyDB for PostgreSQL V1 Client - Class PscInstanceConfig (1.4.1)

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

PscInstanceConfig contains PSC related configuration at an instance level.

Generated from protobuf message google.cloud.alloydb.v1.Instance.PscInstanceConfig

Namespace

Google \ Cloud \ AlloyDb \ V1 \ Instance

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ service_attachment_link
string

Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>

↳ allowed_consumer_projects
array

Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.

↳ psc_dns_name
string

Output only. The DNS name of the instance for PSC connectivity. Name convention:

↳ psc_interface_configs
array< PscInterfaceConfig >

Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.

↳ psc_auto_connections
array< PscAutoConnectionConfig >

Optional. Configurations for setting up PSC service automation.

Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance.

The name of the resource will be in the format of projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>

Returns
Type
Description
string

Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance.

The name of the resource will be in the format of projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowedConsumerProjects

Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.

Returns
Type
Description

setAllowedConsumerProjects

Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getPscDnsName

Output only. The DNS name of the instance for PSC connectivity.

Name convention:

Returns
Type
Description
string

setPscDnsName

Output only. The DNS name of the instance for PSC connectivity.

Name convention:

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPscInterfaceConfigs

Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.

Returns
Type
Description

setPscInterfaceConfigs

Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.

Parameter
Name
Description
var
Returns
Type
Description
$this

getPscAutoConnections

Optional. Configurations for setting up PSC service automation.

Returns
Type
Description

setPscAutoConnections

Optional. Configurations for setting up PSC service automation.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: