public interface PscConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAllowedConsumerProjects(int index)
public abstract String getAllowedConsumerProjects(int index)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).
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The allowedConsumerProjects at the given index. |
getAllowedConsumerProjectsBytes(int index)
public abstract ByteString getAllowedConsumerProjectsBytes(int index)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).
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the allowedConsumerProjects at the given index. |
getAllowedConsumerProjectsCount()
public abstract int getAllowedConsumerProjectsCount()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).
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of allowedConsumerProjects. |
getAllowedConsumerProjectsList()
public abstract List<String> getAllowedConsumerProjectsList()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).
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the allowedConsumerProjects. |
getNetworkAttachmentUri()
public abstract String getNetworkAttachmentUri()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 network_attachment_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The networkAttachmentUri. |
getNetworkAttachmentUriBytes()
public abstract ByteString getNetworkAttachmentUriBytes()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 network_attachment_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for networkAttachmentUri. |
getPscAutoConnectionPolicyEnabled()
public abstract boolean getPscAutoConnectionPolicyEnabled()Optional. Whether to set up the PSC service connection policy automatically.
optional bool psc_auto_connection_policy_enabled = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The pscAutoConnectionPolicyEnabled. |
getPscAutoConnections(int index)
public abstract PscAutoConnectionConfig getPscAutoConnections(int index)Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
repeated .google.cloud.sql.v1beta4.PscAutoConnectionConfig psc_auto_connections = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PscAutoConnectionConfig |
|
getPscAutoConnectionsCount()
public abstract int getPscAutoConnectionsCount()Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
repeated .google.cloud.sql.v1beta4.PscAutoConnectionConfig psc_auto_connections = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getPscAutoConnectionsList()
public abstract List<PscAutoConnectionConfig> getPscAutoConnectionsList()Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
repeated .google.cloud.sql.v1beta4.PscAutoConnectionConfig psc_auto_connections = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<PscAutoConnectionConfig> |
|
getPscAutoConnectionsOrBuilder(int index)
public abstract PscAutoConnectionConfigOrBuilder getPscAutoConnectionsOrBuilder(int index)Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
repeated .google.cloud.sql.v1beta4.PscAutoConnectionConfig psc_auto_connections = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PscAutoConnectionConfigOrBuilder |
|
getPscAutoConnectionsOrBuilderList()
public abstract List<? extends PscAutoConnectionConfigOrBuilder> getPscAutoConnectionsOrBuilderList()Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
repeated .google.cloud.sql.v1beta4.PscAutoConnectionConfig psc_auto_connections = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.sql.v1beta4.PscAutoConnectionConfigOrBuilder> |
|
getPscAutoDnsEnabled()
public abstract boolean getPscAutoDnsEnabled()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.
optional bool psc_auto_dns_enabled = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The pscAutoDnsEnabled. |
getPscEnabled()
public abstract boolean getPscEnabled()Whether PSC connectivity is enabled for this instance.
optional bool psc_enabled = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The pscEnabled. |
getPscWriteEndpointDnsEnabled()
public abstract boolean getPscWriteEndpointDnsEnabled() 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.
optional bool psc_write_endpoint_dns_enabled = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The pscWriteEndpointDnsEnabled. |
hasPscAutoConnectionPolicyEnabled()
public abstract boolean hasPscAutoConnectionPolicyEnabled()Optional. Whether to set up the PSC service connection policy automatically.
optional bool psc_auto_connection_policy_enabled = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pscAutoConnectionPolicyEnabled field is set. |
hasPscAutoDnsEnabled()
public abstract boolean hasPscAutoDnsEnabled()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.
optional bool psc_auto_dns_enabled = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pscAutoDnsEnabled field is set. |
hasPscEnabled()
public abstract boolean hasPscEnabled()Whether PSC connectivity is enabled for this instance.
optional bool psc_enabled = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pscEnabled field is set. |
hasPscWriteEndpointDnsEnabled()
public abstract boolean hasPscWriteEndpointDnsEnabled() 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.
optional bool psc_write_endpoint_dns_enabled = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pscWriteEndpointDnsEnabled field is set. |