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 \ InstanceMethods
__construct
Constructor.
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
getServiceAttachmentLink
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>
string
setServiceAttachmentLink
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>
var
string
$this
getAllowedConsumerProjects
Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
setAllowedConsumerProjects
Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
var
string[]
$this
getPscDnsName
Output only. The DNS name of the instance for PSC connectivity.
Name convention:
string
setPscDnsName
Output only. The DNS name of the instance for PSC connectivity.
Name convention:
var
string
$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.
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.
$this
getPscAutoConnections
Optional. Configurations for setting up PSC service automation.
setPscAutoConnections
Optional. Configurations for setting up PSC service automation.
$this