Class PscConfig (0.1.1)

PscConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
psc_enabled bool
Whether PSC connectivity is enabled for this instance. This field is a member of oneof_ _psc_enabled.
allowed_consumer_projects MutableSequence[str]
Optional. The list of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
psc_auto_connections MutableSequence[google.cloud.sqladmin_v1.types.PscAutoConnectionConfig]
Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
network_attachment_uri str
Optional. The network attachment of the consumer network that the Private Service Connect enabled Cloud SQL instance is authorized to connect via PSC interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID
psc_auto_dns_enabled bool
Optional. Indicates whether Private Service Connect DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal DNS record across all networks configured with Private Service Connect auto-connections. This will default to true for new instances when Private Service Connect is enabled. This field is a member of oneof_ _psc_auto_dns_enabled.
psc_write_endpoint_dns_enabled bool
Optional. Indicates whether Private Service Connect write endpoint DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal global DNS record across all networks configured with Private Service Connect auto-connections that points to the cluster primary instance. This feature is only supported for Enterprise Plus edition. This will default to true for new Enterprise Plus instances when psc_auto_dns_enabled is enabled. This field is a member of oneof_ _psc_write_endpoint_dns_enabled.
psc_auto_connection_policy_enabled bool
Optional. Whether to set up the PSC service connection policy automatically. This field is a member of oneof_ _psc_auto_connection_policy_enabled.