Skip to content

Commit 654aa41

Browse files
1 parent efbc542 commit 654aa41

File tree

13 files changed

+318
-45
lines changed

13 files changed

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

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -696,22 +696,25 @@ public ListBackups setParent(java.lang.String parent) {
696696
}
697697

698698
/**
699-
* Multiple filter queries are separated by spaces. For example, 'instance:abc type:FINAL. You
700-
* can filter by type, instance name, creation time or location.
699+
* Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL,
700+
* 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by
701+
* type, instance, backupInterval.startTime (creation time), or location.
701702
*/
702703
@com.google.api.client.util.Key
703704
private java.lang.String filter;
704705

705-
/** Multiple filter queries are separated by spaces. For example, 'instance:abc type:FINAL. You can
706-
filter by type, instance name, creation time or location.
706+
/** Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL,
707+
'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type,
708+
instance, backupInterval.startTime (creation time), or location.
707709
*/
708710
public java.lang.String getFilter() {
709711
return filter;
710712
}
711713

712714
/**
713-
* Multiple filter queries are separated by spaces. For example, 'instance:abc type:FINAL. You
714-
* can filter by type, instance name, creation time or location.
715+
* Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL,
716+
* 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by
717+
* type, instance, backupInterval.startTime (creation time), or location.
715718
*/
716719
public ListBackups setFilter(java.lang.String filter) {
717720
this.filter = filter;

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

Lines changed: 63 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@ public final class Backup extends com.google.api.client.json.GenericJson {
8080
@com.google.api.client.util.Key
8181
private java.lang.String instance;
8282

83+
/**
84+
* Optional. Output only. Timestamp in UTC of when the instance associated with this backup is
85+
* deleted.
86+
* The value may be {@code null}.
87+
*/
88+
@com.google.api.client.util.Key
89+
private String instanceDeletionTime;
90+
91+
/**
92+
* Optional. Output only. The instance setting of the source instance that's associated with this
93+
* backup.
94+
* The value may be {@code null}.
95+
*/
96+
@com.google.api.client.util.Key
97+
private DatabaseInstance instanceSettings;
98+
8399
/**
84100
* Output only. This is always `sql#backup`.
85101
* The value may be {@code null}.
@@ -164,8 +180,9 @@ public final class Backup extends com.google.api.client.json.GenericJson {
164180
private java.lang.String timeZone;
165181

166182
/**
167-
* Input only. The time-to-live (TTL) interval for this resource (in days). For example: ttlDays:7
168-
* means 7 days.
183+
* Input only. The time-to-live (TTL) interval for this resource (in days). For example:
184+
* ttlDays:7, means 7 days from the current time. The expiration time can't exceed 365 days from
185+
* the time that the backup is created.
169186
* The value may be {@code null}.
170187
*/
171188
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
@@ -301,6 +318,44 @@ public Backup setInstance(java.lang.String instance) {
301318
return this;
302319
}
303320

321+
/**
322+
* Optional. Output only. Timestamp in UTC of when the instance associated with this backup is
323+
* deleted.
324+
* @return value or {@code null} for none
325+
*/
326+
public String getInstanceDeletionTime() {
327+
return instanceDeletionTime;
328+
}
329+
330+
/**
331+
* Optional. Output only. Timestamp in UTC of when the instance associated with this backup is
332+
* deleted.
333+
* @param instanceDeletionTime instanceDeletionTime or {@code null} for none
334+
*/
335+
public Backup setInstanceDeletionTime(String instanceDeletionTime) {
336+
this.instanceDeletionTime = instanceDeletionTime;
337+
return this;
338+
}
339+
340+
/**
341+
* Optional. Output only. The instance setting of the source instance that's associated with this
342+
* backup.
343+
* @return value or {@code null} for none
344+
*/
345+
public DatabaseInstance getInstanceSettings() {
346+
return instanceSettings;
347+
}
348+
349+
/**
350+
* Optional. Output only. The instance setting of the source instance that's associated with this
351+
* backup.
352+
* @param instanceSettings instanceSettings or {@code null} for none
353+
*/
354+
public Backup setInstanceSettings(DatabaseInstance instanceSettings) {
355+
this.instanceSettings = instanceSettings;
356+
return this;
357+
}
358+
304359
/**
305360
* Output only. This is always `sql#backup`.
306361
* @return value or {@code null} for none
@@ -501,17 +556,19 @@ public Backup setTimeZone(java.lang.String timeZone) {
501556
}
502557

503558
/**
504-
* Input only. The time-to-live (TTL) interval for this resource (in days). For example: ttlDays:7
505-
* means 7 days.
559+
* Input only. The time-to-live (TTL) interval for this resource (in days). For example:
560+
* ttlDays:7, means 7 days from the current time. The expiration time can't exceed 365 days from
561+
* the time that the backup is created.
506562
* @return value or {@code null} for none
507563
*/
508564
public java.lang.Long getTtlDays() {
509565
return ttlDays;
510566
}
511567

512568
/**
513-
* Input only. The time-to-live (TTL) interval for this resource (in days). For example: ttlDays:7
514-
* means 7 days.
569+
* Input only. The time-to-live (TTL) interval for this resource (in days). For example:
570+
* ttlDays:7, means 7 days from the current time. The expiration time can't exceed 365 days from
571+
* the time that the backup is created.
515572
* @param ttlDays ttlDays or {@code null} for none
516573
*/
517574
public Backup setTtlDays(java.lang.Long ttlDays) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ public final class ConnectSettings extends com.google.api.client.json.GenericJso
6565
@com.google.api.client.util.Key
6666
private java.lang.String dnsName;
6767

68+
/**
69+
* Output only. The list of DNS names used by this instance.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private java.util.List<DnsNameMapping> dnsNames;
74+
6875
/**
6976
* The assigned IP addresses for the instance.
7077
* The value may be {@code null}.
@@ -192,6 +199,23 @@ public ConnectSettings setDnsName(java.lang.String dnsName) {
192199
return this;
193200
}
194201

202+
/**
203+
* Output only. The list of DNS names used by this instance.
204+
* @return value or {@code null} for none
205+
*/
206+
public java.util.List<DnsNameMapping> getDnsNames() {
207+
return dnsNames;
208+
}
209+
210+
/**
211+
* Output only. The list of DNS names used by this instance.
212+
* @param dnsNames dnsNames or {@code null} for none
213+
*/
214+
public ConnectSettings setDnsNames(java.util.List<DnsNameMapping> dnsNames) {
215+
this.dnsNames = dnsNames;
216+
return this;
217+
}
218+
195219
/**
196220
* The assigned IP addresses for the instance.
197221
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ public final class DatabaseInstance extends com.google.api.client.json.GenericJs
107107
@com.google.api.client.util.Key
108108
private java.lang.String dnsName;
109109

110+
/**
111+
* Output only. The list of DNS names used by this instance.
112+
* The value may be {@code null}.
113+
*/
114+
@com.google.api.client.util.Key
115+
private java.util.List<DnsNameMapping> dnsNames;
116+
110117
/**
111118
* This field is deprecated and will be removed from a future version of the API. Use the
112119
* `settings.settingsVersion` field instead.
@@ -587,6 +594,23 @@ public DatabaseInstance setDnsName(java.lang.String dnsName) {
587594
return this;
588595
}
589596

597+
/**
598+
* Output only. The list of DNS names used by this instance.
599+
* @return value or {@code null} for none
600+
*/
601+
public java.util.List<DnsNameMapping> getDnsNames() {
602+
return dnsNames;
603+
}
604+
605+
/**
606+
* Output only. The list of DNS names used by this instance.
607+
* @param dnsNames dnsNames or {@code null} for none
608+
*/
609+
public DatabaseInstance setDnsNames(java.util.List<DnsNameMapping> dnsNames) {
610+
this.dnsNames = dnsNames;
611+
return this;
612+
}
613+
590614
/**
591615
* This field is deprecated and will be removed from a future version of the API. Use the
592616
* `settings.settingsVersion` field instead.
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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+
* DNS metadata.
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 DnsNameMapping extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. The connection type of the DNS name.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String connectionType;
38+
39+
/**
40+
* Output only. The scope that the DNS name applies to.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String dnsScope;
45+
46+
/**
47+
* The DNS name.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String name;
52+
53+
/**
54+
* Output only. The connection type of the DNS name.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getConnectionType() {
58+
return connectionType;
59+
}
60+
61+
/**
62+
* Output only. The connection type of the DNS name.
63+
* @param connectionType connectionType or {@code null} for none
64+
*/
65+
public DnsNameMapping setConnectionType(java.lang.String connectionType) {
66+
this.connectionType = connectionType;
67+
return this;
68+
}
69+
70+
/**
71+
* Output only. The scope that the DNS name applies to.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getDnsScope() {
75+
return dnsScope;
76+
}
77+
78+
/**
79+
* Output only. The scope that the DNS name applies to.
80+
* @param dnsScope dnsScope or {@code null} for none
81+
*/
82+
public DnsNameMapping setDnsScope(java.lang.String dnsScope) {
83+
this.dnsScope = dnsScope;
84+
return this;
85+
}
86+
87+
/**
88+
* The DNS name.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.String getName() {
92+
return name;
93+
}
94+
95+
/**
96+
* The DNS name.
97+
* @param name name or {@code null} for none
98+
*/
99+
public DnsNameMapping setName(java.lang.String name) {
100+
this.name = name;
101+
return this;
102+
}
103+
104+
@Override
105+
public DnsNameMapping set(String fieldName, Object value) {
106+
return (DnsNameMapping) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public DnsNameMapping clone() {
111+
return (DnsNameMapping) super.clone();
112+
}
113+
114+
}

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

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,12 @@ public final class ExportContext extends com.google.api.client.json.GenericJson
4848
* specified, all databases are exported, except for the `mysql` system database. If `fileType` is
4949
* `CSV`, you can specify one database, either by using this property or by using the
5050
* `csvExportOptions.selectQuery` property, which takes precedence over this property. `PostgreSQL
51-
* instances:` You must specify one database to be exported. If `fileType` is `CSV`, this database
52-
* must match the one specified in the `csvExportOptions.selectQuery` property. `SQL Server
53-
* instances:` You must specify one database to be exported, and the `fileType` must be `BAK`.
51+
* instances:` If you don't specify a database by name, all user databases in the instance are
52+
* exported. This excludes system databases and Cloud SQL databases used to manage internal
53+
* operations. Exporting all user databases is only available for directory-formatted parallel
54+
* export. If `fileType` is `CSV`, this database must match the one specified in the
55+
* `csvExportOptions.selectQuery` property. `SQL Server instances:` You must specify one database
56+
* to be exported, and the `fileType` must be `BAK`.
5457
* The value may be {@code null}.
5558
*/
5659
@com.google.api.client.util.Key
@@ -140,9 +143,12 @@ public ExportContext setCsvExportOptions(CsvExportOptions csvExportOptions) {
140143
* specified, all databases are exported, except for the `mysql` system database. If `fileType` is
141144
* `CSV`, you can specify one database, either by using this property or by using the
142145
* `csvExportOptions.selectQuery` property, which takes precedence over this property. `PostgreSQL
143-
* instances:` You must specify one database to be exported. If `fileType` is `CSV`, this database
144-
* must match the one specified in the `csvExportOptions.selectQuery` property. `SQL Server
145-
* instances:` You must specify one database to be exported, and the `fileType` must be `BAK`.
146+
* instances:` If you don't specify a database by name, all user databases in the instance are
147+
* exported. This excludes system databases and Cloud SQL databases used to manage internal
148+
* operations. Exporting all user databases is only available for directory-formatted parallel
149+
* export. If `fileType` is `CSV`, this database must match the one specified in the
150+
* `csvExportOptions.selectQuery` property. `SQL Server instances:` You must specify one database
151+
* to be exported, and the `fileType` must be `BAK`.
146152
* @return value or {@code null} for none
147153
*/
148154
public java.util.List<java.lang.String> getDatabases() {
@@ -154,9 +160,12 @@ public java.util.List<java.lang.String> getDatabases() {
154160
* specified, all databases are exported, except for the `mysql` system database. If `fileType` is
155161
* `CSV`, you can specify one database, either by using this property or by using the
156162
* `csvExportOptions.selectQuery` property, which takes precedence over this property. `PostgreSQL
157-
* instances:` You must specify one database to be exported. If `fileType` is `CSV`, this database
158-
* must match the one specified in the `csvExportOptions.selectQuery` property. `SQL Server
159-
* instances:` You must specify one database to be exported, and the `fileType` must be `BAK`.
163+
* instances:` If you don't specify a database by name, all user databases in the instance are
164+
* exported. This excludes system databases and Cloud SQL databases used to manage internal
165+
* operations. Exporting all user databases is only available for directory-formatted parallel
166+
* export. If `fileType` is `CSV`, this database must match the one specified in the
167+
* `csvExportOptions.selectQuery` property. `SQL Server instances:` You must specify one database
168+
* to be exported, and the `fileType` must be `BAK`.
160169
* @param databases databases or {@code null} for none
161170
*/
162171
public ExportContext setDatabases(java.util.List<java.lang.String> databases) {

0 commit comments

Comments
 (0)