Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::PscConfig (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::PscConfig.

PSC settings for a Cloud SQL instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowed_consumer_projects

def allowed_consumer_projects() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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).

#allowed_consumer_projects=

def allowed_consumer_projects=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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).

Returns
  • (::Array<::String>) — 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).

#network_attachment_uri

def network_attachment_uri() -> ::String
Returns
  • (::String) — 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

#network_attachment_uri=

def network_attachment_uri=(value) -> ::String
Parameter
  • value (::String) — 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
Returns
  • (::String) — 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_connections

def psc_auto_connections() -> ::Array<::Google::Cloud::Sql::V1::PscAutoConnectionConfig>
Returns

#psc_auto_connections=

def psc_auto_connections=(value) -> ::Array<::Google::Cloud::Sql::V1::PscAutoConnectionConfig>
Parameter
Returns

#psc_auto_dns_enabled

def psc_auto_dns_enabled() -> ::Boolean
Returns
  • (::Boolean) — Optional. Indicates whether PSC DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal DNS record across all networks configured with Private Service Connect (PSC) auto-connections. This will default to true for new instances when Private Service Connect is enabled.

#psc_auto_dns_enabled=

def psc_auto_dns_enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Indicates whether PSC DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal DNS record across all networks configured with Private Service Connect (PSC) auto-connections. This will default to true for new instances when Private Service Connect is enabled.
Returns
  • (::Boolean) — Optional. Indicates whether PSC DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal DNS record across all networks configured with Private Service Connect (PSC) auto-connections. This will default to true for new instances when Private Service Connect is enabled.

#psc_enabled

def psc_enabled() -> ::Boolean
Returns
  • (::Boolean) — Whether PSC connectivity is enabled for this instance.

#psc_enabled=

def psc_enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether PSC connectivity is enabled for this instance.
Returns
  • (::Boolean) — Whether PSC connectivity is enabled for this instance.

#psc_write_endpoint_dns_enabled

def psc_write_endpoint_dns_enabled() -> ::Boolean
Returns
  • (::Boolean) — Optional. Indicates whether PSC 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 (PSC) auto-connections that always 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.

#psc_write_endpoint_dns_enabled=

def psc_write_endpoint_dns_enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Indicates whether PSC 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 (PSC) auto-connections that always 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.
Returns
  • (::Boolean) — Optional. Indicates whether PSC 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 (PSC) auto-connections that always 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.