Skip to content

Commit 408ab1d

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

29 files changed

+1080
-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-rev20260205-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-rev20260205-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: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
@SuppressWarnings("javadoc")
3030
public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Optional. The date when the current maintenance version was released.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleTypeDate currentVersionReleaseDate;
38+
3239
/**
3340
* Optional. List of Deny maintenance period for the database resource.
3441
* The value may be {@code null}.
@@ -42,13 +49,28 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
4249
com.google.api.client.util.Data.nullOf(StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule.class);
4350
}
4451

52+
/**
53+
* Optional. Whether the instance is in stopped state. This information is temporarily being
54+
* captured in maintenanceInfo, till STOPPED state is supported by DB Center.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.Boolean isInstanceStopped;
59+
4560
/**
4661
* Optional. Maintenance window for the database resource.
4762
* The value may be {@code null}.
4863
*/
4964
@com.google.api.client.util.Key
5065
private StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule maintenanceSchedule;
5166

67+
/**
68+
* Output only. Current state of maintenance on the database resource.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private java.lang.String maintenanceState;
73+
5274
/**
5375
* Optional. Current Maintenance version of the database resource. Example:
5476
* "MYSQL_8_0_41.R20250531.01_15"
@@ -57,6 +79,31 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
5779
@com.google.api.client.util.Key
5880
private java.lang.String maintenanceVersion;
5981

82+
/**
83+
* Optional. Upcoming maintenance for the database resource. This field is populated once SLM
84+
* generates and publishes upcoming maintenance window.
85+
* The value may be {@code null}.
86+
*/
87+
@com.google.api.client.util.Key
88+
private StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance upcomingMaintenance;
89+
90+
/**
91+
* Optional. The date when the current maintenance version was released.
92+
* @return value or {@code null} for none
93+
*/
94+
public GoogleTypeDate getCurrentVersionReleaseDate() {
95+
return currentVersionReleaseDate;
96+
}
97+
98+
/**
99+
* Optional. The date when the current maintenance version was released.
100+
* @param currentVersionReleaseDate currentVersionReleaseDate or {@code null} for none
101+
*/
102+
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setCurrentVersionReleaseDate(GoogleTypeDate currentVersionReleaseDate) {
103+
this.currentVersionReleaseDate = currentVersionReleaseDate;
104+
return this;
105+
}
106+
60107
/**
61108
* Optional. List of Deny maintenance period for the database resource.
62109
* @return value or {@code null} for none
@@ -74,6 +121,25 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setDenyMaint
74121
return this;
75122
}
76123

124+
/**
125+
* Optional. Whether the instance is in stopped state. This information is temporarily being
126+
* captured in maintenanceInfo, till STOPPED state is supported by DB Center.
127+
* @return value or {@code null} for none
128+
*/
129+
public java.lang.Boolean getIsInstanceStopped() {
130+
return isInstanceStopped;
131+
}
132+
133+
/**
134+
* Optional. Whether the instance is in stopped state. This information is temporarily being
135+
* captured in maintenanceInfo, till STOPPED state is supported by DB Center.
136+
* @param isInstanceStopped isInstanceStopped or {@code null} for none
137+
*/
138+
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setIsInstanceStopped(java.lang.Boolean isInstanceStopped) {
139+
this.isInstanceStopped = isInstanceStopped;
140+
return this;
141+
}
142+
77143
/**
78144
* Optional. Maintenance window for the database resource.
79145
* @return value or {@code null} for none
@@ -91,6 +157,23 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenan
91157
return this;
92158
}
93159

160+
/**
161+
* Output only. Current state of maintenance on the database resource.
162+
* @return value or {@code null} for none
163+
*/
164+
public java.lang.String getMaintenanceState() {
165+
return maintenanceState;
166+
}
167+
168+
/**
169+
* Output only. Current state of maintenance on the database resource.
170+
* @param maintenanceState maintenanceState or {@code null} for none
171+
*/
172+
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenanceState(java.lang.String maintenanceState) {
173+
this.maintenanceState = maintenanceState;
174+
return this;
175+
}
176+
94177
/**
95178
* Optional. Current Maintenance version of the database resource. Example:
96179
* "MYSQL_8_0_41.R20250531.01_15"
@@ -110,6 +193,25 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenan
110193
return this;
111194
}
112195

196+
/**
197+
* Optional. Upcoming maintenance for the database resource. This field is populated once SLM
198+
* generates and publishes upcoming maintenance window.
199+
* @return value or {@code null} for none
200+
*/
201+
public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance getUpcomingMaintenance() {
202+
return upcomingMaintenance;
203+
}
204+
205+
/**
206+
* Optional. Upcoming maintenance for the database resource. This field is populated once SLM
207+
* generates and publishes upcoming maintenance window.
208+
* @param upcomingMaintenance upcomingMaintenance or {@code null} for none
209+
*/
210+
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setUpcomingMaintenance(StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance upcomingMaintenance) {
211+
this.upcomingMaintenance = upcomingMaintenance;
212+
return this;
213+
}
214+
113215
@Override
114216
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo set(String fieldName, Object value) {
115217
return (StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo) super.set(fieldName, value);

0 commit comments

Comments
 (0)