Skip to content

Commit beaa9bd

Browse files
1 parent 943b880 commit beaa9bd

File tree

7 files changed

+217
-6
lines changed

7 files changed

+217
-6
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-rev20240912-2.0.0</version>
25+
<version>v1-rev20240925-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-rev20240912-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20240925-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3242,6 +3242,77 @@ public Delete setInstance(java.lang.String instance) {
32423242
return this;
32433243
}
32443244

3245+
/** Flag to opt-in for final backup. By default, it is turned off. */
3246+
@com.google.api.client.util.Key
3247+
private java.lang.Boolean enableFinalBackup;
3248+
3249+
/** Flag to opt-in for final backup. By default, it is turned off.
3250+
*/
3251+
public java.lang.Boolean getEnableFinalBackup() {
3252+
return enableFinalBackup;
3253+
}
3254+
3255+
/** Flag to opt-in for final backup. By default, it is turned off. */
3256+
public Delete setEnableFinalBackup(java.lang.Boolean enableFinalBackup) {
3257+
this.enableFinalBackup = enableFinalBackup;
3258+
return this;
3259+
}
3260+
3261+
/** Optional. The description of the final backup. */
3262+
@com.google.api.client.util.Key
3263+
private java.lang.String finalBackupDescription;
3264+
3265+
/** Optional. The description of the final backup.
3266+
*/
3267+
public java.lang.String getFinalBackupDescription() {
3268+
return finalBackupDescription;
3269+
}
3270+
3271+
/** Optional. The description of the final backup. */
3272+
public Delete setFinalBackupDescription(java.lang.String finalBackupDescription) {
3273+
this.finalBackupDescription = finalBackupDescription;
3274+
return this;
3275+
}
3276+
3277+
/**
3278+
* Optional. Final Backup expiration time. Timestamp in UTC of when this resource is
3279+
* considered expired.
3280+
*/
3281+
@com.google.api.client.util.Key
3282+
private String finalBackupExpiryTime;
3283+
3284+
/** Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered
3285+
expired.
3286+
*/
3287+
public String getFinalBackupExpiryTime() {
3288+
return finalBackupExpiryTime;
3289+
}
3290+
3291+
/**
3292+
* Optional. Final Backup expiration time. Timestamp in UTC of when this resource is
3293+
* considered expired.
3294+
*/
3295+
public Delete setFinalBackupExpiryTime(String finalBackupExpiryTime) {
3296+
this.finalBackupExpiryTime = finalBackupExpiryTime;
3297+
return this;
3298+
}
3299+
3300+
/** Optional. Retention period of the final backup. */
3301+
@com.google.api.client.util.Key
3302+
private java.lang.Long finalBackupTtlDays;
3303+
3304+
/** Optional. Retention period of the final backup.
3305+
*/
3306+
public java.lang.Long getFinalBackupTtlDays() {
3307+
return finalBackupTtlDays;
3308+
}
3309+
3310+
/** Optional. Retention period of the final backup. */
3311+
public Delete setFinalBackupTtlDays(java.lang.Long finalBackupTtlDays) {
3312+
this.finalBackupTtlDays = finalBackupTtlDays;
3313+
return this;
3314+
}
3315+
32453316
@Override
32463317
public Delete set(String parameterName, Object value) {
32473318
return (Delete) super.set(parameterName, value);
@@ -6842,6 +6913,32 @@ public List setProject(java.lang.String project) {
68426913
return this;
68436914
}
68446915

6916+
/**
6917+
* Optional. A filter string that follows the rules of EBNF grammar
6918+
* (https://google.aip.dev/assets/misc/ebnf-filtering.txt). Cloud SQL provides filters for
6919+
* status, operationType, and startTime.
6920+
*/
6921+
@com.google.api.client.util.Key
6922+
private java.lang.String filter;
6923+
6924+
/** Optional. A filter string that follows the rules of EBNF grammar
6925+
(https://google.aip.dev/assets/misc/ebnf-filtering.txt). Cloud SQL provides filters for status,
6926+
operationType, and startTime.
6927+
*/
6928+
public java.lang.String getFilter() {
6929+
return filter;
6930+
}
6931+
6932+
/**
6933+
* Optional. A filter string that follows the rules of EBNF grammar
6934+
* (https://google.aip.dev/assets/misc/ebnf-filtering.txt). Cloud SQL provides filters for
6935+
* status, operationType, and startTime.
6936+
*/
6937+
public List setFilter(java.lang.String filter) {
6938+
this.filter = filter;
6939+
return this;
6940+
}
6941+
68456942
/** Cloud SQL instance ID. This does not include the project ID. */
68466943
@com.google.api.client.util.Key
68476944
private java.lang.String instance;

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ public final class BackupContext extends com.google.api.client.json.GenericJson
4343
@com.google.api.client.util.Key
4444
private java.lang.String kind;
4545

46+
/**
47+
* The name of the backup. Format: projects/{project}/backups/{backup}
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String name;
52+
4653
/**
4754
* The identifier of the backup.
4855
* @return value or {@code null} for none
@@ -77,6 +84,23 @@ public BackupContext setKind(java.lang.String kind) {
7784
return this;
7885
}
7986

87+
/**
88+
* The name of the backup. Format: projects/{project}/backups/{backup}
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.String getName() {
92+
return name;
93+
}
94+
95+
/**
96+
* The name of the backup. Format: projects/{project}/backups/{backup}
97+
* @param name name or {@code null} for none
98+
*/
99+
public BackupContext setName(java.lang.String name) {
100+
this.name = name;
101+
return this;
102+
}
103+
80104
@Override
81105
public BackupContext set(String fieldName, Object value) {
82106
return (BackupContext) super.set(fieldName, value);

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

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

32+
/**
33+
* The name of the backup to restore from in following format: projects/{project-
34+
* id}/backups/{backup-uid} Only one of restore_backup_context or backup can be passed to the
35+
* input.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String backup;
40+
3241
/**
3342
* Parameters required to perform the restore backup operation.
3443
* The value may be {@code null}.
3544
*/
3645
@com.google.api.client.util.Key
3746
private RestoreBackupContext restoreBackupContext;
3847

48+
/**
49+
* Optional. Restore instance settings overrides the instance settings stored as part of the
50+
* backup. Instance's major database version cannot be changed and the disk size can only be
51+
* increased. This feature is only available for restores to new instances using the backup name.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private DatabaseInstance restoreInstanceSettings;
56+
57+
/**
58+
* The name of the backup to restore from in following format: projects/{project-
59+
* id}/backups/{backup-uid} Only one of restore_backup_context or backup can be passed to the
60+
* input.
61+
* @return value or {@code null} for none
62+
*/
63+
public java.lang.String getBackup() {
64+
return backup;
65+
}
66+
67+
/**
68+
* The name of the backup to restore from in following format: projects/{project-
69+
* id}/backups/{backup-uid} Only one of restore_backup_context or backup can be passed to the
70+
* input.
71+
* @param backup backup or {@code null} for none
72+
*/
73+
public InstancesRestoreBackupRequest setBackup(java.lang.String backup) {
74+
this.backup = backup;
75+
return this;
76+
}
77+
3978
/**
4079
* Parameters required to perform the restore backup operation.
4180
* @return value or {@code null} for none
@@ -53,6 +92,27 @@ public InstancesRestoreBackupRequest setRestoreBackupContext(RestoreBackupContex
5392
return this;
5493
}
5594

95+
/**
96+
* Optional. Restore instance settings overrides the instance settings stored as part of the
97+
* backup. Instance's major database version cannot be changed and the disk size can only be
98+
* increased. This feature is only available for restores to new instances using the backup name.
99+
* @return value or {@code null} for none
100+
*/
101+
public DatabaseInstance getRestoreInstanceSettings() {
102+
return restoreInstanceSettings;
103+
}
104+
105+
/**
106+
* Optional. Restore instance settings overrides the instance settings stored as part of the
107+
* backup. Instance's major database version cannot be changed and the disk size can only be
108+
* increased. This feature is only available for restores to new instances using the backup name.
109+
* @param restoreInstanceSettings restoreInstanceSettings or {@code null} for none
110+
*/
111+
public InstancesRestoreBackupRequest setRestoreInstanceSettings(DatabaseInstance restoreInstanceSettings) {
112+
this.restoreInstanceSettings = restoreInstanceSettings;
113+
return this;
114+
}
115+
56116
@Override
57117
public InstancesRestoreBackupRequest set(String fieldName, Object value) {
58118
return (InstancesRestoreBackupRequest) super.set(fieldName, value);

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,19 @@ public final class OperationsListResponse extends com.google.api.client.json.Gen
5757
@com.google.api.client.util.Key
5858
private java.lang.String nextPageToken;
5959

60+
/**
61+
* List of warnings that occurred while handling the request.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.util.List<ApiWarning> warnings;
66+
67+
static {
68+
// hack to force ProGuard to consider ApiWarning used, since otherwise it would be stripped out
69+
// see https://github.com/google/google-api-java-client/issues/543
70+
com.google.api.client.util.Data.nullOf(ApiWarning.class);
71+
}
72+
6073
/**
6174
* List of operation resources.
6275
* @return value or {@code null} for none
@@ -110,6 +123,23 @@ public OperationsListResponse setNextPageToken(java.lang.String nextPageToken) {
110123
return this;
111124
}
112125

126+
/**
127+
* List of warnings that occurred while handling the request.
128+
* @return value or {@code null} for none
129+
*/
130+
public java.util.List<ApiWarning> getWarnings() {
131+
return warnings;
132+
}
133+
134+
/**
135+
* List of warnings that occurred while handling the request.
136+
* @param warnings warnings or {@code null} for none
137+
*/
138+
public OperationsListResponse setWarnings(java.util.List<ApiWarning> warnings) {
139+
this.warnings = warnings;
140+
return this;
141+
}
142+
113143
@Override
114144
public OperationsListResponse set(String fieldName, Object value) {
115145
return (OperationsListResponse) super.set(fieldName, value);

clients/google-api-services-sqladmin/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-sqladmin</artifactId>
11-
<version>v1-rev20240912-2.0.0</version>
12-
<name>Cloud SQL Admin API v1-rev20240912-2.0.0</name>
11+
<version>v1-rev20240925-2.0.0</version>
12+
<name>Cloud SQL Admin API v1-rev20240925-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)