Skip to content

Commit d51b05f

Browse files
chore: regenerate alloydb client
1 parent 38c1764 commit d51b05f

29 files changed

+1089
-618
lines changed

clients/google-api-services-alloydb/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-alloydb</artifactId>
25-
<version>v1-rev20260108-2.0.0</version>
25+
<version>v1-rev20260129-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-alloydb:v1-rev20260108-2.0.0'
38+
implementation 'com.google.apis:google-api-services-alloydb:v1-rev20260129-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/CloudAlloyDBAdmin.java

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class CloudAlloyDBAdmin extends com.google.api.client.googleapis.services
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -312,7 +312,10 @@ public Get set(String parameterName, Object value) {
312312
}
313313
}
314314
/**
315-
* Lists information about the supported locations for this service.
315+
* Lists information about the supported locations for this service. This method can be called in
316+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
317+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
318+
* public locations as well as private or other locations specifically visible to the project.
316319
*
317320
* Create a request for the method "locations.list".
318321
*
@@ -336,7 +339,10 @@ public class List extends CloudAlloyDBAdminRequest<com.google.api.services.alloy
336339
java.util.regex.Pattern.compile("^projects/[^/]+$");
337340

338341
/**
339-
* Lists information about the supported locations for this service.
342+
* Lists information about the supported locations for this service. This method can be called in
343+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
344+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
345+
* public locations as well as private or other locations specifically visible to the project.
340346
*
341347
* Create a request for the method "locations.list".
342348
*
@@ -7930,8 +7936,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
79307936
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
79317937
* <li>Android: {@code newCompatibleTransport} from
79327938
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
7933-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
7934-
* </li>
7939+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
79357940
* </ul>
79367941
* @param jsonFactory JSON factory, which may be:
79377942
* <ul>

clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/Instance.java

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,17 @@ public final class Instance extends com.google.api.client.json.GenericJson {
8080
@com.google.api.client.util.Key
8181
private String createTime;
8282

83+
/**
84+
* Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows
85+
* authorized users to connect to the instance from the public internet using the `executeSql`
86+
* API, even for private IP instances. If this is not specified, the data API is enabled by
87+
* default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow
88+
* Google internal services as well.
89+
* The value may be {@code null}.
90+
*/
91+
@com.google.api.client.util.Key
92+
private java.lang.String dataApiAccess;
93+
8394
/**
8495
* Database flags. Set at the instance level. They are copied from the primary instance on
8596
* secondary instance creation. Flags that have restrictions default to the value at primary
@@ -399,6 +410,31 @@ public Instance setCreateTime(String createTime) {
399410
return this;
400411
}
401412

413+
/**
414+
* Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows
415+
* authorized users to connect to the instance from the public internet using the `executeSql`
416+
* API, even for private IP instances. If this is not specified, the data API is enabled by
417+
* default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow
418+
* Google internal services as well.
419+
* @return value or {@code null} for none
420+
*/
421+
public java.lang.String getDataApiAccess() {
422+
return dataApiAccess;
423+
}
424+
425+
/**
426+
* Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows
427+
* authorized users to connect to the instance from the public internet using the `executeSql`
428+
* API, even for private IP instances. If this is not specified, the data API is enabled by
429+
* default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow
430+
* Google internal services as well.
431+
* @param dataApiAccess dataApiAccess or {@code null} for none
432+
*/
433+
public Instance setDataApiAccess(java.lang.String dataApiAccess) {
434+
this.dataApiAccess = dataApiAccess;
435+
return this;
436+
}
437+
402438
/**
403439
* Database flags. Set at the instance level. They are copied from the primary instance on
404440
* secondary instance creation. Flags that have restrictions default to the value at primary

clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.java

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.alloydb.v1.model;
1818

1919
/**
20-
* Common model for database resource instance metadata. Next ID: 30
20+
* Common model for database resource instance metadata. Next ID: 31
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see:
@@ -184,6 +184,13 @@ public final class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
184184
@com.google.api.client.util.Key
185185
private java.lang.String resourceContainer;
186186

187+
/**
188+
* Optional. List of resource flags for the database resource.
189+
* The value may be {@code null}.
190+
*/
191+
@com.google.api.client.util.Key
192+
private java.util.List<StorageDatabasecenterPartnerapiV1mainResourceFlags> resourceFlags;
193+
187194
/**
188195
* Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time.
189196
* That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new
@@ -603,6 +610,23 @@ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setResource
603610
return this;
604611
}
605612

613+
/**
614+
* Optional. List of resource flags for the database resource.
615+
* @return value or {@code null} for none
616+
*/
617+
public java.util.List<StorageDatabasecenterPartnerapiV1mainResourceFlags> getResourceFlags() {
618+
return resourceFlags;
619+
}
620+
621+
/**
622+
* Optional. List of resource flags for the database resource.
623+
* @param resourceFlags resourceFlags or {@code null} for none
624+
*/
625+
public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setResourceFlags(java.util.List<StorageDatabasecenterPartnerapiV1mainResourceFlags> resourceFlags) {
626+
this.resourceFlags = resourceFlags;
627+
return this;
628+
}
629+
606630
/**
607631
* Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time.
608632
* That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.alloydb.v1.model;
18+
19+
/**
20+
* Message type for storing resource flags.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class StorageDatabasecenterPartnerapiV1mainResourceFlags extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Key of the resource flag.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String key;
38+
39+
/**
40+
* Optional. Value of the resource flag.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String value;
45+
46+
/**
47+
* Optional. Key of the resource flag.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getKey() {
51+
return key;
52+
}
53+
54+
/**
55+
* Optional. Key of the resource flag.
56+
* @param key key or {@code null} for none
57+
*/
58+
public StorageDatabasecenterPartnerapiV1mainResourceFlags setKey(java.lang.String key) {
59+
this.key = key;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. Value of the resource flag.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getValue() {
68+
return value;
69+
}
70+
71+
/**
72+
* Optional. Value of the resource flag.
73+
* @param value value or {@code null} for none
74+
*/
75+
public StorageDatabasecenterPartnerapiV1mainResourceFlags setValue(java.lang.String value) {
76+
this.value = value;
77+
return this;
78+
}
79+
80+
@Override
81+
public StorageDatabasecenterPartnerapiV1mainResourceFlags set(String fieldName, Object value) {
82+
return (StorageDatabasecenterPartnerapiV1mainResourceFlags) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public StorageDatabasecenterPartnerapiV1mainResourceFlags clone() {
87+
return (StorageDatabasecenterPartnerapiV1mainResourceFlags) super.clone();
88+
}
89+
90+
}

clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,28 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
4242
com.google.api.client.util.Data.nullOf(StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule.class);
4343
}
4444

45+
/**
46+
* Optional. Whether the instance is in stopped state. This information is temporarily being
47+
* captured in maintenanceInfo, till STOPPED state is supported by DB Center.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.Boolean isInstanceStopped;
52+
4553
/**
4654
* Optional. Maintenance window for the database resource.
4755
* The value may be {@code null}.
4856
*/
4957
@com.google.api.client.util.Key
5058
private StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule maintenanceSchedule;
5159

60+
/**
61+
* Output only. Current state of maintenance on the database resource.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.String maintenanceState;
66+
5267
/**
5368
* Optional. Current Maintenance version of the database resource. Example:
5469
* "MYSQL_8_0_41.R20250531.01_15"
@@ -57,6 +72,22 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
5772
@com.google.api.client.util.Key
5873
private java.lang.String maintenanceVersion;
5974

75+
/**
76+
* Optional. Upcoming maintenance for the database resource. This field is populated once SLM
77+
* generates and publishes upcoming maintenance window.
78+
* The value may be {@code null}.
79+
*/
80+
@com.google.api.client.util.Key
81+
private StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance upcomingMaintenance;
82+
83+
/**
84+
* Optional. This field will contain the date when the last version update was applied to the
85+
* database resource. This will be used to calculate the age of the maintenance version.
86+
* The value may be {@code null}.
87+
*/
88+
@com.google.api.client.util.Key
89+
private String versionUpdateTime;
90+
6091
/**
6192
* Optional. List of Deny maintenance period for the database resource.
6293
* @return value or {@code null} for none
@@ -74,6 +105,25 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setDenyMaint
74105
return this;
75106
}
76107

108+
/**
109+
* Optional. Whether the instance is in stopped state. This information is temporarily being
110+
* captured in maintenanceInfo, till STOPPED state is supported by DB Center.
111+
* @return value or {@code null} for none
112+
*/
113+
public java.lang.Boolean getIsInstanceStopped() {
114+
return isInstanceStopped;
115+
}
116+
117+
/**
118+
* Optional. Whether the instance is in stopped state. This information is temporarily being
119+
* captured in maintenanceInfo, till STOPPED state is supported by DB Center.
120+
* @param isInstanceStopped isInstanceStopped or {@code null} for none
121+
*/
122+
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setIsInstanceStopped(java.lang.Boolean isInstanceStopped) {
123+
this.isInstanceStopped = isInstanceStopped;
124+
return this;
125+
}
126+
77127
/**
78128
* Optional. Maintenance window for the database resource.
79129
* @return value or {@code null} for none
@@ -91,6 +141,23 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenan
91141
return this;
92142
}
93143

144+
/**
145+
* Output only. Current state of maintenance on the database resource.
146+
* @return value or {@code null} for none
147+
*/
148+
public java.lang.String getMaintenanceState() {
149+
return maintenanceState;
150+
}
151+
152+
/**
153+
* Output only. Current state of maintenance on the database resource.
154+
* @param maintenanceState maintenanceState or {@code null} for none
155+
*/
156+
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenanceState(java.lang.String maintenanceState) {
157+
this.maintenanceState = maintenanceState;
158+
return this;
159+
}
160+
94161
/**
95162
* Optional. Current Maintenance version of the database resource. Example:
96163
* "MYSQL_8_0_41.R20250531.01_15"
@@ -110,6 +177,44 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenan
110177
return this;
111178
}
112179

180+
/**
181+
* Optional. Upcoming maintenance for the database resource. This field is populated once SLM
182+
* generates and publishes upcoming maintenance window.
183+
* @return value or {@code null} for none
184+
*/
185+
public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance getUpcomingMaintenance() {
186+
return upcomingMaintenance;
187+
}
188+
189+
/**
190+
* Optional. Upcoming maintenance for the database resource. This field is populated once SLM
191+
* generates and publishes upcoming maintenance window.
192+
* @param upcomingMaintenance upcomingMaintenance or {@code null} for none
193+
*/
194+
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setUpcomingMaintenance(StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance upcomingMaintenance) {
195+
this.upcomingMaintenance = upcomingMaintenance;
196+
return this;
197+
}
198+
199+
/**
200+
* Optional. This field will contain the date when the last version update was applied to the
201+
* database resource. This will be used to calculate the age of the maintenance version.
202+
* @return value or {@code null} for none
203+
*/
204+
public String getVersionUpdateTime() {
205+
return versionUpdateTime;
206+
}
207+
208+
/**
209+
* Optional. This field will contain the date when the last version update was applied to the
210+
* database resource. This will be used to calculate the age of the maintenance version.
211+
* @param versionUpdateTime versionUpdateTime or {@code null} for none
212+
*/
213+
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setVersionUpdateTime(String versionUpdateTime) {
214+
this.versionUpdateTime = versionUpdateTime;
215+
return this;
216+
}
217+
113218
@Override
114219
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo set(String fieldName, Object value) {
115220
return (StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo) super.set(fieldName, value);

0 commit comments

Comments
 (0)