From 972d338ef27ea12b98ad077ed2685803731ec39d Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 31 Jan 2026 17:04:20 -0800 Subject: [PATCH] chore: regenerate alloydb client --- .../v1/2.0.0/README.md | 4 +- .../services/alloydb/v1/model/Instance.java | 36 ++++++++ ...rtnerapiV1mainResourceMaintenanceInfo.java | 51 +++++++++++ ...erPartnerapiV1mainUpcomingMaintenance.java | 91 +++++++++++++++++++ .../v1/2.0.0/pom.xml | 4 +- .../google-api-services-alloydb/v1/README.md | 4 +- .../v1alpha/2.0.0/README.md | 4 +- .../alloydb/v1alpha/model/Instance.java | 36 ++++++++ ...rtnerapiV1mainResourceMaintenanceInfo.java | 51 +++++++++++ ...erPartnerapiV1mainUpcomingMaintenance.java | 91 +++++++++++++++++++ .../v1alpha/2.0.0/pom.xml | 4 +- .../v1alpha/README.md | 4 +- .../v1beta/2.0.0/README.md | 4 +- .../alloydb/v1beta/model/Instance.java | 36 ++++++++ ...rtnerapiV1mainResourceMaintenanceInfo.java | 51 +++++++++++ ...erPartnerapiV1mainUpcomingMaintenance.java | 91 +++++++++++++++++++ .../v1beta/2.0.0/pom.xml | 4 +- .../v1beta/README.md | 4 +- 18 files changed, 552 insertions(+), 18 deletions(-) create mode 100644 clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java create mode 100644 clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java create mode 100644 clients/google-api-services-alloydb/v1beta/2.0.0/com/google/api/services/alloydb/v1beta/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java diff --git a/clients/google-api-services-alloydb/v1/2.0.0/README.md b/clients/google-api-services-alloydb/v1/2.0.0/README.md index 769244f3469..2ff73dfee00 100644 --- a/clients/google-api-services-alloydb/v1/2.0.0/README.md +++ b/clients/google-api-services-alloydb/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-alloydb - v1-rev20260108-2.0.0 + v1-rev20260122-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-alloydb:v1-rev20260108-2.0.0' + implementation 'com.google.apis:google-api-services-alloydb:v1-rev20260122-2.0.0' } ``` diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/Instance.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/Instance.java index 836cea0380f..142136013cd 100644 --- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/Instance.java +++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/Instance.java @@ -80,6 +80,17 @@ public final class Instance extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private String createTime; + /** + * Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows + * authorized users to connect to the instance from the public internet using the `executeSql` + * API, even for private IP instances. If this is not specified, the data API is enabled by + * default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow + * Google internal services as well. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dataApiAccess; + /** * Database flags. Set at the instance level. They are copied from the primary instance on * secondary instance creation. Flags that have restrictions default to the value at primary @@ -399,6 +410,31 @@ public Instance setCreateTime(String createTime) { return this; } + /** + * Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows + * authorized users to connect to the instance from the public internet using the `executeSql` + * API, even for private IP instances. If this is not specified, the data API is enabled by + * default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow + * Google internal services as well. + * @return value or {@code null} for none + */ + public java.lang.String getDataApiAccess() { + return dataApiAccess; + } + + /** + * Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows + * authorized users to connect to the instance from the public internet using the `executeSql` + * API, even for private IP instances. If this is not specified, the data API is enabled by + * default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow + * Google internal services as well. + * @param dataApiAccess dataApiAccess or {@code null} for none + */ + public Instance setDataApiAccess(java.lang.String dataApiAccess) { + this.dataApiAccess = dataApiAccess; + return this; + } + /** * Database flags. Set at the instance level. They are copied from the primary instance on * secondary instance creation. Flags that have restrictions default to the value at primary diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java index 9b6c4c1e28e..8d5833c0c9b 100644 --- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java +++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java @@ -49,6 +49,13 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo @com.google.api.client.util.Key private StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule maintenanceSchedule; + /** + * Output only. Current state of maintenance on the database resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String maintenanceState; + /** * Optional. Current Maintenance version of the database resource. Example: * "MYSQL_8_0_41.R20250531.01_15" @@ -57,6 +64,14 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo @com.google.api.client.util.Key private java.lang.String maintenanceVersion; + /** + * Optional. Upcoming maintenance for the database resource. This field is populated once SLM + * generates and publishes upcoming maintenance window. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance upcomingMaintenance; + /** * Optional. List of Deny maintenance period for the database resource. * @return value or {@code null} for none @@ -91,6 +106,23 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenan return this; } + /** + * Output only. Current state of maintenance on the database resource. + * @return value or {@code null} for none + */ + public java.lang.String getMaintenanceState() { + return maintenanceState; + } + + /** + * Output only. Current state of maintenance on the database resource. + * @param maintenanceState maintenanceState or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenanceState(java.lang.String maintenanceState) { + this.maintenanceState = maintenanceState; + return this; + } + /** * Optional. Current Maintenance version of the database resource. Example: * "MYSQL_8_0_41.R20250531.01_15" @@ -110,6 +142,25 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenan return this; } + /** + * Optional. Upcoming maintenance for the database resource. This field is populated once SLM + * generates and publishes upcoming maintenance window. + * @return value or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance getUpcomingMaintenance() { + return upcomingMaintenance; + } + + /** + * Optional. Upcoming maintenance for the database resource. This field is populated once SLM + * generates and publishes upcoming maintenance window. + * @param upcomingMaintenance upcomingMaintenance or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setUpcomingMaintenance(StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance upcomingMaintenance) { + this.upcomingMaintenance = upcomingMaintenance; + return this; + } + @Override public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo set(String fieldName, Object value) { return (StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo) super.set(fieldName, value); diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java new file mode 100644 index 00000000000..4d312bfa9fb --- /dev/null +++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.alloydb.v1.model; + +/** + * Upcoming maintenance for the database resource. This is generated by SLM once the upcoming + * maintenance schedule is published. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance extends com.google.api.client.json.GenericJson { + + /** + * Optional. The end time of the upcoming maintenance. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String endTime; + + /** + * Optional. The start time of the upcoming maintenance. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Optional. The end time of the upcoming maintenance. + * @return value or {@code null} for none + */ + public String getEndTime() { + return endTime; + } + + /** + * Optional. The end time of the upcoming maintenance. + * @param endTime endTime or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setEndTime(String endTime) { + this.endTime = endTime; + return this; + } + + /** + * Optional. The start time of the upcoming maintenance. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Optional. The start time of the upcoming maintenance. + * @param startTime startTime or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + @Override + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance set(String fieldName, Object value) { + return (StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance) super.set(fieldName, value); + } + + @Override + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance clone() { + return (StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance) super.clone(); + } + +} diff --git a/clients/google-api-services-alloydb/v1/2.0.0/pom.xml b/clients/google-api-services-alloydb/v1/2.0.0/pom.xml index 435d19189ba..65105ea15eb 100644 --- a/clients/google-api-services-alloydb/v1/2.0.0/pom.xml +++ b/clients/google-api-services-alloydb/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-alloydb - v1-rev20260108-2.0.0 - AlloyDB API v1-rev20260108-2.0.0 + v1-rev20260122-2.0.0 + AlloyDB API v1-rev20260122-2.0.0 jar 2011 diff --git a/clients/google-api-services-alloydb/v1/README.md b/clients/google-api-services-alloydb/v1/README.md index 769244f3469..2ff73dfee00 100644 --- a/clients/google-api-services-alloydb/v1/README.md +++ b/clients/google-api-services-alloydb/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-alloydb - v1-rev20260108-2.0.0 + v1-rev20260122-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-alloydb:v1-rev20260108-2.0.0' + implementation 'com.google.apis:google-api-services-alloydb:v1-rev20260122-2.0.0' } ``` diff --git a/clients/google-api-services-alloydb/v1alpha/2.0.0/README.md b/clients/google-api-services-alloydb/v1alpha/2.0.0/README.md index e41a59f2d59..5f83f536bb1 100644 --- a/clients/google-api-services-alloydb/v1alpha/2.0.0/README.md +++ b/clients/google-api-services-alloydb/v1alpha/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-alloydb - v1alpha-rev20260108-2.0.0 + v1alpha-rev20260122-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20260108-2.0.0' + implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20260122-2.0.0' } ``` diff --git a/clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/Instance.java b/clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/Instance.java index 536e27c7f03..04911dff19f 100644 --- a/clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/Instance.java +++ b/clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/Instance.java @@ -80,6 +80,17 @@ public final class Instance extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private String createTime; + /** + * Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows + * authorized users to connect to the instance from the public internet using the `executeSql` + * API, even for private IP instances. If this is not specified, the data API is enabled by + * default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow + * Google internal services as well. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dataApiAccess; + /** * Database flags. Set at the instance level. They are copied from the primary instance on * secondary instance creation. Flags that have restrictions default to the value at primary @@ -429,6 +440,31 @@ public Instance setCreateTime(String createTime) { return this; } + /** + * Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows + * authorized users to connect to the instance from the public internet using the `executeSql` + * API, even for private IP instances. If this is not specified, the data API is enabled by + * default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow + * Google internal services as well. + * @return value or {@code null} for none + */ + public java.lang.String getDataApiAccess() { + return dataApiAccess; + } + + /** + * Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows + * authorized users to connect to the instance from the public internet using the `executeSql` + * API, even for private IP instances. If this is not specified, the data API is enabled by + * default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow + * Google internal services as well. + * @param dataApiAccess dataApiAccess or {@code null} for none + */ + public Instance setDataApiAccess(java.lang.String dataApiAccess) { + this.dataApiAccess = dataApiAccess; + return this; + } + /** * Database flags. Set at the instance level. They are copied from the primary instance on * secondary instance creation. Flags that have restrictions default to the value at primary diff --git a/clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java b/clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java index 1052a25950b..d1f856a99b2 100644 --- a/clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java +++ b/clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java @@ -49,6 +49,13 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo @com.google.api.client.util.Key private StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule maintenanceSchedule; + /** + * Output only. Current state of maintenance on the database resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String maintenanceState; + /** * Optional. Current Maintenance version of the database resource. Example: * "MYSQL_8_0_41.R20250531.01_15" @@ -57,6 +64,14 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo @com.google.api.client.util.Key private java.lang.String maintenanceVersion; + /** + * Optional. Upcoming maintenance for the database resource. This field is populated once SLM + * generates and publishes upcoming maintenance window. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance upcomingMaintenance; + /** * Optional. List of Deny maintenance period for the database resource. * @return value or {@code null} for none @@ -91,6 +106,23 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenan return this; } + /** + * Output only. Current state of maintenance on the database resource. + * @return value or {@code null} for none + */ + public java.lang.String getMaintenanceState() { + return maintenanceState; + } + + /** + * Output only. Current state of maintenance on the database resource. + * @param maintenanceState maintenanceState or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenanceState(java.lang.String maintenanceState) { + this.maintenanceState = maintenanceState; + return this; + } + /** * Optional. Current Maintenance version of the database resource. Example: * "MYSQL_8_0_41.R20250531.01_15" @@ -110,6 +142,25 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenan return this; } + /** + * Optional. Upcoming maintenance for the database resource. This field is populated once SLM + * generates and publishes upcoming maintenance window. + * @return value or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance getUpcomingMaintenance() { + return upcomingMaintenance; + } + + /** + * Optional. Upcoming maintenance for the database resource. This field is populated once SLM + * generates and publishes upcoming maintenance window. + * @param upcomingMaintenance upcomingMaintenance or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setUpcomingMaintenance(StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance upcomingMaintenance) { + this.upcomingMaintenance = upcomingMaintenance; + return this; + } + @Override public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo set(String fieldName, Object value) { return (StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo) super.set(fieldName, value); diff --git a/clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java b/clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java new file mode 100644 index 00000000000..99097c80039 --- /dev/null +++ b/clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.alloydb.v1alpha.model; + +/** + * Upcoming maintenance for the database resource. This is generated by SLM once the upcoming + * maintenance schedule is published. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance extends com.google.api.client.json.GenericJson { + + /** + * Optional. The end time of the upcoming maintenance. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String endTime; + + /** + * Optional. The start time of the upcoming maintenance. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Optional. The end time of the upcoming maintenance. + * @return value or {@code null} for none + */ + public String getEndTime() { + return endTime; + } + + /** + * Optional. The end time of the upcoming maintenance. + * @param endTime endTime or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setEndTime(String endTime) { + this.endTime = endTime; + return this; + } + + /** + * Optional. The start time of the upcoming maintenance. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Optional. The start time of the upcoming maintenance. + * @param startTime startTime or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + @Override + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance set(String fieldName, Object value) { + return (StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance) super.set(fieldName, value); + } + + @Override + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance clone() { + return (StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance) super.clone(); + } + +} diff --git a/clients/google-api-services-alloydb/v1alpha/2.0.0/pom.xml b/clients/google-api-services-alloydb/v1alpha/2.0.0/pom.xml index b48e8b95615..afb74ac359f 100644 --- a/clients/google-api-services-alloydb/v1alpha/2.0.0/pom.xml +++ b/clients/google-api-services-alloydb/v1alpha/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-alloydb - v1alpha-rev20260108-2.0.0 - AlloyDB API v1alpha-rev20260108-2.0.0 + v1alpha-rev20260122-2.0.0 + AlloyDB API v1alpha-rev20260122-2.0.0 jar 2011 diff --git a/clients/google-api-services-alloydb/v1alpha/README.md b/clients/google-api-services-alloydb/v1alpha/README.md index e41a59f2d59..5f83f536bb1 100644 --- a/clients/google-api-services-alloydb/v1alpha/README.md +++ b/clients/google-api-services-alloydb/v1alpha/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-alloydb - v1alpha-rev20260108-2.0.0 + v1alpha-rev20260122-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20260108-2.0.0' + implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20260122-2.0.0' } ``` diff --git a/clients/google-api-services-alloydb/v1beta/2.0.0/README.md b/clients/google-api-services-alloydb/v1beta/2.0.0/README.md index 1c6fa0f71f1..58cfdee9d31 100644 --- a/clients/google-api-services-alloydb/v1beta/2.0.0/README.md +++ b/clients/google-api-services-alloydb/v1beta/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-alloydb - v1beta-rev20260108-2.0.0 + v1beta-rev20260122-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-alloydb:v1beta-rev20260108-2.0.0' + implementation 'com.google.apis:google-api-services-alloydb:v1beta-rev20260122-2.0.0' } ``` diff --git a/clients/google-api-services-alloydb/v1beta/2.0.0/com/google/api/services/alloydb/v1beta/model/Instance.java b/clients/google-api-services-alloydb/v1beta/2.0.0/com/google/api/services/alloydb/v1beta/model/Instance.java index 0c5b9cfff3f..53a6f956476 100644 --- a/clients/google-api-services-alloydb/v1beta/2.0.0/com/google/api/services/alloydb/v1beta/model/Instance.java +++ b/clients/google-api-services-alloydb/v1beta/2.0.0/com/google/api/services/alloydb/v1beta/model/Instance.java @@ -80,6 +80,17 @@ public final class Instance extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private String createTime; + /** + * Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows + * authorized users to connect to the instance from the public internet using the `executeSql` + * API, even for private IP instances. If this is not specified, the data API is enabled by + * default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow + * Google internal services as well. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dataApiAccess; + /** * Database flags. Set at the instance level. They are copied from the primary instance on * secondary instance creation. Flags that have restrictions default to the value at primary @@ -422,6 +433,31 @@ public Instance setCreateTime(String createTime) { return this; } + /** + * Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows + * authorized users to connect to the instance from the public internet using the `executeSql` + * API, even for private IP instances. If this is not specified, the data API is enabled by + * default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow + * Google internal services as well. + * @return value or {@code null} for none + */ + public java.lang.String getDataApiAccess() { + return dataApiAccess; + } + + /** + * Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows + * authorized users to connect to the instance from the public internet using the `executeSql` + * API, even for private IP instances. If this is not specified, the data API is enabled by + * default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow + * Google internal services as well. + * @param dataApiAccess dataApiAccess or {@code null} for none + */ + public Instance setDataApiAccess(java.lang.String dataApiAccess) { + this.dataApiAccess = dataApiAccess; + return this; + } + /** * Database flags. Set at the instance level. They are copied from the primary instance on * secondary instance creation. Flags that have restrictions default to the value at primary diff --git a/clients/google-api-services-alloydb/v1beta/2.0.0/com/google/api/services/alloydb/v1beta/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java b/clients/google-api-services-alloydb/v1beta/2.0.0/com/google/api/services/alloydb/v1beta/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java index 33dd962d2fe..daf8fc85381 100644 --- a/clients/google-api-services-alloydb/v1beta/2.0.0/com/google/api/services/alloydb/v1beta/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java +++ b/clients/google-api-services-alloydb/v1beta/2.0.0/com/google/api/services/alloydb/v1beta/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java @@ -49,6 +49,13 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo @com.google.api.client.util.Key private StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule maintenanceSchedule; + /** + * Output only. Current state of maintenance on the database resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String maintenanceState; + /** * Optional. Current Maintenance version of the database resource. Example: * "MYSQL_8_0_41.R20250531.01_15" @@ -57,6 +64,14 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo @com.google.api.client.util.Key private java.lang.String maintenanceVersion; + /** + * Optional. Upcoming maintenance for the database resource. This field is populated once SLM + * generates and publishes upcoming maintenance window. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance upcomingMaintenance; + /** * Optional. List of Deny maintenance period for the database resource. * @return value or {@code null} for none @@ -91,6 +106,23 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenan return this; } + /** + * Output only. Current state of maintenance on the database resource. + * @return value or {@code null} for none + */ + public java.lang.String getMaintenanceState() { + return maintenanceState; + } + + /** + * Output only. Current state of maintenance on the database resource. + * @param maintenanceState maintenanceState or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenanceState(java.lang.String maintenanceState) { + this.maintenanceState = maintenanceState; + return this; + } + /** * Optional. Current Maintenance version of the database resource. Example: * "MYSQL_8_0_41.R20250531.01_15" @@ -110,6 +142,25 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenan return this; } + /** + * Optional. Upcoming maintenance for the database resource. This field is populated once SLM + * generates and publishes upcoming maintenance window. + * @return value or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance getUpcomingMaintenance() { + return upcomingMaintenance; + } + + /** + * Optional. Upcoming maintenance for the database resource. This field is populated once SLM + * generates and publishes upcoming maintenance window. + * @param upcomingMaintenance upcomingMaintenance or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setUpcomingMaintenance(StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance upcomingMaintenance) { + this.upcomingMaintenance = upcomingMaintenance; + return this; + } + @Override public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo set(String fieldName, Object value) { return (StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo) super.set(fieldName, value); diff --git a/clients/google-api-services-alloydb/v1beta/2.0.0/com/google/api/services/alloydb/v1beta/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java b/clients/google-api-services-alloydb/v1beta/2.0.0/com/google/api/services/alloydb/v1beta/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java new file mode 100644 index 00000000000..a3fdac92f54 --- /dev/null +++ b/clients/google-api-services-alloydb/v1beta/2.0.0/com/google/api/services/alloydb/v1beta/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.alloydb.v1beta.model; + +/** + * Upcoming maintenance for the database resource. This is generated by SLM once the upcoming + * maintenance schedule is published. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance extends com.google.api.client.json.GenericJson { + + /** + * Optional. The end time of the upcoming maintenance. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String endTime; + + /** + * Optional. The start time of the upcoming maintenance. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Optional. The end time of the upcoming maintenance. + * @return value or {@code null} for none + */ + public String getEndTime() { + return endTime; + } + + /** + * Optional. The end time of the upcoming maintenance. + * @param endTime endTime or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setEndTime(String endTime) { + this.endTime = endTime; + return this; + } + + /** + * Optional. The start time of the upcoming maintenance. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Optional. The start time of the upcoming maintenance. + * @param startTime startTime or {@code null} for none + */ + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + @Override + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance set(String fieldName, Object value) { + return (StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance) super.set(fieldName, value); + } + + @Override + public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance clone() { + return (StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance) super.clone(); + } + +} diff --git a/clients/google-api-services-alloydb/v1beta/2.0.0/pom.xml b/clients/google-api-services-alloydb/v1beta/2.0.0/pom.xml index f33f70aa510..41940df73fc 100644 --- a/clients/google-api-services-alloydb/v1beta/2.0.0/pom.xml +++ b/clients/google-api-services-alloydb/v1beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-alloydb - v1beta-rev20260108-2.0.0 - AlloyDB API v1beta-rev20260108-2.0.0 + v1beta-rev20260122-2.0.0 + AlloyDB API v1beta-rev20260122-2.0.0 jar 2011 diff --git a/clients/google-api-services-alloydb/v1beta/README.md b/clients/google-api-services-alloydb/v1beta/README.md index 1c6fa0f71f1..58cfdee9d31 100644 --- a/clients/google-api-services-alloydb/v1beta/README.md +++ b/clients/google-api-services-alloydb/v1beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-alloydb - v1beta-rev20260108-2.0.0 + v1beta-rev20260122-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-alloydb:v1beta-rev20260108-2.0.0' + implementation 'com.google.apis:google-api-services-alloydb:v1beta-rev20260122-2.0.0' } ```