Skip to content

Commit 621ac4f

Browse files
1 parent 397db7a commit 621ac4f

File tree

18 files changed

+2814
-30
lines changed

18 files changed

+2814
-30
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-rev20260309-2.0.0</version>
25+
<version>v1-rev20260324-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-rev20260309-2.0.0'
38+
implementation 'com.google.apis:google-api-services-redis:v1-rev20260324-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: 956 additions & 8 deletions
Large diffs are not rendered by default.
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
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+
* The ACL policy resource.
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 AclPolicy extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. Etag for the ACL policy.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String etag;
39+
40+
/**
41+
* Identifier. Full resource path of the ACL policy.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String name;
46+
47+
/**
48+
* Required. The ACL rules within the ACL policy.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.util.List<AclRule> rules;
53+
54+
/**
55+
* Output only. The state of the ACL policy.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.String state;
60+
61+
/**
62+
* Output only. The version of the ACL policy. Used in drift resolution.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
66+
private java.lang.Long version;
67+
68+
/**
69+
* Output only. Etag for the ACL policy.
70+
* @return value or {@code null} for none
71+
*/
72+
public java.lang.String getEtag() {
73+
return etag;
74+
}
75+
76+
/**
77+
* Output only. Etag for the ACL policy.
78+
* @param etag etag or {@code null} for none
79+
*/
80+
public AclPolicy setEtag(java.lang.String etag) {
81+
this.etag = etag;
82+
return this;
83+
}
84+
85+
/**
86+
* Identifier. Full resource path of the ACL policy.
87+
* @return value or {@code null} for none
88+
*/
89+
public java.lang.String getName() {
90+
return name;
91+
}
92+
93+
/**
94+
* Identifier. Full resource path of the ACL policy.
95+
* @param name name or {@code null} for none
96+
*/
97+
public AclPolicy setName(java.lang.String name) {
98+
this.name = name;
99+
return this;
100+
}
101+
102+
/**
103+
* Required. The ACL rules within the ACL policy.
104+
* @return value or {@code null} for none
105+
*/
106+
public java.util.List<AclRule> getRules() {
107+
return rules;
108+
}
109+
110+
/**
111+
* Required. The ACL rules within the ACL policy.
112+
* @param rules rules or {@code null} for none
113+
*/
114+
public AclPolicy setRules(java.util.List<AclRule> rules) {
115+
this.rules = rules;
116+
return this;
117+
}
118+
119+
/**
120+
* Output only. The state of the ACL policy.
121+
* @return value or {@code null} for none
122+
*/
123+
public java.lang.String getState() {
124+
return state;
125+
}
126+
127+
/**
128+
* Output only. The state of the ACL policy.
129+
* @param state state or {@code null} for none
130+
*/
131+
public AclPolicy setState(java.lang.String state) {
132+
this.state = state;
133+
return this;
134+
}
135+
136+
/**
137+
* Output only. The version of the ACL policy. Used in drift resolution.
138+
* @return value or {@code null} for none
139+
*/
140+
public java.lang.Long getVersion() {
141+
return version;
142+
}
143+
144+
/**
145+
* Output only. The version of the ACL policy. Used in drift resolution.
146+
* @param version version or {@code null} for none
147+
*/
148+
public AclPolicy setVersion(java.lang.Long version) {
149+
this.version = version;
150+
return this;
151+
}
152+
153+
@Override
154+
public AclPolicy set(String fieldName, Object value) {
155+
return (AclPolicy) super.set(fieldName, value);
156+
}
157+
158+
@Override
159+
public AclPolicy clone() {
160+
return (AclPolicy) super.clone();
161+
}
162+
163+
}
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
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+
* A single ACL rule which defines the policy for a user.
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 AclRule extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The rule to be applied to the username. Ex: "on >password123 ~* +@all" The format of
35+
* the rule is defined by Redis OSS:
36+
* https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl/
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String rule;
41+
42+
/**
43+
* Required. Specifies the IAM user or service account to be added to the ACL policy. This
44+
* username will be directly set on the Redis OSS.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String username;
49+
50+
/**
51+
* Required. The rule to be applied to the username. Ex: "on >password123 ~* +@all" The format of
52+
* the rule is defined by Redis OSS:
53+
* https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl/
54+
* @return value or {@code null} for none
55+
*/
56+
public java.lang.String getRule() {
57+
return rule;
58+
}
59+
60+
/**
61+
* Required. The rule to be applied to the username. Ex: "on >password123 ~* +@all" The format of
62+
* the rule is defined by Redis OSS:
63+
* https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl/
64+
* @param rule rule or {@code null} for none
65+
*/
66+
public AclRule setRule(java.lang.String rule) {
67+
this.rule = rule;
68+
return this;
69+
}
70+
71+
/**
72+
* Required. Specifies the IAM user or service account to be added to the ACL policy. This
73+
* username will be directly set on the Redis OSS.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.String getUsername() {
77+
return username;
78+
}
79+
80+
/**
81+
* Required. Specifies the IAM user or service account to be added to the ACL policy. This
82+
* username will be directly set on the Redis OSS.
83+
* @param username username or {@code null} for none
84+
*/
85+
public AclRule setUsername(java.lang.String username) {
86+
this.username = username;
87+
return this;
88+
}
89+
90+
@Override
91+
public AclRule set(String fieldName, Object value) {
92+
return (AclRule) super.set(fieldName, value);
93+
}
94+
95+
@Override
96+
public AclRule clone() {
97+
return (AclRule) super.clone();
98+
}
99+
100+
}

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
3737
@com.google.api.client.util.Key
3838
private java.lang.String aclPolicy;
3939

40+
/**
41+
* Optional. Output only. Indicates whether the ACL rules applied to the cluster are in sync with
42+
* the latest ACL policy rules. This field is only applicable if the ACL policy is set for the
43+
* cluster.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.Boolean aclPolicyInSync;
48+
4049
/**
4150
* Optional. Immutable. Deprecated, do not use.
4251
* The value may be {@code null}.
@@ -376,6 +385,27 @@ public Cluster setAclPolicy(java.lang.String aclPolicy) {
376385
return this;
377386
}
378387

388+
/**
389+
* Optional. Output only. Indicates whether the ACL rules applied to the cluster are in sync with
390+
* the latest ACL policy rules. This field is only applicable if the ACL policy is set for the
391+
* cluster.
392+
* @return value or {@code null} for none
393+
*/
394+
public java.lang.Boolean getAclPolicyInSync() {
395+
return aclPolicyInSync;
396+
}
397+
398+
/**
399+
* Optional. Output only. Indicates whether the ACL rules applied to the cluster are in sync with
400+
* the latest ACL policy rules. This field is only applicable if the ACL policy is set for the
401+
* cluster.
402+
* @param aclPolicyInSync aclPolicyInSync or {@code null} for none
403+
*/
404+
public Cluster setAclPolicyInSync(java.lang.Boolean aclPolicyInSync) {
405+
this.aclPolicyInSync = aclPolicyInSync;
406+
return this;
407+
}
408+
379409
/**
380410
* Optional. Immutable. Deprecated, do not use.
381411
* @return value or {@code null} for none

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: 31
20+
* Common model for database resource instance metadata. Next ID: 32
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
@@ -152,6 +152,13 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
152152
@com.google.api.client.util.Key
153153
private ResourceMaintenanceInfo maintenanceInfo;
154154

155+
/**
156+
* Optional. The modes of the database resource.
157+
* The value may be {@code null}.
158+
*/
159+
@com.google.api.client.util.Key
160+
private java.util.List<java.lang.String> modes;
161+
155162
/**
156163
* Identifier for this resource's immediate parent/primary resource if the current resource is a
157164
* replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the
@@ -533,6 +540,23 @@ public DatabaseResourceMetadata setMaintenanceInfo(ResourceMaintenanceInfo maint
533540
return this;
534541
}
535542

543+
/**
544+
* Optional. The modes of the database resource.
545+
* @return value or {@code null} for none
546+
*/
547+
public java.util.List<java.lang.String> getModes() {
548+
return modes;
549+
}
550+
551+
/**
552+
* Optional. The modes of the database resource.
553+
* @param modes modes or {@code null} for none
554+
*/
555+
public DatabaseResourceMetadata setModes(java.util.List<java.lang.String> modes) {
556+
this.modes = modes;
557+
return this;
558+
}
559+
536560
/**
537561
* Identifier for this resource's immediate parent/primary resource if the current resource is a
538562
* replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the

0 commit comments

Comments
 (0)