Skip to content

Commit 3bfd328

Browse files
1 parent bc6c418 commit 3bfd328

File tree

7 files changed

+217
-6
lines changed

7 files changed

+217
-6
lines changed

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

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

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

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

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

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

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)