Skip to content
Closed
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-rev20260205-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-rev20260205-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class CloudAlloyDBAdmin extends com.google.api.client.googleapis.services
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -312,7 +312,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
* Lists information about the supported locations for this service.
* Lists information about the supported locations for this service. This method can be called in
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
* public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
Expand All @@ -336,7 +339,10 @@ public class List extends CloudAlloyDBAdminRequest<com.google.api.services.alloy
java.util.regex.Pattern.compile("^projects/[^/]+$");

/**
* Lists information about the supported locations for this service.
* Lists information about the supported locations for this service. This method can be called in
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
* public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
Expand Down Expand Up @@ -7930,8 +7936,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
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 @@ -17,7 +17,7 @@
package com.google.api.services.alloydb.v1.model;

/**
* Common model for database resource instance metadata. Next ID: 30
* Common model for database resource instance metadata. Next ID: 31
*
* <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:
Expand Down Expand Up @@ -184,6 +184,13 @@ public final class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
@com.google.api.client.util.Key
private java.lang.String resourceContainer;

/**
* Optional. List of resource flags for the database resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<StorageDatabasecenterPartnerapiV1mainResourceFlags> resourceFlags;

/**
* Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time.
* That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new
Expand Down Expand Up @@ -603,6 +610,23 @@ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setResource
return this;
}

/**
* Optional. List of resource flags for the database resource.
* @return value or {@code null} for none
*/
public java.util.List<StorageDatabasecenterPartnerapiV1mainResourceFlags> getResourceFlags() {
return resourceFlags;
}

/**
* Optional. List of resource flags for the database resource.
* @param resourceFlags resourceFlags or {@code null} for none
*/
public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setResourceFlags(java.util.List<StorageDatabasecenterPartnerapiV1mainResourceFlags> resourceFlags) {
this.resourceFlags = resourceFlags;
return this;
}

/**
* Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time.
* That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* 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;

/**
* Message type for storing resource flags.
*
* <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 StorageDatabasecenterPartnerapiV1mainResourceFlags extends com.google.api.client.json.GenericJson {

/**
* Optional. Key of the resource flag.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String key;

/**
* Optional. Value of the resource flag.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String value;

/**
* Optional. Key of the resource flag.
* @return value or {@code null} for none
*/
public java.lang.String getKey() {
return key;
}

/**
* Optional. Key of the resource flag.
* @param key key or {@code null} for none
*/
public StorageDatabasecenterPartnerapiV1mainResourceFlags setKey(java.lang.String key) {
this.key = key;
return this;
}

/**
* Optional. Value of the resource flag.
* @return value or {@code null} for none
*/
public java.lang.String getValue() {
return value;
}

/**
* Optional. Value of the resource flag.
* @param value value or {@code null} for none
*/
public StorageDatabasecenterPartnerapiV1mainResourceFlags setValue(java.lang.String value) {
this.value = value;
return this;
}

@Override
public StorageDatabasecenterPartnerapiV1mainResourceFlags set(String fieldName, Object value) {
return (StorageDatabasecenterPartnerapiV1mainResourceFlags) super.set(fieldName, value);
}

@Override
public StorageDatabasecenterPartnerapiV1mainResourceFlags clone() {
return (StorageDatabasecenterPartnerapiV1mainResourceFlags) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
@SuppressWarnings("javadoc")
public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo extends com.google.api.client.json.GenericJson {

/**
* Optional. The date when the current maintenance version was released.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleTypeDate currentVersionReleaseDate;

/**
* Optional. List of Deny maintenance period for the database resource.
* The value may be {@code null}.
Expand All @@ -42,13 +49,28 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
com.google.api.client.util.Data.nullOf(StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule.class);
}

/**
* Optional. Whether the instance is in stopped state. This information is temporarily being
* captured in maintenanceInfo, till STOPPED state is supported by DB Center.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean isInstanceStopped;

/**
* Optional. Maintenance window for the database resource.
* The value may be {@code null}.
*/
@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 +79,31 @@ 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. The date when the current maintenance version was released.
* @return value or {@code null} for none
*/
public GoogleTypeDate getCurrentVersionReleaseDate() {
return currentVersionReleaseDate;
}

/**
* Optional. The date when the current maintenance version was released.
* @param currentVersionReleaseDate currentVersionReleaseDate or {@code null} for none
*/
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setCurrentVersionReleaseDate(GoogleTypeDate currentVersionReleaseDate) {
this.currentVersionReleaseDate = currentVersionReleaseDate;
return this;
}

/**
* Optional. List of Deny maintenance period for the database resource.
* @return value or {@code null} for none
Expand All @@ -74,6 +121,25 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setDenyMaint
return this;
}

/**
* Optional. Whether the instance is in stopped state. This information is temporarily being
* captured in maintenanceInfo, till STOPPED state is supported by DB Center.
* @return value or {@code null} for none
*/
public java.lang.Boolean getIsInstanceStopped() {
return isInstanceStopped;
}

/**
* Optional. Whether the instance is in stopped state. This information is temporarily being
* captured in maintenanceInfo, till STOPPED state is supported by DB Center.
* @param isInstanceStopped isInstanceStopped or {@code null} for none
*/
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setIsInstanceStopped(java.lang.Boolean isInstanceStopped) {
this.isInstanceStopped = isInstanceStopped;
return this;
}

/**
* Optional. Maintenance window for the database resource.
* @return value or {@code null} for none
Expand All @@ -91,6 +157,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 +193,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
Loading