Skip to content

Commit be80d32

Browse files
1 parent c78ad07 commit be80d32

28 files changed

+1984
-12
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-rev20250226-2.0.0</version>
25+
<version>v1-rev20250310-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-rev20250226-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20250310-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3018,6 +3018,29 @@ public List setDatabaseVersion(java.lang.String databaseVersion) {
30183018
return this;
30193019
}
30203020

3021+
/**
3022+
* Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of
3023+
* database flags if unspecified.
3024+
*/
3025+
@com.google.api.client.util.Key
3026+
private java.lang.String flagScope;
3027+
3028+
/** Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database
3029+
flags if unspecified.
3030+
*/
3031+
public java.lang.String getFlagScope() {
3032+
return flagScope;
3033+
}
3034+
3035+
/**
3036+
* Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of
3037+
* database flags if unspecified.
3038+
*/
3039+
public List setFlagScope(java.lang.String flagScope) {
3040+
this.flagScope = flagScope;
3041+
return this;
3042+
}
3043+
30213044
@Override
30223045
public List set(String parameterName, Object value) {
30233046
return (List) super.set(parameterName, value);

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ public final class Backup extends com.google.api.client.json.GenericJson {
5151
@com.google.api.client.util.Key
5252
private java.lang.String backupRun;
5353

54+
/**
55+
* Output only. The database version of the instance of when this backup was made.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.String databaseVersion;
60+
5461
/**
5562
* The description of this backup.
5663
* The value may be {@code null}.
@@ -248,6 +255,23 @@ public Backup setBackupRun(java.lang.String backupRun) {
248255
return this;
249256
}
250257

258+
/**
259+
* Output only. The database version of the instance of when this backup was made.
260+
* @return value or {@code null} for none
261+
*/
262+
public java.lang.String getDatabaseVersion() {
263+
return databaseVersion;
264+
}
265+
266+
/**
267+
* Output only. The database version of the instance of when this backup was made.
268+
* @param databaseVersion databaseVersion or {@code null} for none
269+
*/
270+
public Backup setDatabaseVersion(java.lang.String databaseVersion) {
271+
this.databaseVersion = databaseVersion;
272+
return this;
273+
}
274+
251275
/**
252276
* The description of this backup.
253277
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class BackupRun extends com.google.api.client.json.GenericJson {
3636
@com.google.api.client.util.Key
3737
private java.lang.String backupKind;
3838

39+
/**
40+
* Output only. The instance database version when this backup was made.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String databaseVersion;
45+
3946
/**
4047
* The description of this run, only applicable to on-demand backups.
4148
* The value may be {@code null}.
@@ -179,6 +186,23 @@ public BackupRun setBackupKind(java.lang.String backupKind) {
179186
return this;
180187
}
181188

189+
/**
190+
* Output only. The instance database version when this backup was made.
191+
* @return value or {@code null} for none
192+
*/
193+
public java.lang.String getDatabaseVersion() {
194+
return databaseVersion;
195+
}
196+
197+
/**
198+
* Output only. The instance database version when this backup was made.
199+
* @param databaseVersion databaseVersion or {@code null} for none
200+
*/
201+
public BackupRun setDatabaseVersion(java.lang.String databaseVersion) {
202+
this.databaseVersion = databaseVersion;
203+
return this;
204+
}
205+
182206
/**
183207
* The description of this run, only applicable to on-demand backups.
184208
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
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+
* Details of a single node of a read pool.
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 ConnectPoolNodeConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. The DNS name of the node.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String dnsName;
38+
39+
/**
40+
* Output only. The list of DNS names used by this node.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<DnsNameMapping> dnsNames;
45+
46+
/**
47+
* Output only. Mappings containing IP addresses that can be used to connect to the node.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.util.List<IpMapping> ipAddresses;
52+
53+
/**
54+
* Output only. The name of the node. Doesn't include the project ID.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.String name;
59+
60+
/**
61+
* Output only. The DNS name of the node.
62+
* @return value or {@code null} for none
63+
*/
64+
public java.lang.String getDnsName() {
65+
return dnsName;
66+
}
67+
68+
/**
69+
* Output only. The DNS name of the node.
70+
* @param dnsName dnsName or {@code null} for none
71+
*/
72+
public ConnectPoolNodeConfig setDnsName(java.lang.String dnsName) {
73+
this.dnsName = dnsName;
74+
return this;
75+
}
76+
77+
/**
78+
* Output only. The list of DNS names used by this node.
79+
* @return value or {@code null} for none
80+
*/
81+
public java.util.List<DnsNameMapping> getDnsNames() {
82+
return dnsNames;
83+
}
84+
85+
/**
86+
* Output only. The list of DNS names used by this node.
87+
* @param dnsNames dnsNames or {@code null} for none
88+
*/
89+
public ConnectPoolNodeConfig setDnsNames(java.util.List<DnsNameMapping> dnsNames) {
90+
this.dnsNames = dnsNames;
91+
return this;
92+
}
93+
94+
/**
95+
* Output only. Mappings containing IP addresses that can be used to connect to the node.
96+
* @return value or {@code null} for none
97+
*/
98+
public java.util.List<IpMapping> getIpAddresses() {
99+
return ipAddresses;
100+
}
101+
102+
/**
103+
* Output only. Mappings containing IP addresses that can be used to connect to the node.
104+
* @param ipAddresses ipAddresses or {@code null} for none
105+
*/
106+
public ConnectPoolNodeConfig setIpAddresses(java.util.List<IpMapping> ipAddresses) {
107+
this.ipAddresses = ipAddresses;
108+
return this;
109+
}
110+
111+
/**
112+
* Output only. The name of the node. Doesn't include the project ID.
113+
* @return value or {@code null} for none
114+
*/
115+
public java.lang.String getName() {
116+
return name;
117+
}
118+
119+
/**
120+
* Output only. The name of the node. Doesn't include the project ID.
121+
* @param name name or {@code null} for none
122+
*/
123+
public ConnectPoolNodeConfig setName(java.lang.String name) {
124+
this.name = name;
125+
return this;
126+
}
127+
128+
@Override
129+
public ConnectPoolNodeConfig set(String fieldName, Object value) {
130+
return (ConnectPoolNodeConfig) super.set(fieldName, value);
131+
}
132+
133+
@Override
134+
public ConnectPoolNodeConfig clone() {
135+
return (ConnectPoolNodeConfig) super.clone();
136+
}
137+
138+
}

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

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,26 @@ public final class ConnectSettings extends com.google.api.client.json.GenericJso
8686
@com.google.api.client.util.Key
8787
private java.lang.String kind;
8888

89+
/**
90+
* The number of nodes in a read pool.
91+
* The value may be {@code null}.
92+
*/
93+
@com.google.api.client.util.Key
94+
private java.lang.Integer nodeCount;
95+
96+
/**
97+
* Output only. Entries containing information about each node of the read pool.
98+
* The value may be {@code null}.
99+
*/
100+
@com.google.api.client.util.Key
101+
private java.util.List<ConnectPoolNodeConfig> nodes;
102+
103+
static {
104+
// hack to force ProGuard to consider ConnectPoolNodeConfig used, since otherwise it would be stripped out
105+
// see https://github.com/google/google-api-java-client/issues/543
106+
com.google.api.client.util.Data.nullOf(ConnectPoolNodeConfig.class);
107+
}
108+
89109
/**
90110
* Whether PSC connectivity is enabled for this instance.
91111
* The value may be {@code null}.
@@ -250,6 +270,40 @@ public ConnectSettings setKind(java.lang.String kind) {
250270
return this;
251271
}
252272

273+
/**
274+
* The number of nodes in a read pool.
275+
* @return value or {@code null} for none
276+
*/
277+
public java.lang.Integer getNodeCount() {
278+
return nodeCount;
279+
}
280+
281+
/**
282+
* The number of nodes in a read pool.
283+
* @param nodeCount nodeCount or {@code null} for none
284+
*/
285+
public ConnectSettings setNodeCount(java.lang.Integer nodeCount) {
286+
this.nodeCount = nodeCount;
287+
return this;
288+
}
289+
290+
/**
291+
* Output only. Entries containing information about each node of the read pool.
292+
* @return value or {@code null} for none
293+
*/
294+
public java.util.List<ConnectPoolNodeConfig> getNodes() {
295+
return nodes;
296+
}
297+
298+
/**
299+
* Output only. Entries containing information about each node of the read pool.
300+
* @param nodes nodes or {@code null} for none
301+
*/
302+
public ConnectSettings setNodes(java.util.List<ConnectPoolNodeConfig> nodes) {
303+
this.nodes = nodes;
304+
return this;
305+
}
306+
253307
/**
254308
* Whether PSC connectivity is enabled for this instance.
255309
* @return value or {@code null} for none

0 commit comments

Comments
 (0)