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>-
(::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>-
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).
-
(::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- (::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- 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
- (::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_connection_policy_enabled
def psc_auto_connection_policy_enabled() -> ::Boolean- (::Boolean) — Optional. Whether to set up the PSC service connection policy automatically.
#psc_auto_connection_policy_enabled=
def psc_auto_connection_policy_enabled=(value) -> ::Boolean- value (::Boolean) — Optional. Whether to set up the PSC service connection policy automatically.
- (::Boolean) — Optional. Whether to set up the PSC service connection policy automatically.
#psc_auto_connections
def psc_auto_connections() -> ::Array<::Google::Cloud::Sql::V1::PscAutoConnectionConfig>- (::Array<::Google::Cloud::Sql::V1::PscAutoConnectionConfig>) — Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
#psc_auto_connections=
def psc_auto_connections=(value) -> ::Array<::Google::Cloud::Sql::V1::PscAutoConnectionConfig>- value (::Array<::Google::Cloud::Sql::V1::PscAutoConnectionConfig>) — Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
- (::Array<::Google::Cloud::Sql::V1::PscAutoConnectionConfig>) — Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
#psc_auto_dns_enabled
def psc_auto_dns_enabled() -> ::Boolean- (::Boolean) — 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.
#psc_auto_dns_enabled=
def psc_auto_dns_enabled=(value) -> ::Boolean- value (::Boolean) — 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.
- (::Boolean) — 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.
#psc_enabled
def psc_enabled() -> ::Boolean- (::Boolean) — Whether PSC connectivity is enabled for this instance.
#psc_enabled=
def psc_enabled=(value) -> ::Boolean- value (::Boolean) — Whether PSC connectivity is enabled for this instance.
- (::Boolean) — Whether PSC connectivity is enabled for this instance.
#psc_write_endpoint_dns_enabled
def psc_write_endpoint_dns_enabled() -> ::Boolean-
(::Boolean) — 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_enabledis enabled.
#psc_write_endpoint_dns_enabled=
def psc_write_endpoint_dns_enabled=(value) -> ::Boolean-
value (::Boolean) — 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_enabledis enabled.
-
(::Boolean) — 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_enabledis enabled.