Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1beta Client class PscInstanceConfig.
PscInstanceConfig contains PSC related configuration at an instance level.
Generated from protobuf message google.cloud.alloydb.v1beta.Instance.PscInstanceConfig
Namespace
Google \ Cloud \ AlloyDb \ V1beta \ 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.
↳ allowed_consumer_networks
array
Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
↳ psc_interface_configs
array< Google\Cloud\AlloyDb\V1beta\Instance\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. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.
↳ outgoing_service_attachment_links
array
Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.
↳ psc_enabled
bool
Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.
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
getAllowedConsumerNetworks
Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
setAllowedConsumerNetworks
Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
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. All the VMs created for the primary instance will share the same configurations. 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. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.
$this
getOutgoingServiceAttachmentLinks
Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.
setOutgoingServiceAttachmentLinks
Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.
var
string[]
$this
getPscEnabled
Optional. Whether PSC connectivity is enabled for this instance.
This is populated by referencing the value from the parent cluster.
bool
setPscEnabled
Optional. Whether PSC connectivity is enabled for this instance.
This is populated by referencing the value from the parent cluster.
var
bool
$this