Skip to content

Commit 4d280e7

Browse files
1 parent ea13a06 commit 4d280e7

File tree

11 files changed

+455
-7
lines changed

11 files changed

+455
-7
lines changed

clients/google-api-services-sqladmin/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-sqladmin</artifactId>
25-
<version>v1-rev20250823-2.0.0</version>
25+
<version>v1-rev20250908-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-sqladmin:v1-rev20250823-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20250908-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6469,6 +6469,22 @@ public ResetSslConfig setInstance(java.lang.String instance) {
64696469
return this;
64706470
}
64716471

6472+
/** Optional. Reset SSL mode to use. */
6473+
@com.google.api.client.util.Key
6474+
private java.lang.String mode;
6475+
6476+
/** Optional. Reset SSL mode to use.
6477+
*/
6478+
public java.lang.String getMode() {
6479+
return mode;
6480+
}
6481+
6482+
/** Optional. Reset SSL mode to use. */
6483+
public ResetSslConfig setMode(java.lang.String mode) {
6484+
this.mode = mode;
6485+
return this;
6486+
}
6487+
64726488
@Override
64736489
public ResetSslConfig set(String parameterName, Object value) {
64746490
return (ResetSslConfig) super.set(parameterName, value);

clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/Backup.java

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

1919
/**
20-
* A backup resource. Next ID: 30
20+
* A backup resource.
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 Cloud SQL Admin API. For a detailed explanation see:
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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.sqladmin.model;
18+
19+
/**
20+
* Represents a notice or warning message from the database.
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 Cloud SQL Admin 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 Message extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The full message string. For PostgreSQL, this is a formatted string that may include severity,
34+
* code, and the notice/warning message. For MySQL, this contains the warning message.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String message;
39+
40+
/**
41+
* The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for MySQL).
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String severity;
46+
47+
/**
48+
* The full message string. For PostgreSQL, this is a formatted string that may include severity,
49+
* code, and the notice/warning message. For MySQL, this contains the warning message.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.String getMessage() {
53+
return message;
54+
}
55+
56+
/**
57+
* The full message string. For PostgreSQL, this is a formatted string that may include severity,
58+
* code, and the notice/warning message. For MySQL, this contains the warning message.
59+
* @param message message or {@code null} for none
60+
*/
61+
public Message setMessage(java.lang.String message) {
62+
this.message = message;
63+
return this;
64+
}
65+
66+
/**
67+
* The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for MySQL).
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getSeverity() {
71+
return severity;
72+
}
73+
74+
/**
75+
* The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for MySQL).
76+
* @param severity severity or {@code null} for none
77+
*/
78+
public Message setSeverity(java.lang.String severity) {
79+
this.severity = severity;
80+
return this;
81+
}
82+
83+
@Override
84+
public Message set(String fieldName, Object value) {
85+
return (Message) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public Message clone() {
90+
return (Message) super.clone();
91+
}
92+
93+
}
Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
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.sqladmin.model;
18+
19+
/**
20+
* The read pool auto-scale configuration.
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 Cloud SQL Admin 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 ReadPoolAutoScaleConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Indicates whether read pool auto scaling supports scale in operations (removing nodes).
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean disableScaleIn;
38+
39+
/**
40+
* Indicates whether read pool auto scaling is enabled.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.Boolean enabled;
45+
46+
/**
47+
* Maximum number of read pool nodes to be maintained.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.Integer maxNodeCount;
52+
53+
/**
54+
* Minimum number of read pool nodes to be maintained.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.Integer minNodeCount;
59+
60+
/**
61+
* Optional. Target metrics for read pool auto scaling.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.util.List<TargetMetric> targetMetrics;
66+
67+
/**
68+
* Indicates whether read pool auto scaling supports scale in operations (removing nodes).
69+
* @return value or {@code null} for none
70+
*/
71+
public java.lang.Boolean getDisableScaleIn() {
72+
return disableScaleIn;
73+
}
74+
75+
/**
76+
* Indicates whether read pool auto scaling supports scale in operations (removing nodes).
77+
* @param disableScaleIn disableScaleIn or {@code null} for none
78+
*/
79+
public ReadPoolAutoScaleConfig setDisableScaleIn(java.lang.Boolean disableScaleIn) {
80+
this.disableScaleIn = disableScaleIn;
81+
return this;
82+
}
83+
84+
/**
85+
* Indicates whether read pool auto scaling is enabled.
86+
* @return value or {@code null} for none
87+
*/
88+
public java.lang.Boolean getEnabled() {
89+
return enabled;
90+
}
91+
92+
/**
93+
* Indicates whether read pool auto scaling is enabled.
94+
* @param enabled enabled or {@code null} for none
95+
*/
96+
public ReadPoolAutoScaleConfig setEnabled(java.lang.Boolean enabled) {
97+
this.enabled = enabled;
98+
return this;
99+
}
100+
101+
/**
102+
* Maximum number of read pool nodes to be maintained.
103+
* @return value or {@code null} for none
104+
*/
105+
public java.lang.Integer getMaxNodeCount() {
106+
return maxNodeCount;
107+
}
108+
109+
/**
110+
* Maximum number of read pool nodes to be maintained.
111+
* @param maxNodeCount maxNodeCount or {@code null} for none
112+
*/
113+
public ReadPoolAutoScaleConfig setMaxNodeCount(java.lang.Integer maxNodeCount) {
114+
this.maxNodeCount = maxNodeCount;
115+
return this;
116+
}
117+
118+
/**
119+
* Minimum number of read pool nodes to be maintained.
120+
* @return value or {@code null} for none
121+
*/
122+
public java.lang.Integer getMinNodeCount() {
123+
return minNodeCount;
124+
}
125+
126+
/**
127+
* Minimum number of read pool nodes to be maintained.
128+
* @param minNodeCount minNodeCount or {@code null} for none
129+
*/
130+
public ReadPoolAutoScaleConfig setMinNodeCount(java.lang.Integer minNodeCount) {
131+
this.minNodeCount = minNodeCount;
132+
return this;
133+
}
134+
135+
/**
136+
* Optional. Target metrics for read pool auto scaling.
137+
* @return value or {@code null} for none
138+
*/
139+
public java.util.List<TargetMetric> getTargetMetrics() {
140+
return targetMetrics;
141+
}
142+
143+
/**
144+
* Optional. Target metrics for read pool auto scaling.
145+
* @param targetMetrics targetMetrics or {@code null} for none
146+
*/
147+
public ReadPoolAutoScaleConfig setTargetMetrics(java.util.List<TargetMetric> targetMetrics) {
148+
this.targetMetrics = targetMetrics;
149+
return this;
150+
}
151+
152+
@Override
153+
public ReadPoolAutoScaleConfig set(String fieldName, Object value) {
154+
return (ReadPoolAutoScaleConfig) super.set(fieldName, value);
155+
}
156+
157+
@Override
158+
public ReadPoolAutoScaleConfig clone() {
159+
return (ReadPoolAutoScaleConfig) super.clone();
160+
}
161+
162+
}

clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/Settings.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,13 @@ public final class Settings extends com.google.api.client.json.GenericJson {
278278
@com.google.api.client.util.Key
279279
private java.lang.String pricingPlan;
280280

281+
/**
282+
* Optional. The read pool auto-scale configuration for the instance.
283+
* The value may be {@code null}.
284+
*/
285+
@com.google.api.client.util.Key
286+
private ReadPoolAutoScaleConfig readPoolAutoScaleConfig;
287+
281288
/**
282289
* Optional. Configuration value for recreation of replica after certain replication lag
283290
* The value may be {@code null}.
@@ -920,6 +927,23 @@ public Settings setPricingPlan(java.lang.String pricingPlan) {
920927
return this;
921928
}
922929

930+
/**
931+
* Optional. The read pool auto-scale configuration for the instance.
932+
* @return value or {@code null} for none
933+
*/
934+
public ReadPoolAutoScaleConfig getReadPoolAutoScaleConfig() {
935+
return readPoolAutoScaleConfig;
936+
}
937+
938+
/**
939+
* Optional. The read pool auto-scale configuration for the instance.
940+
* @param readPoolAutoScaleConfig readPoolAutoScaleConfig or {@code null} for none
941+
*/
942+
public Settings setReadPoolAutoScaleConfig(ReadPoolAutoScaleConfig readPoolAutoScaleConfig) {
943+
this.readPoolAutoScaleConfig = readPoolAutoScaleConfig;
944+
return this;
945+
}
946+
923947
/**
924948
* Optional. Configuration value for recreation of replica after certain replication lag
925949
* @return value or {@code null} for none

clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/model/SqlInstancesExecuteSqlResponse.java

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,22 @@
2929
@SuppressWarnings("javadoc")
3030
public final class SqlInstancesExecuteSqlResponse extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* A list of notices and warnings generated during query execution. For PostgreSQL, this includes
34+
* all notices and warnings. For MySQL, this includes warnings generated by the last executed
35+
* statement. To retrieve all warnings for a multi-statement query, `SHOW WARNINGS` must be
36+
* executed after each statement.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.util.List<Message> messages;
41+
42+
static {
43+
// hack to force ProGuard to consider Message used, since otherwise it would be stripped out
44+
// see https://github.com/google/google-api-java-client/issues/543
45+
com.google.api.client.util.Data.nullOf(Message.class);
46+
}
47+
3248
/**
3349
* The additional metadata information regarding the execution of the SQL statements.
3450
* The value may be {@code null}.
@@ -49,6 +65,29 @@ public final class SqlInstancesExecuteSqlResponse extends com.google.api.client.
4965
com.google.api.client.util.Data.nullOf(QueryResult.class);
5066
}
5167

68+
/**
69+
* A list of notices and warnings generated during query execution. For PostgreSQL, this includes
70+
* all notices and warnings. For MySQL, this includes warnings generated by the last executed
71+
* statement. To retrieve all warnings for a multi-statement query, `SHOW WARNINGS` must be
72+
* executed after each statement.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.util.List<Message> getMessages() {
76+
return messages;
77+
}
78+
79+
/**
80+
* A list of notices and warnings generated during query execution. For PostgreSQL, this includes
81+
* all notices and warnings. For MySQL, this includes warnings generated by the last executed
82+
* statement. To retrieve all warnings for a multi-statement query, `SHOW WARNINGS` must be
83+
* executed after each statement.
84+
* @param messages messages or {@code null} for none
85+
*/
86+
public SqlInstancesExecuteSqlResponse setMessages(java.util.List<Message> messages) {
87+
this.messages = messages;
88+
return this;
89+
}
90+
5291
/**
5392
* The additional metadata information regarding the execution of the SQL statements.
5493
* @return value or {@code null} for none

0 commit comments

Comments
 (0)