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

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:

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
Google\Protobuf\Internal\RepeatedField

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