Skip to content

Commit 6173377

Browse files
1 parent 86c04ad commit 6173377

File tree

7 files changed

+94
-19
lines changed

7 files changed

+94
-19
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-rev20250123-2.0.0</version>
25+
<version>v1-rev20250206-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-rev20250123-2.0.0'
38+
implementation 'com.google.apis:google-api-services-redis:v1-rev20250206-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.redis.v1.model;
1818

1919
/**
20-
* Common model for database resource instance metadata. Next ID: 23
20+
* Common model for database resource instance metadata. Next ID: 24
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
@@ -167,6 +167,13 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
167167
@com.google.api.client.util.Key
168168
private java.lang.String resourceName;
169169

170+
/**
171+
* Suspension reason for the resource.
172+
* The value may be {@code null}.
173+
*/
174+
@com.google.api.client.util.Key
175+
private java.lang.String suspensionReason;
176+
170177
/**
171178
* Optional. Tags associated with this resources.
172179
* The value may be {@code null}.
@@ -516,6 +523,23 @@ public DatabaseResourceMetadata setResourceName(java.lang.String resourceName) {
516523
return this;
517524
}
518525

526+
/**
527+
* Suspension reason for the resource.
528+
* @return value or {@code null} for none
529+
*/
530+
public java.lang.String getSuspensionReason() {
531+
return suspensionReason;
532+
}
533+
534+
/**
535+
* Suspension reason for the resource.
536+
* @param suspensionReason suspensionReason or {@code null} for none
537+
*/
538+
public DatabaseResourceMetadata setSuspensionReason(java.lang.String suspensionReason) {
539+
this.suspensionReason = suspensionReason;
540+
return this;
541+
}
542+
519543
/**
520544
* Optional. Tags associated with this resources.
521545
* @return value or {@code null} for none

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

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,11 @@ public final class Instance extends com.google.api.client.json.GenericJson {
235235
private java.util.Map<String, java.lang.String> redisConfigs;
236236

237237
/**
238-
* Optional. The version of Redis software. If not provided, latest supported version will be
239-
* used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility *
240-
* `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility *
241-
* `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility
238+
* Optional. The version of Redis software. If not provided, the default version will be used.
239+
* Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0`
240+
* for Redis 4.0 compatibility * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis
241+
* 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility (default) * `REDIS_7_2` for Redis
242+
* 7.2 compatibility
242243
* The value may be {@code null}.
243244
*/
244245
@com.google.api.client.util.Key
@@ -817,21 +818,23 @@ public Instance setRedisConfigs(java.util.Map<String, java.lang.String> redisCon
817818
}
818819

819820
/**
820-
* Optional. The version of Redis software. If not provided, latest supported version will be
821-
* used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility *
822-
* `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility *
823-
* `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility
821+
* Optional. The version of Redis software. If not provided, the default version will be used.
822+
* Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0`
823+
* for Redis 4.0 compatibility * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis
824+
* 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility (default) * `REDIS_7_2` for Redis
825+
* 7.2 compatibility
824826
* @return value or {@code null} for none
825827
*/
826828
public java.lang.String getRedisVersion() {
827829
return redisVersion;
828830
}
829831

830832
/**
831-
* Optional. The version of Redis software. If not provided, latest supported version will be
832-
* used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility *
833-
* `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility *
834-
* `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility
833+
* Optional. The version of Redis software. If not provided, the default version will be used.
834+
* Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0`
835+
* for Redis 4.0 compatibility * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis
836+
* 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility (default) * `REDIS_7_2` for Redis
837+
* 7.2 compatibility
835838
* @param redisVersion redisVersion or {@code null} for none
836839
*/
837840
public Instance setRedisVersion(java.lang.String redisVersion) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ public final class InternalResourceMetadata extends com.google.api.client.json.G
4646
@com.google.api.client.util.Key
4747
private BackupRun backupRun;
4848

49+
/**
50+
* Whether deletion protection is enabled for this internal resource.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.Boolean isDeletionProtectionEnabled;
55+
4956
/**
5057
* The value may be {@code null}.
5158
*/
@@ -100,6 +107,23 @@ public InternalResourceMetadata setBackupRun(BackupRun backupRun) {
100107
return this;
101108
}
102109

110+
/**
111+
* Whether deletion protection is enabled for this internal resource.
112+
* @return value or {@code null} for none
113+
*/
114+
public java.lang.Boolean getIsDeletionProtectionEnabled() {
115+
return isDeletionProtectionEnabled;
116+
}
117+
118+
/**
119+
* Whether deletion protection is enabled for this internal resource.
120+
* @param isDeletionProtectionEnabled isDeletionProtectionEnabled or {@code null} for none
121+
*/
122+
public InternalResourceMetadata setIsDeletionProtectionEnabled(java.lang.Boolean isDeletionProtectionEnabled) {
123+
this.isDeletionProtectionEnabled = isDeletionProtectionEnabled;
124+
return this;
125+
}
126+
103127
/**
104128
* @return value or {@code null} for none
105129
*/

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

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

33+
/**
34+
* Target node type for redis cluster.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String targetNodeType;
39+
3340
/**
3441
* Target number of replica nodes per shard.
3542
* The value may be {@code null}.
@@ -44,6 +51,23 @@ public final class UpdateInfo extends com.google.api.client.json.GenericJson {
4451
@com.google.api.client.util.Key
4552
private java.lang.Integer targetShardCount;
4653

54+
/**
55+
* Target node type for redis cluster.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.String getTargetNodeType() {
59+
return targetNodeType;
60+
}
61+
62+
/**
63+
* Target node type for redis cluster.
64+
* @param targetNodeType targetNodeType or {@code null} for none
65+
*/
66+
public UpdateInfo setTargetNodeType(java.lang.String targetNodeType) {
67+
this.targetNodeType = targetNodeType;
68+
return this;
69+
}
70+
4771
/**
4872
* Target number of replica nodes per shard.
4973
* @return value or {@code null} for none

clients/google-api-services-redis/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-redis</artifactId>
11-
<version>v1-rev20250123-2.0.0</version>
12-
<name>Google Cloud Memorystore for Redis API v1-rev20250123-2.0.0</name>
11+
<version>v1-rev20250206-2.0.0</version>
12+
<name>Google Cloud Memorystore for Redis API v1-rev20250206-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)