diff --git a/clients/google-api-services-sqladmin/v1/2.0.0/README.md b/clients/google-api-services-sqladmin/v1/2.0.0/README.md
index 4a62b9d4015..85663e2f9f7 100644
--- a/clients/google-api-services-sqladmin/v1/2.0.0/README.md
+++ b/clients/google-api-services-sqladmin/v1/2.0.0/README.md
@@ -1,6 +1,6 @@
# Cloud SQL Admin API Client Library for Java
-API for Cloud SQL database instance management
+Cloud SQL Admin API
This page contains information about getting started with the Cloud SQL Admin API
using the Google API Client Library for Java. In addition, you may be interested
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-sqladmin
- v1-rev20260510-2.0.0
+ v1-rev20260529-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20260510-2.0.0'
+ implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20260529-2.0.0'
}
```
diff --git a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java
index 1c0422ee542..9da8dc795e4 100644
--- a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java
+++ b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java
@@ -20,7 +20,7 @@
* Service definition for SQLAdmin (v1).
*
*
- * API for Cloud SQL database instance management
+ * Cloud SQL Admin API
*
*
*
@@ -1934,6 +1934,151 @@ public Get set(String parameterName, Object value) {
return (Get) super.set(parameterName, value);
}
}
+ /**
+ * Retrieves connect settings about a Cloud SQL instance using the instance DNS name.
+ *
+ * Create a request for the method "connect.resolve".
+ *
+ * This request holds the parameters needed by the sqladmin server. After setting any optional
+ * parameters, call the {@link Resolve#execute()} method to invoke the remote operation.
+ *
+ * @param dnsName Required. Cloud SQL instance ID. This does not include the project ID.
+ * @param location Required. The region of the instance.
+ * @return the request
+ */
+ public Resolve resolve(java.lang.String dnsName, java.lang.String location) throws java.io.IOException {
+ Resolve result = new Resolve(dnsName, location);
+ initialize(result);
+ return result;
+ }
+
+ public class Resolve extends SQLAdminRequest {
+
+ private static final String REST_PATH = "v1/dns/{dnsName}/locations/{location}:resolveConnectSettings";
+
+ /**
+ * Retrieves connect settings about a Cloud SQL instance using the instance DNS name.
+ *
+ * Create a request for the method "connect.resolve".
+ *
+ * This request holds the parameters needed by the the sqladmin server. After setting any
+ * optional parameters, call the {@link Resolve#execute()} method to invoke the remote operation.
+ * {@link
+ * Resolve#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param dnsName Required. Cloud SQL instance ID. This does not include the project ID.
+ * @param location Required. The region of the instance.
+ * @since 1.13
+ */
+ protected Resolve(java.lang.String dnsName, java.lang.String location) {
+ super(SQLAdmin.this, "GET", REST_PATH, null, com.google.api.services.sqladmin.model.ConnectSettings.class);
+ this.dnsName = com.google.api.client.util.Preconditions.checkNotNull(dnsName, "Required parameter dnsName must be specified.");
+ this.location = com.google.api.client.util.Preconditions.checkNotNull(location, "Required parameter location must be specified.");
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public Resolve set$Xgafv(java.lang.String $Xgafv) {
+ return (Resolve) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Resolve setAccessToken(java.lang.String accessToken) {
+ return (Resolve) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Resolve setAlt(java.lang.String alt) {
+ return (Resolve) super.setAlt(alt);
+ }
+
+ @Override
+ public Resolve setCallback(java.lang.String callback) {
+ return (Resolve) super.setCallback(callback);
+ }
+
+ @Override
+ public Resolve setFields(java.lang.String fields) {
+ return (Resolve) super.setFields(fields);
+ }
+
+ @Override
+ public Resolve setKey(java.lang.String key) {
+ return (Resolve) super.setKey(key);
+ }
+
+ @Override
+ public Resolve setOauthToken(java.lang.String oauthToken) {
+ return (Resolve) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Resolve setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Resolve) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Resolve setQuotaUser(java.lang.String quotaUser) {
+ return (Resolve) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Resolve setUploadType(java.lang.String uploadType) {
+ return (Resolve) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Resolve setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Resolve) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /** Required. Cloud SQL instance ID. This does not include the project ID. */
+ @com.google.api.client.util.Key
+ private java.lang.String dnsName;
+
+ /** Required. Cloud SQL instance ID. This does not include the project ID.
+ */
+ public java.lang.String getDnsName() {
+ return dnsName;
+ }
+
+ /** Required. Cloud SQL instance ID. This does not include the project ID. */
+ public Resolve setDnsName(java.lang.String dnsName) {
+ this.dnsName = dnsName;
+ return this;
+ }
+
+ /** Required. The region of the instance. */
+ @com.google.api.client.util.Key
+ private java.lang.String location;
+
+ /** Required. The region of the instance.
+ */
+ public java.lang.String getLocation() {
+ return location;
+ }
+
+ /** Required. The region of the instance. */
+ public Resolve setLocation(java.lang.String location) {
+ this.location = location;
+ return this;
+ }
+
+ @Override
+ public Resolve set(String parameterName, Object value) {
+ return (Resolve) super.set(parameterName, value);
+ }
+ }
}
diff --git a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/CloneContext.java b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/CloneContext.java
index 695a5863e2c..6cdd09f5e7e 100644
--- a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/CloneContext.java
+++ b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/CloneContext.java
@@ -66,7 +66,7 @@ public final class CloneContext extends com.google.api.client.json.GenericJson {
/**
* Optional. The fully qualified URI of the VPC network to which the cloned instance will be
- * connected via Private Services Access for private IP. For example:`projects/my-network-
+ * connected via private services access for private IP. For example:`projects/my-network-
* project/global/networks/my-network`. This field is only required for cross-project cloning.
* The value may be {@code null}.
*/
@@ -213,7 +213,7 @@ public CloneContext setDestinationInstanceName(java.lang.String destinationInsta
/**
* Optional. The fully qualified URI of the VPC network to which the cloned instance will be
- * connected via Private Services Access for private IP. For example:`projects/my-network-
+ * connected via private services access for private IP. For example:`projects/my-network-
* project/global/networks/my-network`. This field is only required for cross-project cloning.
* @return value or {@code null} for none
*/
@@ -223,7 +223,7 @@ public java.lang.String getDestinationNetwork() {
/**
* Optional. The fully qualified URI of the VPC network to which the cloned instance will be
- * connected via Private Services Access for private IP. For example:`projects/my-network-
+ * connected via private services access for private IP. For example:`projects/my-network-
* project/global/networks/my-network`. This field is only required for cross-project cloning.
* @param destinationNetwork destinationNetwork or {@code null} for none
*/
diff --git a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/PscAutoConnectionConfig.java b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/PscAutoConnectionConfig.java
index 6f50cd1ba4d..b47c87ea9c0 100644
--- a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/PscAutoConnectionConfig.java
+++ b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/PscAutoConnectionConfig.java
@@ -62,6 +62,23 @@ public final class PscAutoConnectionConfig extends com.google.api.client.json.Ge
@com.google.api.client.util.Key
private java.lang.String ipAddress;
+ /**
+ * Output only. The service connection policy created automatically for the consumer network when
+ * `psc_auto_connection_policy_enabled` is true. It is in the format of:
+ * `projects/{project}/regions/{region}/serviceConnectionPolicies/{policy_id}` The `policy_id` is
+ * in format of `$NETWORK-$RANDOM`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String serviceConnectionPolicy;
+
+ /**
+ * Output only. The status of service connection policy creation.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String serviceConnectionPolicyCreationResult;
+
/**
* The connection status of the consumer endpoint.
* The value may be {@code null}.
@@ -145,6 +162,46 @@ public PscAutoConnectionConfig setIpAddress(java.lang.String ipAddress) {
return this;
}
+ /**
+ * Output only. The service connection policy created automatically for the consumer network when
+ * `psc_auto_connection_policy_enabled` is true. It is in the format of:
+ * `projects/{project}/regions/{region}/serviceConnectionPolicies/{policy_id}` The `policy_id` is
+ * in format of `$NETWORK-$RANDOM`.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getServiceConnectionPolicy() {
+ return serviceConnectionPolicy;
+ }
+
+ /**
+ * Output only. The service connection policy created automatically for the consumer network when
+ * `psc_auto_connection_policy_enabled` is true. It is in the format of:
+ * `projects/{project}/regions/{region}/serviceConnectionPolicies/{policy_id}` The `policy_id` is
+ * in format of `$NETWORK-$RANDOM`.
+ * @param serviceConnectionPolicy serviceConnectionPolicy or {@code null} for none
+ */
+ public PscAutoConnectionConfig setServiceConnectionPolicy(java.lang.String serviceConnectionPolicy) {
+ this.serviceConnectionPolicy = serviceConnectionPolicy;
+ return this;
+ }
+
+ /**
+ * Output only. The status of service connection policy creation.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getServiceConnectionPolicyCreationResult() {
+ return serviceConnectionPolicyCreationResult;
+ }
+
+ /**
+ * Output only. The status of service connection policy creation.
+ * @param serviceConnectionPolicyCreationResult serviceConnectionPolicyCreationResult or {@code null} for none
+ */
+ public PscAutoConnectionConfig setServiceConnectionPolicyCreationResult(java.lang.String serviceConnectionPolicyCreationResult) {
+ this.serviceConnectionPolicyCreationResult = serviceConnectionPolicyCreationResult;
+ return this;
+ }
+
/**
* The connection status of the consumer endpoint.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/PscConfig.java b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/PscConfig.java
index 87dd7d159be..6507f800341 100644
--- a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/PscConfig.java
+++ b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/PscConfig.java
@@ -48,6 +48,13 @@ public final class PscConfig extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String networkAttachmentUri;
+ /**
+ * Optional. Whether to set up the PSC service connection policy automatically.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean pscAutoConnectionPolicyEnabled;
+
/**
* Optional. The list of settings for requested Private Service Connect consumer endpoints that
* can be used to connect to this Cloud SQL instance.
@@ -63,10 +70,10 @@ public final class PscConfig extends com.google.api.client.json.GenericJson {
}
/**
- * 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.
+ * 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.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -80,11 +87,11 @@ public final class PscConfig extends com.google.api.client.json.GenericJson {
private java.lang.Boolean pscEnabled;
/**
- * 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.
+ * 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.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -134,6 +141,23 @@ public PscConfig setNetworkAttachmentUri(java.lang.String networkAttachmentUri)
return this;
}
+ /**
+ * Optional. Whether to set up the PSC service connection policy automatically.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getPscAutoConnectionPolicyEnabled() {
+ return pscAutoConnectionPolicyEnabled;
+ }
+
+ /**
+ * Optional. Whether to set up the PSC service connection policy automatically.
+ * @param pscAutoConnectionPolicyEnabled pscAutoConnectionPolicyEnabled or {@code null} for none
+ */
+ public PscConfig setPscAutoConnectionPolicyEnabled(java.lang.Boolean pscAutoConnectionPolicyEnabled) {
+ this.pscAutoConnectionPolicyEnabled = pscAutoConnectionPolicyEnabled;
+ return this;
+ }
+
/**
* Optional. The list of settings for requested Private Service Connect consumer endpoints that
* can be used to connect to this Cloud SQL instance.
@@ -154,10 +178,10 @@ public PscConfig setPscAutoConnections(java.util.List p
}
/**
- * 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.
+ * 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.
* @return value or {@code null} for none
*/
public java.lang.Boolean getPscAutoDnsEnabled() {
@@ -165,10 +189,10 @@ public java.lang.Boolean getPscAutoDnsEnabled() {
}
/**
- * 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.
+ * 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.
* @param pscAutoDnsEnabled pscAutoDnsEnabled or {@code null} for none
*/
public PscConfig setPscAutoDnsEnabled(java.lang.Boolean pscAutoDnsEnabled) {
@@ -194,11 +218,11 @@ public PscConfig setPscEnabled(java.lang.Boolean pscEnabled) {
}
/**
- * 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.
+ * 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.
* @return value or {@code null} for none
*/
public java.lang.Boolean getPscWriteEndpointDnsEnabled() {
@@ -206,11 +230,11 @@ public java.lang.Boolean getPscWriteEndpointDnsEnabled() {
}
/**
- * 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.
+ * 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.
* @param pscWriteEndpointDnsEnabled pscWriteEndpointDnsEnabled or {@code null} for none
*/
public PscConfig setPscWriteEndpointDnsEnabled(java.lang.Boolean pscWriteEndpointDnsEnabled) {
diff --git a/clients/google-api-services-sqladmin/v1/2.0.0/pom.xml b/clients/google-api-services-sqladmin/v1/2.0.0/pom.xml
index 1d5b33a4cfa..3f21482af37 100644
--- a/clients/google-api-services-sqladmin/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-sqladmin/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-sqladmin
- v1-rev20260510-2.0.0
- Cloud SQL Admin API v1-rev20260510-2.0.0
+ v1-rev20260529-2.0.0
+ Cloud SQL Admin API v1-rev20260529-2.0.0
jar
2011
diff --git a/clients/google-api-services-sqladmin/v1/README.md b/clients/google-api-services-sqladmin/v1/README.md
index 4a62b9d4015..85663e2f9f7 100644
--- a/clients/google-api-services-sqladmin/v1/README.md
+++ b/clients/google-api-services-sqladmin/v1/README.md
@@ -1,6 +1,6 @@
# Cloud SQL Admin API Client Library for Java
-API for Cloud SQL database instance management
+Cloud SQL Admin API
This page contains information about getting started with the Cloud SQL Admin API
using the Google API Client Library for Java. In addition, you may be interested
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-sqladmin
- v1-rev20260510-2.0.0
+ v1-rev20260529-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20260510-2.0.0'
+ implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20260529-2.0.0'
}
```