Skip to content

Commit b2c5131

Browse files
1 parent 1d5a5da commit b2c5131

File tree

16 files changed

+500
-18
lines changed

16 files changed

+500
-18
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-rev20241212-2.0.0</version>
25+
<version>v1-rev20250104-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-rev20241212-2.0.0'
38+
implementation 'com.google.apis:google-api-services-redis:v1-rev20250104-2.0.0'
3939
}
4040
```
4141

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
@@ -65,6 +65,13 @@ public final class Backup extends com.google.api.client.json.GenericJson {
6565
@com.google.api.client.util.Key
6666
private String createTime;
6767

68+
/**
69+
* Output only. Encryption information of the backup.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private EncryptionInfo encryptionInfo;
74+
6875
/**
6976
* Output only. redis-7.2, valkey-7.5
7077
* The value may be {@code null}.
@@ -215,6 +222,23 @@ public Backup setCreateTime(String createTime) {
215222
return this;
216223
}
217224

225+
/**
226+
* Output only. Encryption information of the backup.
227+
* @return value or {@code null} for none
228+
*/
229+
public EncryptionInfo getEncryptionInfo() {
230+
return encryptionInfo;
231+
}
232+
233+
/**
234+
* Output only. Encryption information of the backup.
235+
* @param encryptionInfo encryptionInfo or {@code null} for none
236+
*/
237+
public Backup setEncryptionInfo(EncryptionInfo encryptionInfo) {
238+
this.encryptionInfo = encryptionInfo;
239+
return this;
240+
}
241+
218242
/**
219243
* Output only. redis-7.2, valkey-7.5
220244
* @return value or {@code null} for none

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
@@ -45,6 +45,13 @@ public final class BackupCollection extends com.google.api.client.json.GenericJs
4545
@com.google.api.client.util.Key
4646
private java.lang.String clusterUid;
4747

48+
/**
49+
* Output only. The KMS key used to encrypt the backups under this backup collection.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String kmsKey;
54+
4855
/**
4956
* Identifier. Full resource path of the backup collection.
5057
* The value may be {@code null}.
@@ -95,6 +102,23 @@ public BackupCollection setClusterUid(java.lang.String clusterUid) {
95102
return this;
96103
}
97104

105+
/**
106+
* Output only. The KMS key used to encrypt the backups under this backup collection.
107+
* @return value or {@code null} for none
108+
*/
109+
public java.lang.String getKmsKey() {
110+
return kmsKey;
111+
}
112+
113+
/**
114+
* Output only. The KMS key used to encrypt the backups under this backup collection.
115+
* @param kmsKey kmsKey or {@code null} for none
116+
*/
117+
public BackupCollection setKmsKey(java.lang.String kmsKey) {
118+
this.kmsKey = kmsKey;
119+
return this;
120+
}
121+
98122
/**
99123
* Identifier. Full resource path of the backup collection.
100124
* @return value or {@code null} for none

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
8989
@com.google.api.client.util.Key
9090
private java.util.List<DiscoveryEndpoint> discoveryEndpoints;
9191

92+
/**
93+
* Output only. Encryption information of the data at rest of the cluster.
94+
* The value may be {@code null}.
95+
*/
96+
@com.google.api.client.util.Key
97+
private EncryptionInfo encryptionInfo;
98+
9299
/**
93100
* Optional. Backups stored in Cloud Storage buckets. The Cloud Storage buckets need to be the
94101
* same region as the clusters. Read permission is required to import from the provided Cloud
@@ -98,6 +105,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
98105
@com.google.api.client.util.Key
99106
private GcsBackupSource gcsSource;
100107

108+
/**
109+
* Optional. The KMS key used to encrypt the at-rest data of the cluster.
110+
* The value may be {@code null}.
111+
*/
112+
@com.google.api.client.util.Key
113+
private java.lang.String kmsKey;
114+
101115
/**
102116
* Optional. ClusterMaintenancePolicy determines when to allow or deny updates.
103117
* The value may be {@code null}.
@@ -381,6 +395,23 @@ public Cluster setDiscoveryEndpoints(java.util.List<DiscoveryEndpoint> discovery
381395
return this;
382396
}
383397

398+
/**
399+
* Output only. Encryption information of the data at rest of the cluster.
400+
* @return value or {@code null} for none
401+
*/
402+
public EncryptionInfo getEncryptionInfo() {
403+
return encryptionInfo;
404+
}
405+
406+
/**
407+
* Output only. Encryption information of the data at rest of the cluster.
408+
* @param encryptionInfo encryptionInfo or {@code null} for none
409+
*/
410+
public Cluster setEncryptionInfo(EncryptionInfo encryptionInfo) {
411+
this.encryptionInfo = encryptionInfo;
412+
return this;
413+
}
414+
384415
/**
385416
* Optional. Backups stored in Cloud Storage buckets. The Cloud Storage buckets need to be the
386417
* same region as the clusters. Read permission is required to import from the provided Cloud
@@ -402,6 +433,23 @@ public Cluster setGcsSource(GcsBackupSource gcsSource) {
402433
return this;
403434
}
404435

436+
/**
437+
* Optional. The KMS key used to encrypt the at-rest data of the cluster.
438+
* @return value or {@code null} for none
439+
*/
440+
public java.lang.String getKmsKey() {
441+
return kmsKey;
442+
}
443+
444+
/**
445+
* Optional. The KMS key used to encrypt the at-rest data of the cluster.
446+
* @param kmsKey kmsKey or {@code null} for none
447+
*/
448+
public Cluster setKmsKey(java.lang.String kmsKey) {
449+
this.kmsKey = kmsKey;
450+
return this;
451+
}
452+
405453
/**
406454
* Optional. ClusterMaintenancePolicy determines when to allow or deny updates.
407455
* @return value or {@code null} for none
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.redis.v1.model;
18+
19+
/**
20+
* EncryptionInfo describes the encryption information of a cluster or a backup.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
24+
* detailed explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class EncryptionInfo extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. Type of encryption.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String encryptionType;
39+
40+
/**
41+
* Output only. The state of the primary version of the KMS key perceived by the system. This
42+
* field is not populated in backups.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String kmsKeyPrimaryState;
47+
48+
/**
49+
* Output only. KMS key versions that are being used to protect the data at-rest.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.util.List<java.lang.String> kmsKeyVersions;
54+
55+
/**
56+
* Output only. The most recent time when the encryption info was updated.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private String lastUpdateTime;
61+
62+
/**
63+
* Output only. Type of encryption.
64+
* @return value or {@code null} for none
65+
*/
66+
public java.lang.String getEncryptionType() {
67+
return encryptionType;
68+
}
69+
70+
/**
71+
* Output only. Type of encryption.
72+
* @param encryptionType encryptionType or {@code null} for none
73+
*/
74+
public EncryptionInfo setEncryptionType(java.lang.String encryptionType) {
75+
this.encryptionType = encryptionType;
76+
return this;
77+
}
78+
79+
/**
80+
* Output only. The state of the primary version of the KMS key perceived by the system. This
81+
* field is not populated in backups.
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.String getKmsKeyPrimaryState() {
85+
return kmsKeyPrimaryState;
86+
}
87+
88+
/**
89+
* Output only. The state of the primary version of the KMS key perceived by the system. This
90+
* field is not populated in backups.
91+
* @param kmsKeyPrimaryState kmsKeyPrimaryState or {@code null} for none
92+
*/
93+
public EncryptionInfo setKmsKeyPrimaryState(java.lang.String kmsKeyPrimaryState) {
94+
this.kmsKeyPrimaryState = kmsKeyPrimaryState;
95+
return this;
96+
}
97+
98+
/**
99+
* Output only. KMS key versions that are being used to protect the data at-rest.
100+
* @return value or {@code null} for none
101+
*/
102+
public java.util.List<java.lang.String> getKmsKeyVersions() {
103+
return kmsKeyVersions;
104+
}
105+
106+
/**
107+
* Output only. KMS key versions that are being used to protect the data at-rest.
108+
* @param kmsKeyVersions kmsKeyVersions or {@code null} for none
109+
*/
110+
public EncryptionInfo setKmsKeyVersions(java.util.List<java.lang.String> kmsKeyVersions) {
111+
this.kmsKeyVersions = kmsKeyVersions;
112+
return this;
113+
}
114+
115+
/**
116+
* Output only. The most recent time when the encryption info was updated.
117+
* @return value or {@code null} for none
118+
*/
119+
public String getLastUpdateTime() {
120+
return lastUpdateTime;
121+
}
122+
123+
/**
124+
* Output only. The most recent time when the encryption info was updated.
125+
* @param lastUpdateTime lastUpdateTime or {@code null} for none
126+
*/
127+
public EncryptionInfo setLastUpdateTime(String lastUpdateTime) {
128+
this.lastUpdateTime = lastUpdateTime;
129+
return this;
130+
}
131+
132+
@Override
133+
public EncryptionInfo set(String fieldName, Object value) {
134+
return (EncryptionInfo) super.set(fieldName, value);
135+
}
136+
137+
@Override
138+
public EncryptionInfo clone() {
139+
return (EncryptionInfo) super.clone();
140+
}
141+
142+
}

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
public final class MachineConfiguration extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
34+
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add
35+
* proto validations again after bug fix.
3536
* The value may be {@code null}.
3637
*/
3738
@com.google.api.client.util.Key
@@ -60,15 +61,17 @@ public final class MachineConfiguration extends com.google.api.client.json.Gener
6061
private java.lang.Double vcpuCount;
6162

6263
/**
63-
* The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
64+
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add
65+
* proto validations again after bug fix.
6466
* @return value or {@code null} for none
6567
*/
6668
public java.lang.Integer getCpuCount() {
6769
return cpuCount;
6870
}
6971

7072
/**
71-
* The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
73+
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add
74+
* proto validations again after bug fix.
7275
* @param cpuCount cpuCount or {@code null} for none
7376
*/
7477
public MachineConfiguration setCpuCount(java.lang.Integer cpuCount) {

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-rev20241212-2.0.0</version>
12-
<name>Google Cloud Memorystore for Redis API v1-rev20241212-2.0.0</name>
11+
<version>v1-rev20250104-2.0.0</version>
12+
<name>Google Cloud Memorystore for Redis API v1-rev20250104-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-rev20241212-2.0.0</version>
25+
<version>v1-rev20250104-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-rev20241212-2.0.0'
38+
implementation 'com.google.apis:google-api-services-redis:v1-rev20250104-2.0.0'
3939
}
4040
```
4141

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

0 commit comments

Comments
 (0)