Skip to content

Commit 64fac3c

Browse files
1 parent 50d4e8c commit 64fac3c

File tree

20 files changed

+702
-58
lines changed

20 files changed

+702
-58
lines changed

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

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedis.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,11 @@ public class Clusters {
15801580
* will be created at the backend, and this backup belongs to this collection. Both collection and
15811581
* backup will have a resource name. Backup will be executed for each shard. A replica (primary if
15821582
* nonHA) will be selected to perform the execution. Backup call will be rejected if there is an
1583-
* ongoing backup or update operation.
1583+
* ongoing backup or update operation. Be aware that during preview, if the cluster's internal
1584+
* software version is too old, critical update will be performed before actual backup. Once the
1585+
* internal software version is updated to the minimum version required by the backup feature,
1586+
* subsequent backups will not require critical update. After preview, there will be no critical
1587+
* update needed for backup.
15841588
*
15851589
* Create a request for the method "clusters.backup".
15861590
*
@@ -1611,7 +1615,11 @@ public class Backup extends CloudRedisRequest<com.google.api.services.redis.v1.m
16111615
* will be created at the backend, and this backup belongs to this collection. Both collection and
16121616
* backup will have a resource name. Backup will be executed for each shard. A replica (primary if
16131617
* nonHA) will be selected to perform the execution. Backup call will be rejected if there is an
1614-
* ongoing backup or update operation.
1618+
* ongoing backup or update operation. Be aware that during preview, if the cluster's internal
1619+
* software version is too old, critical update will be performed before actual backup. Once the
1620+
* internal software version is updated to the minimum version required by the backup feature,
1621+
* subsequent backups will not require critical update. After preview, there will be no critical
1622+
* update needed for backup.
16151623
*
16161624
* Create a request for the method "clusters.backup".
16171625
*

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AutomatedBackupConfig.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ public final class AutomatedBackupConfig extends com.google.api.client.json.Gene
4545
private FixedFrequencySchedule fixedFrequencySchedule;
4646

4747
/**
48-
* Optional. How long to keep automated backups before the backups are deleted. If not specified,
49-
* the default value is 100 years which is also the maximum value supported. The minimum value is
50-
* 1 day.
48+
* Optional. How long to keep automated backups before the backups are deleted. The value should
49+
* be between 1 day and 365 days. If not specified, the default value is 35 days.
5150
* The value may be {@code null}.
5251
*/
5352
@com.google.api.client.util.Key
@@ -88,19 +87,17 @@ public AutomatedBackupConfig setFixedFrequencySchedule(FixedFrequencySchedule fi
8887
}
8988

9089
/**
91-
* Optional. How long to keep automated backups before the backups are deleted. If not specified,
92-
* the default value is 100 years which is also the maximum value supported. The minimum value is
93-
* 1 day.
90+
* Optional. How long to keep automated backups before the backups are deleted. The value should
91+
* be between 1 day and 365 days. If not specified, the default value is 35 days.
9492
* @return value or {@code null} for none
9593
*/
9694
public String getRetention() {
9795
return retention;
9896
}
9997

10098
/**
101-
* Optional. How long to keep automated backups before the backups are deleted. If not specified,
102-
* the default value is 100 years which is also the maximum value supported. The minimum value is
103-
* 1 day.
99+
* Optional. How long to keep automated backups before the backups are deleted. The value should
100+
* be between 1 day and 365 days. If not specified, the default value is 35 days.
104101
* @param retention retention or {@code null} for none
105102
*/
106103
public AutomatedBackupConfig setRetention(String retention) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ public final class Backup extends com.google.api.client.json.GenericJson {
123123
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
124124
private java.lang.Long totalSizeBytes;
125125

126+
/**
127+
* Output only. System assigned unique identifier of the backup.
128+
* The value may be {@code null}.
129+
*/
130+
@com.google.api.client.util.Key
131+
private java.lang.String uid;
132+
126133
/**
127134
* Output only. List of backup files of the backup.
128135
* @return value or {@code null} for none
@@ -348,6 +355,23 @@ public Backup setTotalSizeBytes(java.lang.Long totalSizeBytes) {
348355
return this;
349356
}
350357

358+
/**
359+
* Output only. System assigned unique identifier of the backup.
360+
* @return value or {@code null} for none
361+
*/
362+
public java.lang.String getUid() {
363+
return uid;
364+
}
365+
366+
/**
367+
* Output only. System assigned unique identifier of the backup.
368+
* @param uid uid or {@code null} for none
369+
*/
370+
public Backup setUid(java.lang.String uid) {
371+
this.uid = uid;
372+
return this;
373+
}
374+
351375
@Override
352376
public Backup set(String fieldName, Object value) {
353377
return (Backup) super.set(fieldName, value);

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupCollection.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ public final class BackupCollection extends com.google.api.client.json.GenericJs
5252
@com.google.api.client.util.Key
5353
private java.lang.String name;
5454

55+
/**
56+
* Output only. System assigned unique identifier of the backup collection.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String uid;
61+
5562
/**
5663
* Output only. The full resource path of the cluster the backup collection belongs to. Example:
5764
* projects/{project}/locations/{location}/clusters/{cluster}
@@ -105,6 +112,23 @@ public BackupCollection setName(java.lang.String name) {
105112
return this;
106113
}
107114

115+
/**
116+
* Output only. System assigned unique identifier of the backup collection.
117+
* @return value or {@code null} for none
118+
*/
119+
public java.lang.String getUid() {
120+
return uid;
121+
}
122+
123+
/**
124+
* Output only. System assigned unique identifier of the backup collection.
125+
* @param uid uid or {@code null} for none
126+
*/
127+
public BackupCollection setUid(java.lang.String uid) {
128+
this.uid = uid;
129+
return this;
130+
}
131+
108132
@Override
109133
public BackupCollection set(String fieldName, Object value) {
110134
return (BackupCollection) super.set(fieldName, value);

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ConnectionDetail.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,40 @@
3030
@SuppressWarnings("javadoc")
3131
public final class ConnectionDetail extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Detailed information of a PSC connection that is created through service connectivity
35+
* automation.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private PscAutoConnection pscAutoConnection;
40+
3341
/**
3442
* Detailed information of a PSC connection that is created by the customer who owns the cluster.
3543
* The value may be {@code null}.
3644
*/
3745
@com.google.api.client.util.Key
3846
private PscConnection pscConnection;
3947

48+
/**
49+
* Detailed information of a PSC connection that is created through service connectivity
50+
* automation.
51+
* @return value or {@code null} for none
52+
*/
53+
public PscAutoConnection getPscAutoConnection() {
54+
return pscAutoConnection;
55+
}
56+
57+
/**
58+
* Detailed information of a PSC connection that is created through service connectivity
59+
* automation.
60+
* @param pscAutoConnection pscAutoConnection or {@code null} for none
61+
*/
62+
public ConnectionDetail setPscAutoConnection(PscAutoConnection pscAutoConnection) {
63+
this.pscAutoConnection = pscAutoConnection;
64+
return this;
65+
}
66+
4067
/**
4168
* Detailed information of a PSC connection that is created by the customer who owns the cluster.
4269
* @return value or {@code null} for none

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/FixedFrequencySchedule.java

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,31 +32,25 @@
3232
public final class FixedFrequencySchedule extends com.google.api.client.json.GenericJson {
3333

3434
/**
35-
* Optional. The start time of every automated backup in UTC. It must be set to the start of an
36-
* hour. If not specified, the default value is the start of the hour when the automated backup
37-
* config is enabled. For example, if the automated backup config is enabled at 10:13 AM UTC
38-
* without specifying start_time, the default start time is 10:00 AM UTC.
35+
* Required. The start time of every automated backup in UTC. It must be set to the start of an
36+
* hour. This field is required.
3937
* The value may be {@code null}.
4038
*/
4139
@com.google.api.client.util.Key
4240
private TimeOfDay startTime;
4341

4442
/**
45-
* Optional. The start time of every automated backup in UTC. It must be set to the start of an
46-
* hour. If not specified, the default value is the start of the hour when the automated backup
47-
* config is enabled. For example, if the automated backup config is enabled at 10:13 AM UTC
48-
* without specifying start_time, the default start time is 10:00 AM UTC.
43+
* Required. The start time of every automated backup in UTC. It must be set to the start of an
44+
* hour. This field is required.
4945
* @return value or {@code null} for none
5046
*/
5147
public TimeOfDay getStartTime() {
5248
return startTime;
5349
}
5450

5551
/**
56-
* Optional. The start time of every automated backup in UTC. It must be set to the start of an
57-
* hour. If not specified, the default value is the start of the hour when the automated backup
58-
* config is enabled. For example, if the automated backup config is enabled at 10:13 AM UTC
59-
* without specifying start_time, the default start time is 10:00 AM UTC.
52+
* Required. The start time of every automated backup in UTC. It must be set to the start of an
53+
* hour. This field is required.
6054
* @param startTime startTime or {@code null} for none
6155
*/
6256
public FixedFrequencySchedule setStartTime(TimeOfDay startTime) {

0 commit comments

Comments
 (0)