Skip to content

Commit a4b0139

Browse files
chore: regenerate alloydb client
1 parent 5ec85f7 commit a4b0139

18 files changed

+552
-18
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-rev20260122-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-rev20260122-2.0.0'
3939
}
4040
```
4141

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/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.java

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
4949
@com.google.api.client.util.Key
5050
private StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule maintenanceSchedule;
5151

52+
/**
53+
* Output only. Current state of maintenance on the database resource.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.lang.String maintenanceState;
58+
5259
/**
5360
* Optional. Current Maintenance version of the database resource. Example:
5461
* "MYSQL_8_0_41.R20250531.01_15"
@@ -57,6 +64,14 @@ public final class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
5764
@com.google.api.client.util.Key
5865
private java.lang.String maintenanceVersion;
5966

67+
/**
68+
* Optional. Upcoming maintenance for the database resource. This field is populated once SLM
69+
* generates and publishes upcoming maintenance window.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance upcomingMaintenance;
74+
6075
/**
6176
* Optional. List of Deny maintenance period for the database resource.
6277
* @return value or {@code null} for none
@@ -91,6 +106,23 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenan
91106
return this;
92107
}
93108

109+
/**
110+
* Output only. Current state of maintenance on the database resource.
111+
* @return value or {@code null} for none
112+
*/
113+
public java.lang.String getMaintenanceState() {
114+
return maintenanceState;
115+
}
116+
117+
/**
118+
* Output only. Current state of maintenance on the database resource.
119+
* @param maintenanceState maintenanceState or {@code null} for none
120+
*/
121+
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenanceState(java.lang.String maintenanceState) {
122+
this.maintenanceState = maintenanceState;
123+
return this;
124+
}
125+
94126
/**
95127
* Optional. Current Maintenance version of the database resource. Example:
96128
* "MYSQL_8_0_41.R20250531.01_15"
@@ -110,6 +142,25 @@ public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setMaintenan
110142
return this;
111143
}
112144

145+
/**
146+
* Optional. Upcoming maintenance for the database resource. This field is populated once SLM
147+
* generates and publishes upcoming maintenance window.
148+
* @return value or {@code null} for none
149+
*/
150+
public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance getUpcomingMaintenance() {
151+
return upcomingMaintenance;
152+
}
153+
154+
/**
155+
* Optional. Upcoming maintenance for the database resource. This field is populated once SLM
156+
* generates and publishes upcoming maintenance window.
157+
* @param upcomingMaintenance upcomingMaintenance or {@code null} for none
158+
*/
159+
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo setUpcomingMaintenance(StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance upcomingMaintenance) {
160+
this.upcomingMaintenance = upcomingMaintenance;
161+
return this;
162+
}
163+
113164
@Override
114165
public StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo set(String fieldName, Object value) {
115166
return (StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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+
* Upcoming maintenance for the database resource. This is generated by SLM once the upcoming
21+
* maintenance schedule is published.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The end time of the upcoming maintenance.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String endTime;
39+
40+
/**
41+
* Optional. The start time of the upcoming maintenance.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private String startTime;
46+
47+
/**
48+
* Optional. The end time of the upcoming maintenance.
49+
* @return value or {@code null} for none
50+
*/
51+
public String getEndTime() {
52+
return endTime;
53+
}
54+
55+
/**
56+
* Optional. The end time of the upcoming maintenance.
57+
* @param endTime endTime or {@code null} for none
58+
*/
59+
public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setEndTime(String endTime) {
60+
this.endTime = endTime;
61+
return this;
62+
}
63+
64+
/**
65+
* Optional. The start time of the upcoming maintenance.
66+
* @return value or {@code null} for none
67+
*/
68+
public String getStartTime() {
69+
return startTime;
70+
}
71+
72+
/**
73+
* Optional. The start time of the upcoming maintenance.
74+
* @param startTime startTime or {@code null} for none
75+
*/
76+
public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setStartTime(String startTime) {
77+
this.startTime = startTime;
78+
return this;
79+
}
80+
81+
@Override
82+
public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance set(String fieldName, Object value) {
83+
return (StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance clone() {
88+
return (StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance) super.clone();
89+
}
90+
91+
}

clients/google-api-services-alloydb/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-alloydb</artifactId>
11-
<version>v1-rev20260108-2.0.0</version>
12-
<name>AlloyDB API v1-rev20260108-2.0.0</name>
11+
<version>v1-rev20260122-2.0.0</version>
12+
<name>AlloyDB API v1-rev20260122-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-alloydb/v1/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-rev20260122-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-rev20260122-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-alloydb/v1alpha/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>v1alpha-rev20260108-2.0.0</version>
25+
<version>v1alpha-rev20260122-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:v1alpha-rev20260108-2.0.0'
38+
implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20260122-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/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
@@ -429,6 +440,31 @@ public Instance setCreateTime(String createTime) {
429440
return this;
430441
}
431442

443+
/**
444+
* Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows
445+
* authorized users to connect to the instance from the public internet using the `executeSql`
446+
* API, even for private IP instances. If this is not specified, the data API is enabled by
447+
* default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow
448+
* Google internal services as well.
449+
* @return value or {@code null} for none
450+
*/
451+
public java.lang.String getDataApiAccess() {
452+
return dataApiAccess;
453+
}
454+
455+
/**
456+
* Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows
457+
* authorized users to connect to the instance from the public internet using the `executeSql`
458+
* API, even for private IP instances. If this is not specified, the data API is enabled by
459+
* default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow
460+
* Google internal services as well.
461+
* @param dataApiAccess dataApiAccess or {@code null} for none
462+
*/
463+
public Instance setDataApiAccess(java.lang.String dataApiAccess) {
464+
this.dataApiAccess = dataApiAccess;
465+
return this;
466+
}
467+
432468
/**
433469
* Database flags. Set at the instance level. They are copied from the primary instance on
434470
* secondary instance creation. Flags that have restrictions default to the value at primary

0 commit comments

Comments
 (0)