From 31e68b04e1616887e565274c9519c932599a2fb5 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 1 Aug 2026 18:15:40 -0700 Subject: [PATCH] chore: regenerate sqladmin client --- .../v1/2.0.0/README.md | 4 +- .../api/services/sqladmin/SQLAdmin.java | 99 +++++++++++++++++++ .../sqladmin/model/DatabaseInstance.java | 27 +++++ .../model/OnPremisesConfiguration.java | 24 +++++ .../api/services/sqladmin/model/User.java | 24 +++++ .../v1/2.0.0/pom.xml | 4 +- .../google-api-services-sqladmin/v1/README.md | 4 +- .../v1beta4/2.0.0/README.md | 4 +- .../api/services/sqladmin/SQLAdmin.java | 99 +++++++++++++++++++ .../sqladmin/model/DatabaseInstance.java | 27 +++++ .../model/OnPremisesConfiguration.java | 24 +++++ .../api/services/sqladmin/model/User.java | 24 +++++ .../v1beta4/2.0.0/pom.xml | 4 +- .../v1beta4/README.md | 4 +- 14 files changed, 360 insertions(+), 12 deletions(-) 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 ab44e813070..e2f8b25ec2b 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 @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-sqladmin - v1-rev20260703-2.0.0 + v1-rev20260722-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20260703-2.0.0' + implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20260722-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 bd8eb87958b..f4a50c87b46 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 @@ -8526,6 +8526,22 @@ public Cancel setOperation(java.lang.String operation) { return this; } + /** Optional. Region of the Cloud SQL instance. */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** Optional. Region of the Cloud SQL instance. + */ + public java.lang.String getLocation() { + return location; + } + + /** Optional. Region of the Cloud SQL instance. */ + public Cancel setLocation(java.lang.String location) { + this.location = location; + return this; + } + @Override public Cancel set(String parameterName, Object value) { return (Cancel) super.set(parameterName, value); @@ -8670,6 +8686,22 @@ public Get setOperation(java.lang.String operation) { return this; } + /** Optional. Region of the Cloud SQL instance. */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** Optional. Region of the Cloud SQL instance. + */ + public java.lang.String getLocation() { + return location; + } + + /** Optional. Region of the Cloud SQL instance. */ + public Get setLocation(java.lang.String location) { + this.location = location; + return this; + } + @Override public Get set(String parameterName, Object value) { return (Get) super.set(parameterName, value); @@ -8813,6 +8845,22 @@ public List setInstance(java.lang.String instance) { return this; } + /** Optional. Region of the Cloud SQL instance. */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** Optional. Region of the Cloud SQL instance. + */ + public java.lang.String getLocation() { + return location; + } + + /** Optional. Region of the Cloud SQL instance. */ + public List setLocation(java.lang.String location) { + this.location = location; + return this; + } + /** Maximum number of operations per response. */ @com.google.api.client.util.Key private java.lang.Long maxResults; @@ -11680,6 +11728,57 @@ public Update setRevokeExistingRoles(java.lang.Boolean revokeExistingRoles) { return this; } + /** + * Optional. Specifies whether to revoke existing roles that are not present in the + * `server_roles` field. If `false` or unset, the server roles specified in `server_roles` are + * added to the user's existing server roles. + */ + @com.google.api.client.util.Key + private java.lang.Boolean revokeExistingServerRoles; + + /** Optional. Specifies whether to revoke existing roles that are not present in the `server_roles` + field. If `false` or unset, the server roles specified in `server_roles` are added to the user's + existing server roles. + */ + public java.lang.Boolean getRevokeExistingServerRoles() { + return revokeExistingServerRoles; + } + + /** + * Optional. Specifies whether to revoke existing roles that are not present in the + * `server_roles` field. If `false` or unset, the server roles specified in `server_roles` are + * added to the user's existing server roles. + */ + public Update setRevokeExistingServerRoles(java.lang.Boolean revokeExistingServerRoles) { + this.revokeExistingServerRoles = revokeExistingServerRoles; + return this; + } + + /** + * Optional. The server roles to grant to the SQL Server login. Existing server roles will not + * be revoked if revoke_existing_roles is false. body.server_roles will be ignored for update + * request. + */ + @com.google.api.client.util.Key + private java.util.List serverRoles; + + /** Optional. The server roles to grant to the SQL Server login. Existing server roles will not be + revoked if revoke_existing_roles is false. body.server_roles will be ignored for update request. + */ + public java.util.List getServerRoles() { + return serverRoles; + } + + /** + * Optional. The server roles to grant to the SQL Server login. Existing server roles will not + * be revoked if revoke_existing_roles is false. body.server_roles will be ignored for update + * request. + */ + public Update setServerRoles(java.util.List serverRoles) { + this.serverRoles = serverRoles; + return this; + } + @Override public Update set(String parameterName, Object value) { return (Update) super.set(parameterName, value); diff --git a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/DatabaseInstance.java b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/DatabaseInstance.java index 23f639bea95..1339eee963a 100644 --- a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/DatabaseInstance.java +++ b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/DatabaseInstance.java @@ -70,6 +70,14 @@ public final class DatabaseInstance extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long currentDiskSize; + /** + * Optional. If true, instance metadata is sent to the Database Center. If false, instance + * metadata is not sent to the Database Center. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean databaseCenterIntegrationEnabled; + /** * Output only. Stores the current database version running on the instance including minor * version such as `MYSQL_8_0_18`. @@ -519,6 +527,25 @@ public DatabaseInstance setCurrentDiskSize(java.lang.Long currentDiskSize) { return this; } + /** + * Optional. If true, instance metadata is sent to the Database Center. If false, instance + * metadata is not sent to the Database Center. + * @return value or {@code null} for none + */ + public java.lang.Boolean getDatabaseCenterIntegrationEnabled() { + return databaseCenterIntegrationEnabled; + } + + /** + * Optional. If true, instance metadata is sent to the Database Center. If false, instance + * metadata is not sent to the Database Center. + * @param databaseCenterIntegrationEnabled databaseCenterIntegrationEnabled or {@code null} for none + */ + public DatabaseInstance setDatabaseCenterIntegrationEnabled(java.lang.Boolean databaseCenterIntegrationEnabled) { + this.databaseCenterIntegrationEnabled = databaseCenterIntegrationEnabled; + return this; + } + /** * Output only. Stores the current database version running on the instance including minor * version such as `MYSQL_8_0_18`. diff --git a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/OnPremisesConfiguration.java b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/OnPremisesConfiguration.java index 64f9fa8f1ea..99a83fbdb79 100644 --- a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/OnPremisesConfiguration.java +++ b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/OnPremisesConfiguration.java @@ -51,6 +51,13 @@ public final class OnPremisesConfiguration extends com.google.api.client.json.Ge @com.google.api.client.util.Key private java.lang.String clientKey; + /** + * Output only. Indicates whether the resource is managed by Database Migration Service. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean dmsManaged; + /** * The dump file to create the Cloud SQL replica. * The value may be {@code null}. @@ -161,6 +168,23 @@ public OnPremisesConfiguration setClientKey(java.lang.String clientKey) { return this; } + /** + * Output only. Indicates whether the resource is managed by Database Migration Service. + * @return value or {@code null} for none + */ + public java.lang.Boolean getDmsManaged() { + return dmsManaged; + } + + /** + * Output only. Indicates whether the resource is managed by Database Migration Service. + * @param dmsManaged dmsManaged or {@code null} for none + */ + public OnPremisesConfiguration setDmsManaged(java.lang.Boolean dmsManaged) { + this.dmsManaged = dmsManaged; + return this; + } + /** * The dump file to create the Cloud SQL replica. * @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/User.java b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/User.java index 768d5fceb07..a4b99345b38 100644 --- a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/User.java +++ b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/User.java @@ -120,6 +120,13 @@ public final class User extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String project; + /** + * Optional. The server roles for the SQL Server login. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List serverRoles; + /** * The value may be {@code null}. */ @@ -352,6 +359,23 @@ public User setProject(java.lang.String project) { return this; } + /** + * Optional. The server roles for the SQL Server login. + * @return value or {@code null} for none + */ + public java.util.List getServerRoles() { + return serverRoles; + } + + /** + * Optional. The server roles for the SQL Server login. + * @param serverRoles serverRoles or {@code null} for none + */ + public User setServerRoles(java.util.List serverRoles) { + this.serverRoles = serverRoles; + return this; + } + /** * @return value or {@code null} for none */ 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 cfa758b0eec..942356b64a5 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-rev20260703-2.0.0 - Cloud SQL Admin API v1-rev20260703-2.0.0 + v1-rev20260722-2.0.0 + Cloud SQL Admin API v1-rev20260722-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 ab44e813070..e2f8b25ec2b 100644 --- a/clients/google-api-services-sqladmin/v1/README.md +++ b/clients/google-api-services-sqladmin/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-sqladmin - v1-rev20260703-2.0.0 + v1-rev20260722-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20260703-2.0.0' + implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20260722-2.0.0' } ``` diff --git a/clients/google-api-services-sqladmin/v1beta4/2.0.0/README.md b/clients/google-api-services-sqladmin/v1beta4/2.0.0/README.md index 40cafa7609c..24eb3a65080 100644 --- a/clients/google-api-services-sqladmin/v1beta4/2.0.0/README.md +++ b/clients/google-api-services-sqladmin/v1beta4/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-sqladmin - v1beta4-rev20260703-2.0.0 + v1beta4-rev20260722-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20260703-2.0.0' + implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20260722-2.0.0' } ``` diff --git a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java index 849321792b7..a9741d504d5 100644 --- a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java +++ b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java @@ -8529,6 +8529,22 @@ public Cancel setOperation(java.lang.String operation) { return this; } + /** Optional. Region of the Cloud SQL instance. */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** Optional. Region of the Cloud SQL instance. + */ + public java.lang.String getLocation() { + return location; + } + + /** Optional. Region of the Cloud SQL instance. */ + public Cancel setLocation(java.lang.String location) { + this.location = location; + return this; + } + @Override public Cancel set(String parameterName, Object value) { return (Cancel) super.set(parameterName, value); @@ -8673,6 +8689,22 @@ public Get setOperation(java.lang.String operation) { return this; } + /** Optional. Region of the Cloud SQL instance. */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** Optional. Region of the Cloud SQL instance. + */ + public java.lang.String getLocation() { + return location; + } + + /** Optional. Region of the Cloud SQL instance. */ + public Get setLocation(java.lang.String location) { + this.location = location; + return this; + } + @Override public Get set(String parameterName, Object value) { return (Get) super.set(parameterName, value); @@ -8816,6 +8848,22 @@ public List setInstance(java.lang.String instance) { return this; } + /** Optional. Region of the Cloud SQL instance. */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** Optional. Region of the Cloud SQL instance. + */ + public java.lang.String getLocation() { + return location; + } + + /** Optional. Region of the Cloud SQL instance. */ + public List setLocation(java.lang.String location) { + this.location = location; + return this; + } + /** Maximum number of operations per response. */ @com.google.api.client.util.Key private java.lang.Long maxResults; @@ -11683,6 +11731,57 @@ public Update setRevokeExistingRoles(java.lang.Boolean revokeExistingRoles) { return this; } + /** + * Optional. Specifies whether to revoke existing roles that are not present in the + * `server_roles` field. If `false` or unset, the server roles specified in `server_roles` are + * added to the user's existing server roles. + */ + @com.google.api.client.util.Key + private java.lang.Boolean revokeExistingServerRoles; + + /** Optional. Specifies whether to revoke existing roles that are not present in the `server_roles` + field. If `false` or unset, the server roles specified in `server_roles` are added to the user's + existing server roles. + */ + public java.lang.Boolean getRevokeExistingServerRoles() { + return revokeExistingServerRoles; + } + + /** + * Optional. Specifies whether to revoke existing roles that are not present in the + * `server_roles` field. If `false` or unset, the server roles specified in `server_roles` are + * added to the user's existing server roles. + */ + public Update setRevokeExistingServerRoles(java.lang.Boolean revokeExistingServerRoles) { + this.revokeExistingServerRoles = revokeExistingServerRoles; + return this; + } + + /** + * Optional. The server roles to grant to the SQL Server login. Existing server roles will not + * be revoked if revoke_existing_roles is false. body.server_roles will be ignored for update + * request. + */ + @com.google.api.client.util.Key + private java.util.List serverRoles; + + /** Optional. The server roles to grant to the SQL Server login. Existing server roles will not be + revoked if revoke_existing_roles is false. body.server_roles will be ignored for update request. + */ + public java.util.List getServerRoles() { + return serverRoles; + } + + /** + * Optional. The server roles to grant to the SQL Server login. Existing server roles will not + * be revoked if revoke_existing_roles is false. body.server_roles will be ignored for update + * request. + */ + public Update setServerRoles(java.util.List serverRoles) { + this.serverRoles = serverRoles; + return this; + } + @Override public Update set(String parameterName, Object value) { return (Update) super.set(parameterName, value); diff --git a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/DatabaseInstance.java b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/DatabaseInstance.java index 5a493377272..df312dad85a 100644 --- a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/DatabaseInstance.java +++ b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/DatabaseInstance.java @@ -70,6 +70,14 @@ public final class DatabaseInstance extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long currentDiskSize; + /** + * Optional. If true, instance metadata is sent to the Database Center. If false, instance + * metadata is not sent to the Database Center. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean databaseCenterIntegrationEnabled; + /** * Output only. Stores the current database version running on the instance including minor * version such as `MYSQL_8_0_18`. @@ -520,6 +528,25 @@ public DatabaseInstance setCurrentDiskSize(java.lang.Long currentDiskSize) { return this; } + /** + * Optional. If true, instance metadata is sent to the Database Center. If false, instance + * metadata is not sent to the Database Center. + * @return value or {@code null} for none + */ + public java.lang.Boolean getDatabaseCenterIntegrationEnabled() { + return databaseCenterIntegrationEnabled; + } + + /** + * Optional. If true, instance metadata is sent to the Database Center. If false, instance + * metadata is not sent to the Database Center. + * @param databaseCenterIntegrationEnabled databaseCenterIntegrationEnabled or {@code null} for none + */ + public DatabaseInstance setDatabaseCenterIntegrationEnabled(java.lang.Boolean databaseCenterIntegrationEnabled) { + this.databaseCenterIntegrationEnabled = databaseCenterIntegrationEnabled; + return this; + } + /** * Output only. Stores the current database version running on the instance including minor * version such as `MYSQL_8_0_18`. diff --git a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/OnPremisesConfiguration.java b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/OnPremisesConfiguration.java index 124c08dd382..4a5de92415c 100644 --- a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/OnPremisesConfiguration.java +++ b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/OnPremisesConfiguration.java @@ -51,6 +51,13 @@ public final class OnPremisesConfiguration extends com.google.api.client.json.Ge @com.google.api.client.util.Key private java.lang.String clientKey; + /** + * Output only. Indicates whether the resource is managed by Database Migration Service. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean dmsManaged; + /** * The dump file to create the Cloud SQL replica. * The value may be {@code null}. @@ -161,6 +168,23 @@ public OnPremisesConfiguration setClientKey(java.lang.String clientKey) { return this; } + /** + * Output only. Indicates whether the resource is managed by Database Migration Service. + * @return value or {@code null} for none + */ + public java.lang.Boolean getDmsManaged() { + return dmsManaged; + } + + /** + * Output only. Indicates whether the resource is managed by Database Migration Service. + * @param dmsManaged dmsManaged or {@code null} for none + */ + public OnPremisesConfiguration setDmsManaged(java.lang.Boolean dmsManaged) { + this.dmsManaged = dmsManaged; + return this; + } + /** * The dump file to create the Cloud SQL replica. * @return value or {@code null} for none diff --git a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/User.java b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/User.java index aa44bf93cef..861e76275ce 100644 --- a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/User.java +++ b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/User.java @@ -120,6 +120,13 @@ public final class User extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String project; + /** + * Optional. The server roles for the SQL Server login. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List serverRoles; + /** * The value may be {@code null}. */ @@ -352,6 +359,23 @@ public User setProject(java.lang.String project) { return this; } + /** + * Optional. The server roles for the SQL Server login. + * @return value or {@code null} for none + */ + public java.util.List getServerRoles() { + return serverRoles; + } + + /** + * Optional. The server roles for the SQL Server login. + * @param serverRoles serverRoles or {@code null} for none + */ + public User setServerRoles(java.util.List serverRoles) { + this.serverRoles = serverRoles; + return this; + } + /** * @return value or {@code null} for none */ diff --git a/clients/google-api-services-sqladmin/v1beta4/2.0.0/pom.xml b/clients/google-api-services-sqladmin/v1beta4/2.0.0/pom.xml index 5d4da01dcd4..f1df09fbc4e 100644 --- a/clients/google-api-services-sqladmin/v1beta4/2.0.0/pom.xml +++ b/clients/google-api-services-sqladmin/v1beta4/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-sqladmin - v1beta4-rev20260703-2.0.0 - Cloud SQL Admin API v1beta4-rev20260703-2.0.0 + v1beta4-rev20260722-2.0.0 + Cloud SQL Admin API v1beta4-rev20260722-2.0.0 jar 2011 diff --git a/clients/google-api-services-sqladmin/v1beta4/README.md b/clients/google-api-services-sqladmin/v1beta4/README.md index 40cafa7609c..24eb3a65080 100644 --- a/clients/google-api-services-sqladmin/v1beta4/README.md +++ b/clients/google-api-services-sqladmin/v1beta4/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-sqladmin - v1beta4-rev20260703-2.0.0 + v1beta4-rev20260722-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20260703-2.0.0' + implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20260722-2.0.0' } ```