Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-alloydb/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-alloydb</artifactId>
<version>v1-rev20260108-2.0.0</version>
<version>v1-rev20260122-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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);
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-alloydb/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-alloydb</artifactId>
<version>v1-rev20260108-2.0.0</version>
<name>AlloyDB API v1-rev20260108-2.0.0</name>
<version>v1-rev20260122-2.0.0</version>
<name>AlloyDB API v1-rev20260122-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-alloydb/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-alloydb</artifactId>
<version>v1-rev20260108-2.0.0</version>
<version>v1-rev20260122-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-alloydb/v1alpha/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-alloydb</artifactId>
<version>v1alpha-rev20260108-2.0.0</version>
<version>v1alpha-rev20260122-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading