Skip to content

Commit b75caf7

Browse files
1 parent e4ae04c commit b75caf7

22 files changed

+4134
-12
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-rev20260324-2.0.0</version>
25+
<version>v1-rev20260331-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-rev20260324-2.0.0'
38+
implementation 'com.google.apis:google-api-services-redis:v1-rev20260331-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: 1447 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ public class CloudRedisScopes {
2626
/** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
2727
public static final String CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform";
2828

29+
/** See your Google Cloud Memorystore for Redis data and the email address of your Google Account. */
30+
public static final String REDIS_READ_ONLY = "https://www.googleapis.com/auth/redis.read-only";
31+
32+
/** See, edit, configure, and delete your Google Cloud Memorystore for Redis data and see the email address for your Google Account. */
33+
public static final String REDIS_READ_WRITE = "https://www.googleapis.com/auth/redis.read-write";
34+
2935
/**
3036
* Returns an unmodifiable set that contains all scopes declared by this class.
3137
*
@@ -34,6 +40,8 @@ public class CloudRedisScopes {
3440
public static java.util.Set<String> all() {
3541
java.util.Set<String> set = new java.util.HashSet<String>();
3642
set.add(CLOUD_PLATFORM);
43+
set.add(REDIS_READ_ONLY);
44+
set.add(REDIS_READ_WRITE);
3745
return java.util.Collections.unmodifiableSet(set);
3846
}
3947

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* Request message for AddAuthToken.
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 AddAuthTokenRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The auth token to add.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private AuthToken authToken;
39+
40+
/**
41+
* Required. The auth token to add.
42+
* @return value or {@code null} for none
43+
*/
44+
public AuthToken getAuthToken() {
45+
return authToken;
46+
}
47+
48+
/**
49+
* Required. The auth token to add.
50+
* @param authToken authToken or {@code null} for none
51+
*/
52+
public AddAuthTokenRequest setAuthToken(AuthToken authToken) {
53+
this.authToken = authToken;
54+
return this;
55+
}
56+
57+
@Override
58+
public AddAuthTokenRequest set(String fieldName, Object value) {
59+
return (AddAuthTokenRequest) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public AddAuthTokenRequest clone() {
64+
return (AddAuthTokenRequest) super.clone();
65+
}
66+
67+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* Request message for AddTokenAuthUser.
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 AddTokenAuthUserRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The id of the token auth user to add.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String tokenAuthUser;
39+
40+
/**
41+
* Required. The id of the token auth user to add.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getTokenAuthUser() {
45+
return tokenAuthUser;
46+
}
47+
48+
/**
49+
* Required. The id of the token auth user to add.
50+
* @param tokenAuthUser tokenAuthUser or {@code null} for none
51+
*/
52+
public AddTokenAuthUserRequest setTokenAuthUser(java.lang.String tokenAuthUser) {
53+
this.tokenAuthUser = tokenAuthUser;
54+
return this;
55+
}
56+
57+
@Override
58+
public AddTokenAuthUserRequest set(String fieldName, Object value) {
59+
return (AddTokenAuthUserRequest) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public AddTokenAuthUserRequest clone() {
64+
return (AddTokenAuthUserRequest) super.clone();
65+
}
66+
67+
}
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+
* Auth token for the cluster.
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 AuthToken extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. Create time of the auth token.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String createTime;
39+
40+
/**
41+
* Identifier. Name of the auth token. Format: projects/{project}/locations/{location}/clusters/{c
42+
* luster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String name;
47+
48+
/**
49+
* Output only. State of the auth token.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String state;
54+
55+
/**
56+
* Output only. The service generated authentication token used to connect to the Redis cluster.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String token;
61+
62+
/**
63+
* Output only. Create time of the auth token.
64+
* @return value or {@code null} for none
65+
*/
66+
public String getCreateTime() {
67+
return createTime;
68+
}
69+
70+
/**
71+
* Output only. Create time of the auth token.
72+
* @param createTime createTime or {@code null} for none
73+
*/
74+
public AuthToken setCreateTime(String createTime) {
75+
this.createTime = createTime;
76+
return this;
77+
}
78+
79+
/**
80+
* Identifier. Name of the auth token. Format: projects/{project}/locations/{location}/clusters/{c
81+
* luster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.String getName() {
85+
return name;
86+
}
87+
88+
/**
89+
* Identifier. Name of the auth token. Format: projects/{project}/locations/{location}/clusters/{c
90+
* luster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}
91+
* @param name name or {@code null} for none
92+
*/
93+
public AuthToken setName(java.lang.String name) {
94+
this.name = name;
95+
return this;
96+
}
97+
98+
/**
99+
* Output only. State of the auth token.
100+
* @return value or {@code null} for none
101+
*/
102+
public java.lang.String getState() {
103+
return state;
104+
}
105+
106+
/**
107+
* Output only. State of the auth token.
108+
* @param state state or {@code null} for none
109+
*/
110+
public AuthToken setState(java.lang.String state) {
111+
this.state = state;
112+
return this;
113+
}
114+
115+
/**
116+
* Output only. The service generated authentication token used to connect to the Redis cluster.
117+
* @return value or {@code null} for none
118+
*/
119+
public java.lang.String getToken() {
120+
return token;
121+
}
122+
123+
/**
124+
* Output only. The service generated authentication token used to connect to the Redis cluster.
125+
* @param token token or {@code null} for none
126+
*/
127+
public AuthToken setToken(java.lang.String token) {
128+
this.token = token;
129+
return this;
130+
}
131+
132+
@Override
133+
public AuthToken set(String fieldName, Object value) {
134+
return (AuthToken) super.set(fieldName, value);
135+
}
136+
137+
@Override
138+
public AuthToken clone() {
139+
return (AuthToken) super.clone();
140+
}
141+
142+
}

0 commit comments

Comments
 (0)