Skip to content

Commit a3b8e9a

Browse files
1 parent e0dbed2 commit a3b8e9a

File tree

18 files changed

+448
-415
lines changed

18 files changed

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

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

Lines changed: 10 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -2389,8 +2389,8 @@ public ListServerCertificates set(String parameterName, Object value) {
23892389
}
23902390
/**
23912391
* Rotates the server certificate version to one previously added with the addServerCertificate
2392-
* method. For instances not using Certificate Authority Service (CAS) server CA, please use
2393-
* RotateServerCa instead.
2392+
* method. For instances not using Certificate Authority Service (CAS) server CA, use RotateServerCa
2393+
* instead.
23942394
*
23952395
* Create a request for the method "instances.RotateServerCertificate".
23962396
*
@@ -2415,7 +2415,7 @@ public class RotateServerCertificate extends SQLAdminRequest<com.google.api.serv
24152415

24162416
/**
24172417
* Rotates the server certificate version to one previously added with the addServerCertificate
2418-
* method. For instances not using Certificate Authority Service (CAS) server CA, please use
2418+
* method. For instances not using Certificate Authority Service (CAS) server CA, use
24192419
* RotateServerCa instead.
24202420
*
24212421
* Create a request for the method "instances.RotateServerCertificate".
@@ -2685,7 +2685,7 @@ public AcquireSsrsLease set(String parameterName, Object value) {
26852685
* prepare for a certificate rotation. If a CA version was previously added but never used in a
26862686
* certificate rotation, this operation replaces that version. There cannot be more than one CA
26872687
* version waiting to be rotated in. For instances that have enabled Certificate Authority Service
2688-
* (CAS) based server CA, please use AddServerCertificate to add a new server certificate.
2688+
* (CAS) based server CA, use AddServerCertificate to add a new server certificate.
26892689
*
26902690
* Create a request for the method "instances.addServerCa".
26912691
*
@@ -2711,7 +2711,7 @@ public class AddServerCa extends SQLAdminRequest<com.google.api.services.sqladmi
27112711
* prepare for a certificate rotation. If a CA version was previously added but never used in a
27122712
* certificate rotation, this operation replaces that version. There cannot be more than one CA
27132713
* version waiting to be rotated in. For instances that have enabled Certificate Authority Service
2714-
* (CAS) based server CA, please use AddServerCertificate to add a new server certificate.
2714+
* (CAS) based server CA, use AddServerCertificate to add a new server certificate.
27152715
*
27162716
* Create a request for the method "instances.addServerCa".
27172717
*
@@ -2828,7 +2828,7 @@ public AddServerCa set(String parameterName, Object value) {
28282828
* Authority Service (CAS) server CA. Required to prepare for a certificate rotation. If a server
28292829
* certificate version was previously added but never used in a certificate rotation, this operation
28302830
* replaces that version. There cannot be more than one certificate version waiting to be rotated
2831-
* in. For instances not using CAS server CA, please use AddServerCa instead.
2831+
* in. For instances not using CAS server CA, use AddServerCa instead.
28322832
*
28332833
* Create a request for the method "instances.addServerCertificate".
28342834
*
@@ -2855,7 +2855,7 @@ public class AddServerCertificate extends SQLAdminRequest<com.google.api.service
28552855
* Authority Service (CAS) server CA. Required to prepare for a certificate rotation. If a server
28562856
* certificate version was previously added but never used in a certificate rotation, this
28572857
* operation replaces that version. There cannot be more than one certificate version waiting to
2858-
* be rotated in. For instances not using CAS server CA, please use AddServerCa instead.
2858+
* be rotated in. For instances not using CAS server CA, use AddServerCa instead.
28592859
*
28602860
* Create a request for the method "instances.addServerCertificate".
28612861
*
@@ -3242,77 +3242,6 @@ 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-
33163245
@Override
33173246
public Delete set(String parameterName, Object value) {
33183247
return (Delete) super.set(parameterName, value);
@@ -5644,7 +5573,7 @@ public RestoreBackup set(String parameterName, Object value) {
56445573
/**
56455574
* Rotates the server certificate to one signed by the Certificate Authority (CA) version previously
56465575
* added with the addServerCA method. For instances that have enabled Certificate Authority Service
5647-
* (CAS) based server CA, please use RotateServerCertificate to rotate the server certificate.
5576+
* (CAS) based server CA, use RotateServerCertificate to rotate the server certificate.
56485577
*
56495578
* Create a request for the method "instances.rotateServerCa".
56505579
*
@@ -5669,8 +5598,8 @@ public class RotateServerCa extends SQLAdminRequest<com.google.api.services.sqla
56695598
/**
56705599
* Rotates the server certificate to one signed by the Certificate Authority (CA) version
56715600
* previously added with the addServerCA method. For instances that have enabled Certificate
5672-
* Authority Service (CAS) based server CA, please use RotateServerCertificate to rotate the
5673-
* server certificate.
5601+
* Authority Service (CAS) based server CA, use RotateServerCertificate to rotate the server
5602+
* certificate.
56745603
*
56755604
* Create a request for the method "instances.rotateServerCa".
56765605
*
@@ -6913,32 +6842,6 @@ public List setProject(java.lang.String project) {
69136842
return this;
69146843
}
69156844

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-
69426845
/** Cloud SQL instance ID. This does not include the project ID. */
69436846
@com.google.api.client.util.Key
69446847
private java.lang.String instance;

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@ 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-
5346
/**
5447
* The identifier of the backup.
5548
* @return value or {@code null} for none
@@ -84,23 +77,6 @@ public BackupContext setKind(java.lang.String kind) {
8477
return this;
8578
}
8679

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-
10480
@Override
10581
public BackupContext set(String fieldName, Object value) {
10682
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: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -29,52 +29,13 @@
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-
4132
/**
4233
* Parameters required to perform the restore backup operation.
4334
* The value may be {@code null}.
4435
*/
4536
@com.google.api.client.util.Key
4637
private RestoreBackupContext restoreBackupContext;
4738

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-
7839
/**
7940
* Parameters required to perform the restore backup operation.
8041
* @return value or {@code null} for none
@@ -92,27 +53,6 @@ public InstancesRestoreBackupRequest setRestoreBackupContext(RestoreBackupContex
9253
return this;
9354
}
9455

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-
11656
@Override
11757
public InstancesRestoreBackupRequest set(String fieldName, Object value) {
11858
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: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,6 @@ 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-
7360
/**
7461
* List of operation resources.
7562
* @return value or {@code null} for none
@@ -123,23 +110,6 @@ public OperationsListResponse setNextPageToken(java.lang.String nextPageToken) {
123110
return this;
124111
}
125112

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-
143113
@Override
144114
public OperationsListResponse set(String fieldName, Object value) {
145115
return (OperationsListResponse) super.set(fieldName, value);

0 commit comments

Comments
 (0)