diff --git a/clients/google-api-services-redis/v1/2.0.0/README.md b/clients/google-api-services-redis/v1/2.0.0/README.md
index 99dc245a918..433b54caa54 100644
--- a/clients/google-api-services-redis/v1/2.0.0/README.md
+++ b/clients/google-api-services-redis/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-redis
- v1-rev20260707-2.0.0
+ v1-rev20260720-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-redis:v1-rev20260707-2.0.0'
+ implementation 'com.google.apis:google-api-services-redis:v1-rev20260720-2.0.0'
}
```
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedis.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedis.java
index eaa030a4268..9cff097bfce 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedis.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedis.java
@@ -1644,6 +1644,366 @@ public Patch set(String parameterName, Object value) {
}
}
+ /**
+ * An accessor for creating requests from the Revisions collection.
+ *
+ *
The typical use is:
+ *
+ * {@code CloudRedis redis = new CloudRedis(...);}
+ * {@code CloudRedis.Revisions.List request = redis.revisions().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Revisions revisions() {
+ return new Revisions();
+ }
+
+ /**
+ * The "revisions" collection of methods.
+ */
+ public class Revisions {
+
+ /**
+ * Gets details of a specific ACL policy revision.
+ *
+ * Create a request for the method "revisions.get".
+ *
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. Redis ACL policy revision resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}/revisions/{revi
+ * sion_id}` where `location_id` refers to a GCP region.
+ * @return the request
+ */
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends CloudRedisRequest {
+
+ private static final String REST_PATH = "v1/{+name}";
+
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+/revisions/[^/]+$");
+
+ /**
+ * Gets details of a specific ACL policy revision.
+ *
+ * Create a request for the method "revisions.get".
+ *
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Required. Redis ACL policy revision resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}/revisions/{revi
+ * sion_id}` where `location_id` refers to a GCP region.
+ * @since 1.13
+ */
+ protected Get(java.lang.String name) {
+ super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.AclPolicyRevision.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+/revisions/[^/]+$");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
+ }
+
+ @Override
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
+ }
+
+ @Override
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
+ }
+
+ @Override
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
+ }
+
+ @Override
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /**
+ * Required. Redis ACL policy revision resource name using the form: `projects/{project_
+ * id}/locations/{location_id}/aclPolicies/{acl_policy_id}/revisions/{revision_id}`
+ * where `location_id` refers to a GCP region.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /** Required. Redis ACL policy revision resource name using the form:
+ `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}/revisions/{revision_id}`
+ where `location_id` refers to a GCP region.
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Required. Redis ACL policy revision resource name using the form: `projects/{project_
+ * id}/locations/{location_id}/aclPolicies/{acl_policy_id}/revisions/{revision_id}`
+ * where `location_id` refers to a GCP region.
+ */
+ public Get setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+/revisions/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
+
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Lists all ACL policy revisions in a given ACL policy.
+ *
+ * Create a request for the method "revisions.list".
+ *
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The name of the ACL policy to list revisions for. Format:
+ * "projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}"
+ * @return the request
+ */
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
+ initialize(result);
+ return result;
+ }
+
+ public class List extends CloudRedisRequest {
+
+ private static final String REST_PATH = "v1/{+parent}/revisions";
+
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+
+ /**
+ * Lists all ACL policy revisions in a given ACL policy.
+ *
+ * Create a request for the method "revisions.list".
+ *
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param parent Required. The name of the ACL policy to list revisions for. Format:
+ * "projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}"
+ * @since 1.13
+ */
+ protected List(java.lang.String parent) {
+ super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.ListAclPolicyRevisionsResponse.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
+ }
+
+ @Override
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
+ }
+
+ @Override
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
+ }
+
+ @Override
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
+ }
+
+ @Override
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /**
+ * Required. The name of the ACL policy to list revisions for. Format:
+ * "projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}"
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String parent;
+
+ /** Required. The name of the ACL policy to list revisions for. Format:
+ "projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}"
+ */
+ public java.lang.String getParent() {
+ return parent;
+ }
+
+ /**
+ * Required. The name of the ACL policy to list revisions for. Format:
+ * "projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}"
+ */
+ public List setParent(java.lang.String parent) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+ }
+ this.parent = parent;
+ return this;
+ }
+
+ /** Optional. The maximum number of items to return. */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
+
+ /** Optional. The maximum number of items to return.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
+ }
+
+ /** Optional. The maximum number of items to return. */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+ /**
+ * Optional. The `next_page_token` value returned from a previous
+ * `ListAclPolicyRevisions` request, if any.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Optional. The `next_page_token` value returned from a previous `ListAclPolicyRevisions` request, if
+ any.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Optional. The `next_page_token` value returned from a previous
+ * `ListAclPolicyRevisions` request, if any.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ @Override
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
+ }
+ }
+
+ }
}
/**
* An accessor for creating requests from the BackupCollections collection.
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicy.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicy.java
index c012e2237f5..3bbb0f7ce30 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicy.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicy.java
@@ -30,6 +30,20 @@
@SuppressWarnings("javadoc")
public final class AclPolicy extends com.google.api.client.json.GenericJson {
+ /**
+ * Output only. The ACL policy attachment status for each attached cluster.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List clusterAclPolicyAttachments;
+
+ /**
+ * Output only. The timestamp that the ACL policy was created.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private String createTime;
+
/**
* Output only. Etag for the ACL policy.
* The value may be {@code null}.
@@ -58,6 +72,13 @@ public final class AclPolicy extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String state;
+ /**
+ * Output only. The timestamp that the ACL policy was last updated.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private String updateTime;
+
/**
* Output only. Deprecated: Used in drift resolution.
* The value may be {@code null}.
@@ -65,6 +86,40 @@ public final class AclPolicy extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long version;
+ /**
+ * Output only. The ACL policy attachment status for each attached cluster.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getClusterAclPolicyAttachments() {
+ return clusterAclPolicyAttachments;
+ }
+
+ /**
+ * Output only. The ACL policy attachment status for each attached cluster.
+ * @param clusterAclPolicyAttachments clusterAclPolicyAttachments or {@code null} for none
+ */
+ public AclPolicy setClusterAclPolicyAttachments(java.util.List clusterAclPolicyAttachments) {
+ this.clusterAclPolicyAttachments = clusterAclPolicyAttachments;
+ return this;
+ }
+
+ /**
+ * Output only. The timestamp that the ACL policy was created.
+ * @return value or {@code null} for none
+ */
+ public String getCreateTime() {
+ return createTime;
+ }
+
+ /**
+ * Output only. The timestamp that the ACL policy was created.
+ * @param createTime createTime or {@code null} for none
+ */
+ public AclPolicy setCreateTime(String createTime) {
+ this.createTime = createTime;
+ return this;
+ }
+
/**
* Output only. Etag for the ACL policy.
* @return value or {@code null} for none
@@ -133,6 +188,23 @@ public AclPolicy setState(java.lang.String state) {
return this;
}
+ /**
+ * Output only. The timestamp that the ACL policy was last updated.
+ * @return value or {@code null} for none
+ */
+ public String getUpdateTime() {
+ return updateTime;
+ }
+
+ /**
+ * Output only. The timestamp that the ACL policy was last updated.
+ * @param updateTime updateTime or {@code null} for none
+ */
+ public AclPolicy setUpdateTime(String updateTime) {
+ this.updateTime = updateTime;
+ return this;
+ }
+
/**
* Output only. Deprecated: Used in drift resolution.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicyInfo.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicyInfo.java
new file mode 100644
index 00000000000..76117a0828b
--- /dev/null
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicyInfo.java
@@ -0,0 +1,145 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.redis.v1.model;
+
+/**
+ * Details of the applied ACL policy.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
+ * detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class AclPolicyInfo extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. A list of status for various revisions of this ACL policy on the cluster.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List aclPolicyRevisionStatuses;
+
+ /**
+ * Output only. The resource name of the applied ACL policy. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}"
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String appliedAclPolicy;
+
+ /**
+ * Output only. The resource name of the applied ACL policy revision. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String appliedAclPolicyRevision;
+
+ /**
+ * Output only. The revision number of the applied ACL policy revision.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key @com.google.api.client.json.JsonString
+ private java.lang.Long appliedAclPolicyRevisionNumber;
+
+ /**
+ * Output only. A list of status for various revisions of this ACL policy on the cluster.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getAclPolicyRevisionStatuses() {
+ return aclPolicyRevisionStatuses;
+ }
+
+ /**
+ * Output only. A list of status for various revisions of this ACL policy on the cluster.
+ * @param aclPolicyRevisionStatuses aclPolicyRevisionStatuses or {@code null} for none
+ */
+ public AclPolicyInfo setAclPolicyRevisionStatuses(java.util.List aclPolicyRevisionStatuses) {
+ this.aclPolicyRevisionStatuses = aclPolicyRevisionStatuses;
+ return this;
+ }
+
+ /**
+ * Output only. The resource name of the applied ACL policy. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}"
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getAppliedAclPolicy() {
+ return appliedAclPolicy;
+ }
+
+ /**
+ * Output only. The resource name of the applied ACL policy. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}"
+ * @param appliedAclPolicy appliedAclPolicy or {@code null} for none
+ */
+ public AclPolicyInfo setAppliedAclPolicy(java.lang.String appliedAclPolicy) {
+ this.appliedAclPolicy = appliedAclPolicy;
+ return this;
+ }
+
+ /**
+ * Output only. The resource name of the applied ACL policy revision. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getAppliedAclPolicyRevision() {
+ return appliedAclPolicyRevision;
+ }
+
+ /**
+ * Output only. The resource name of the applied ACL policy revision. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * @param appliedAclPolicyRevision appliedAclPolicyRevision or {@code null} for none
+ */
+ public AclPolicyInfo setAppliedAclPolicyRevision(java.lang.String appliedAclPolicyRevision) {
+ this.appliedAclPolicyRevision = appliedAclPolicyRevision;
+ return this;
+ }
+
+ /**
+ * Output only. The revision number of the applied ACL policy revision.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Long getAppliedAclPolicyRevisionNumber() {
+ return appliedAclPolicyRevisionNumber;
+ }
+
+ /**
+ * Output only. The revision number of the applied ACL policy revision.
+ * @param appliedAclPolicyRevisionNumber appliedAclPolicyRevisionNumber or {@code null} for none
+ */
+ public AclPolicyInfo setAppliedAclPolicyRevisionNumber(java.lang.Long appliedAclPolicyRevisionNumber) {
+ this.appliedAclPolicyRevisionNumber = appliedAclPolicyRevisionNumber;
+ return this;
+ }
+
+ @Override
+ public AclPolicyInfo set(String fieldName, Object value) {
+ return (AclPolicyInfo) super.set(fieldName, value);
+ }
+
+ @Override
+ public AclPolicyInfo clone() {
+ return (AclPolicyInfo) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicyRevision.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicyRevision.java
new file mode 100644
index 00000000000..730bf1bd9a9
--- /dev/null
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicyRevision.java
@@ -0,0 +1,166 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.redis.v1.model;
+
+/**
+ * The ACL policy revision resource.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
+ * detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class AclPolicyRevision extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. A list of clusters that are attached to this ACL policy revision.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List attachedClusters;
+
+ /**
+ * Output only. The timestamp that the revision was created.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private String createTime;
+
+ /**
+ * Identifier. The name of the ACL policy revision. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /**
+ * Output only. The revision number of the ACL policy revision.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key @com.google.api.client.json.JsonString
+ private java.lang.Long revisionNumber;
+
+ /**
+ * Output only. The snapshot of the ACL policy at the time of revision creation.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private AclPolicy snapshot;
+
+ /**
+ * Output only. A list of clusters that are attached to this ACL policy revision.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getAttachedClusters() {
+ return attachedClusters;
+ }
+
+ /**
+ * Output only. A list of clusters that are attached to this ACL policy revision.
+ * @param attachedClusters attachedClusters or {@code null} for none
+ */
+ public AclPolicyRevision setAttachedClusters(java.util.List attachedClusters) {
+ this.attachedClusters = attachedClusters;
+ return this;
+ }
+
+ /**
+ * Output only. The timestamp that the revision was created.
+ * @return value or {@code null} for none
+ */
+ public String getCreateTime() {
+ return createTime;
+ }
+
+ /**
+ * Output only. The timestamp that the revision was created.
+ * @param createTime createTime or {@code null} for none
+ */
+ public AclPolicyRevision setCreateTime(String createTime) {
+ this.createTime = createTime;
+ return this;
+ }
+
+ /**
+ * Identifier. The name of the ACL policy revision. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Identifier. The name of the ACL policy revision. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * @param name name or {@code null} for none
+ */
+ public AclPolicyRevision setName(java.lang.String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Output only. The revision number of the ACL policy revision.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Long getRevisionNumber() {
+ return revisionNumber;
+ }
+
+ /**
+ * Output only. The revision number of the ACL policy revision.
+ * @param revisionNumber revisionNumber or {@code null} for none
+ */
+ public AclPolicyRevision setRevisionNumber(java.lang.Long revisionNumber) {
+ this.revisionNumber = revisionNumber;
+ return this;
+ }
+
+ /**
+ * Output only. The snapshot of the ACL policy at the time of revision creation.
+ * @return value or {@code null} for none
+ */
+ public AclPolicy getSnapshot() {
+ return snapshot;
+ }
+
+ /**
+ * Output only. The snapshot of the ACL policy at the time of revision creation.
+ * @param snapshot snapshot or {@code null} for none
+ */
+ public AclPolicyRevision setSnapshot(AclPolicy snapshot) {
+ this.snapshot = snapshot;
+ return this;
+ }
+
+ @Override
+ public AclPolicyRevision set(String fieldName, Object value) {
+ return (AclPolicyRevision) super.set(fieldName, value);
+ }
+
+ @Override
+ public AclPolicyRevision clone() {
+ return (AclPolicyRevision) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicyRevisionStatus.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicyRevisionStatus.java
new file mode 100644
index 00000000000..5e01d68fda8
--- /dev/null
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AclPolicyRevisionStatus.java
@@ -0,0 +1,142 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.redis.v1.model;
+
+/**
+ * AclPolicyRevisionStatus stores the per-revision status for an attached cluster.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
+ * detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class AclPolicyRevisionStatus extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. The resource name of the ACL policy revision this status refers to. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String aclPolicyRevision;
+
+ /**
+ * Output only. The revision number of the ACL policy revision this status refers to.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key @com.google.api.client.json.JsonString
+ private java.lang.Long aclPolicyRevisionNumber;
+
+ /**
+ * Output only. Human-readable error message providing more details for FAILED states.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String errorMessage;
+
+ /**
+ * Output only. AclPolicyRevision state.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String state;
+
+ /**
+ * Output only. The resource name of the ACL policy revision this status refers to. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getAclPolicyRevision() {
+ return aclPolicyRevision;
+ }
+
+ /**
+ * Output only. The resource name of the ACL policy revision this status refers to. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * @param aclPolicyRevision aclPolicyRevision or {@code null} for none
+ */
+ public AclPolicyRevisionStatus setAclPolicyRevision(java.lang.String aclPolicyRevision) {
+ this.aclPolicyRevision = aclPolicyRevision;
+ return this;
+ }
+
+ /**
+ * Output only. The revision number of the ACL policy revision this status refers to.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Long getAclPolicyRevisionNumber() {
+ return aclPolicyRevisionNumber;
+ }
+
+ /**
+ * Output only. The revision number of the ACL policy revision this status refers to.
+ * @param aclPolicyRevisionNumber aclPolicyRevisionNumber or {@code null} for none
+ */
+ public AclPolicyRevisionStatus setAclPolicyRevisionNumber(java.lang.Long aclPolicyRevisionNumber) {
+ this.aclPolicyRevisionNumber = aclPolicyRevisionNumber;
+ return this;
+ }
+
+ /**
+ * Output only. Human-readable error message providing more details for FAILED states.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getErrorMessage() {
+ return errorMessage;
+ }
+
+ /**
+ * Output only. Human-readable error message providing more details for FAILED states.
+ * @param errorMessage errorMessage or {@code null} for none
+ */
+ public AclPolicyRevisionStatus setErrorMessage(java.lang.String errorMessage) {
+ this.errorMessage = errorMessage;
+ return this;
+ }
+
+ /**
+ * Output only. AclPolicyRevision state.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getState() {
+ return state;
+ }
+
+ /**
+ * Output only. AclPolicyRevision state.
+ * @param state state or {@code null} for none
+ */
+ public AclPolicyRevisionStatus setState(java.lang.String state) {
+ this.state = state;
+ return this;
+ }
+
+ @Override
+ public AclPolicyRevisionStatus set(String fieldName, Object value) {
+ return (AclPolicyRevisionStatus) super.set(fieldName, value);
+ }
+
+ @Override
+ public AclPolicyRevisionStatus clone() {
+ return (AclPolicyRevisionStatus) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Cluster.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Cluster.java
index 4fe37662e93..0a2fa602d08 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Cluster.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Cluster.java
@@ -45,6 +45,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.Boolean aclPolicyInSync;
+ /**
+ * Output only. Details of the applied ACL policy.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private AclPolicyInfo aclPolicyInfo;
+
/**
* Optional. Immutable. Deprecated, do not use.
* The value may be {@code null}.
@@ -403,6 +410,23 @@ public Cluster setAclPolicyInSync(java.lang.Boolean aclPolicyInSync) {
return this;
}
+ /**
+ * Output only. Details of the applied ACL policy.
+ * @return value or {@code null} for none
+ */
+ public AclPolicyInfo getAclPolicyInfo() {
+ return aclPolicyInfo;
+ }
+
+ /**
+ * Output only. Details of the applied ACL policy.
+ * @param aclPolicyInfo aclPolicyInfo or {@code null} for none
+ */
+ public Cluster setAclPolicyInfo(AclPolicyInfo aclPolicyInfo) {
+ this.aclPolicyInfo = aclPolicyInfo;
+ return this;
+ }
+
/**
* Optional. Immutable. Deprecated, do not use.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterAclPolicyAttachment.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterAclPolicyAttachment.java
new file mode 100644
index 00000000000..4707db80929
--- /dev/null
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterAclPolicyAttachment.java
@@ -0,0 +1,101 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.redis.v1.model;
+
+/**
+ * ClusterAclPolicyAttachment stores the ACL policy status for an attached cluster for the revisions
+ * successfully applied, under application or failed.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
+ * detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class ClusterAclPolicyAttachment extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. A list of status for various revisions of this ACL policy on the cluster.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List aclPolicyRevisionStatuses;
+
+ static {
+ // hack to force ProGuard to consider AclPolicyRevisionStatus used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(AclPolicyRevisionStatus.class);
+ }
+
+ /**
+ * Output only. The resource name of the attached Cluster. Format:
+ * "projects/{project}/locations/{location}/clusters/{cluster}"
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String cluster;
+
+ /**
+ * Output only. A list of status for various revisions of this ACL policy on the cluster.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getAclPolicyRevisionStatuses() {
+ return aclPolicyRevisionStatuses;
+ }
+
+ /**
+ * Output only. A list of status for various revisions of this ACL policy on the cluster.
+ * @param aclPolicyRevisionStatuses aclPolicyRevisionStatuses or {@code null} for none
+ */
+ public ClusterAclPolicyAttachment setAclPolicyRevisionStatuses(java.util.List aclPolicyRevisionStatuses) {
+ this.aclPolicyRevisionStatuses = aclPolicyRevisionStatuses;
+ return this;
+ }
+
+ /**
+ * Output only. The resource name of the attached Cluster. Format:
+ * "projects/{project}/locations/{location}/clusters/{cluster}"
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getCluster() {
+ return cluster;
+ }
+
+ /**
+ * Output only. The resource name of the attached Cluster. Format:
+ * "projects/{project}/locations/{location}/clusters/{cluster}"
+ * @param cluster cluster or {@code null} for none
+ */
+ public ClusterAclPolicyAttachment setCluster(java.lang.String cluster) {
+ this.cluster = cluster;
+ return this;
+ }
+
+ @Override
+ public ClusterAclPolicyAttachment set(String fieldName, Object value) {
+ return (ClusterAclPolicyAttachment) super.set(fieldName, value);
+ }
+
+ @Override
+ public ClusterAclPolicyAttachment clone() {
+ return (ClusterAclPolicyAttachment) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListAclPolicyRevisionsResponse.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListAclPolicyRevisionsResponse.java
new file mode 100644
index 00000000000..a8e66a13047
--- /dev/null
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListAclPolicyRevisionsResponse.java
@@ -0,0 +1,121 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.redis.v1.model;
+
+/**
+ * Response for `ListAclPolicyRevisions`.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
+ * detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class ListAclPolicyRevisionsResponse extends com.google.api.client.json.GenericJson {
+
+ /**
+ * A list of ACL policy revisions.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List aclPolicyRevisions;
+
+ static {
+ // hack to force ProGuard to consider AclPolicyRevision used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(AclPolicyRevision.class);
+ }
+
+ /**
+ * Token to retrieve the next page of results, or empty if there are no more results in the list.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String nextPageToken;
+
+ /**
+ * Unordered list. Locations that could not be reached.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List unreachable;
+
+ /**
+ * A list of ACL policy revisions.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getAclPolicyRevisions() {
+ return aclPolicyRevisions;
+ }
+
+ /**
+ * A list of ACL policy revisions.
+ * @param aclPolicyRevisions aclPolicyRevisions or {@code null} for none
+ */
+ public ListAclPolicyRevisionsResponse setAclPolicyRevisions(java.util.List aclPolicyRevisions) {
+ this.aclPolicyRevisions = aclPolicyRevisions;
+ return this;
+ }
+
+ /**
+ * Token to retrieve the next page of results, or empty if there are no more results in the list.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getNextPageToken() {
+ return nextPageToken;
+ }
+
+ /**
+ * Token to retrieve the next page of results, or empty if there are no more results in the list.
+ * @param nextPageToken nextPageToken or {@code null} for none
+ */
+ public ListAclPolicyRevisionsResponse setNextPageToken(java.lang.String nextPageToken) {
+ this.nextPageToken = nextPageToken;
+ return this;
+ }
+
+ /**
+ * Unordered list. Locations that could not be reached.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getUnreachable() {
+ return unreachable;
+ }
+
+ /**
+ * Unordered list. Locations that could not be reached.
+ * @param unreachable unreachable or {@code null} for none
+ */
+ public ListAclPolicyRevisionsResponse setUnreachable(java.util.List unreachable) {
+ this.unreachable = unreachable;
+ return this;
+ }
+
+ @Override
+ public ListAclPolicyRevisionsResponse set(String fieldName, Object value) {
+ return (ListAclPolicyRevisionsResponse) super.set(fieldName, value);
+ }
+
+ @Override
+ public ListAclPolicyRevisionsResponse clone() {
+ return (ListAclPolicyRevisionsResponse) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-redis/v1/2.0.0/pom.xml b/clients/google-api-services-redis/v1/2.0.0/pom.xml
index bdc6a59ded2..1f92f2ba24e 100644
--- a/clients/google-api-services-redis/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-redis/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-redis
- v1-rev20260707-2.0.0
- Google Cloud Memorystore for Redis API v1-rev20260707-2.0.0
+ v1-rev20260720-2.0.0
+ Google Cloud Memorystore for Redis API v1-rev20260720-2.0.0
jar
2011
diff --git a/clients/google-api-services-redis/v1/README.md b/clients/google-api-services-redis/v1/README.md
index 99dc245a918..433b54caa54 100644
--- a/clients/google-api-services-redis/v1/README.md
+++ b/clients/google-api-services-redis/v1/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-redis
- v1-rev20260707-2.0.0
+ v1-rev20260720-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-redis:v1-rev20260707-2.0.0'
+ implementation 'com.google.apis:google-api-services-redis:v1-rev20260720-2.0.0'
}
```
diff --git a/clients/google-api-services-redis/v1beta1/2.0.0/README.md b/clients/google-api-services-redis/v1beta1/2.0.0/README.md
index 317a0b3871a..feebd4a7788 100644
--- a/clients/google-api-services-redis/v1beta1/2.0.0/README.md
+++ b/clients/google-api-services-redis/v1beta1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-redis
- v1beta1-rev20260707-2.0.0
+ v1beta1-rev20260720-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-redis:v1beta1-rev20260707-2.0.0'
+ implementation 'com.google.apis:google-api-services-redis:v1beta1-rev20260720-2.0.0'
}
```
diff --git a/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/CloudRedis.java b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/CloudRedis.java
index d4521eaf563..b182afbaeba 100644
--- a/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/CloudRedis.java
+++ b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/CloudRedis.java
@@ -1644,6 +1644,366 @@ public Patch set(String parameterName, Object value) {
}
}
+ /**
+ * An accessor for creating requests from the Revisions collection.
+ *
+ * The typical use is:
+ *
+ * {@code CloudRedis redis = new CloudRedis(...);}
+ * {@code CloudRedis.Revisions.List request = redis.revisions().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Revisions revisions() {
+ return new Revisions();
+ }
+
+ /**
+ * The "revisions" collection of methods.
+ */
+ public class Revisions {
+
+ /**
+ * Gets details of a specific ACL policy revision.
+ *
+ * Create a request for the method "revisions.get".
+ *
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. Redis ACL policy revision resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}/revisions/{revi
+ * sion_id}` where `location_id` refers to a GCP region.
+ * @return the request
+ */
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends CloudRedisRequest {
+
+ private static final String REST_PATH = "v1beta1/{+name}";
+
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+/revisions/[^/]+$");
+
+ /**
+ * Gets details of a specific ACL policy revision.
+ *
+ * Create a request for the method "revisions.get".
+ *
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Required. Redis ACL policy revision resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}/revisions/{revi
+ * sion_id}` where `location_id` refers to a GCP region.
+ * @since 1.13
+ */
+ protected Get(java.lang.String name) {
+ super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1beta1.model.AclPolicyRevision.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+/revisions/[^/]+$");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
+ }
+
+ @Override
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
+ }
+
+ @Override
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
+ }
+
+ @Override
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
+ }
+
+ @Override
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /**
+ * Required. Redis ACL policy revision resource name using the form: `projects/{project_
+ * id}/locations/{location_id}/aclPolicies/{acl_policy_id}/revisions/{revision_id}`
+ * where `location_id` refers to a GCP region.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /** Required. Redis ACL policy revision resource name using the form:
+ `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}/revisions/{revision_id}`
+ where `location_id` refers to a GCP region.
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Required. Redis ACL policy revision resource name using the form: `projects/{project_
+ * id}/locations/{location_id}/aclPolicies/{acl_policy_id}/revisions/{revision_id}`
+ * where `location_id` refers to a GCP region.
+ */
+ public Get setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+/revisions/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
+
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Lists all ACL policy revisions in a given ACL policy.
+ *
+ * Create a request for the method "revisions.list".
+ *
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The name of the ACL policy to list revisions for. Format:
+ * "projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}"
+ * @return the request
+ */
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
+ initialize(result);
+ return result;
+ }
+
+ public class List extends CloudRedisRequest {
+
+ private static final String REST_PATH = "v1beta1/{+parent}/revisions";
+
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+
+ /**
+ * Lists all ACL policy revisions in a given ACL policy.
+ *
+ * Create a request for the method "revisions.list".
+ *
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param parent Required. The name of the ACL policy to list revisions for. Format:
+ * "projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}"
+ * @since 1.13
+ */
+ protected List(java.lang.String parent) {
+ super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1beta1.model.ListAclPolicyRevisionsResponse.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
+ }
+
+ @Override
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
+ }
+
+ @Override
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
+ }
+
+ @Override
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
+ }
+
+ @Override
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /**
+ * Required. The name of the ACL policy to list revisions for. Format:
+ * "projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}"
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String parent;
+
+ /** Required. The name of the ACL policy to list revisions for. Format:
+ "projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}"
+ */
+ public java.lang.String getParent() {
+ return parent;
+ }
+
+ /**
+ * Required. The name of the ACL policy to list revisions for. Format:
+ * "projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}"
+ */
+ public List setParent(java.lang.String parent) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+ }
+ this.parent = parent;
+ return this;
+ }
+
+ /** Optional. The maximum number of items to return. */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
+
+ /** Optional. The maximum number of items to return.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
+ }
+
+ /** Optional. The maximum number of items to return. */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+ /**
+ * Optional. The `next_page_token` value returned from a previous
+ * `ListAclPolicyRevisions` request, if any.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Optional. The `next_page_token` value returned from a previous `ListAclPolicyRevisions` request, if
+ any.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Optional. The `next_page_token` value returned from a previous
+ * `ListAclPolicyRevisions` request, if any.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ @Override
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
+ }
+ }
+
+ }
}
/**
* An accessor for creating requests from the BackupCollections collection.
diff --git a/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicy.java b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicy.java
index 25d026b8973..5e46a86901d 100644
--- a/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicy.java
+++ b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicy.java
@@ -30,6 +30,20 @@
@SuppressWarnings("javadoc")
public final class AclPolicy extends com.google.api.client.json.GenericJson {
+ /**
+ * Output only. The ACL policy attachment status for each attached cluster.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List clusterAclPolicyAttachments;
+
+ /**
+ * Output only. The timestamp that the ACL policy was created.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private String createTime;
+
/**
* Output only. Etag for the ACL policy.
* The value may be {@code null}.
@@ -58,6 +72,13 @@ public final class AclPolicy extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String state;
+ /**
+ * Output only. The timestamp that the ACL policy was last updated.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private String updateTime;
+
/**
* Output only. Deprecated: Used in drift resolution.
* The value may be {@code null}.
@@ -65,6 +86,40 @@ public final class AclPolicy extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long version;
+ /**
+ * Output only. The ACL policy attachment status for each attached cluster.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getClusterAclPolicyAttachments() {
+ return clusterAclPolicyAttachments;
+ }
+
+ /**
+ * Output only. The ACL policy attachment status for each attached cluster.
+ * @param clusterAclPolicyAttachments clusterAclPolicyAttachments or {@code null} for none
+ */
+ public AclPolicy setClusterAclPolicyAttachments(java.util.List clusterAclPolicyAttachments) {
+ this.clusterAclPolicyAttachments = clusterAclPolicyAttachments;
+ return this;
+ }
+
+ /**
+ * Output only. The timestamp that the ACL policy was created.
+ * @return value or {@code null} for none
+ */
+ public String getCreateTime() {
+ return createTime;
+ }
+
+ /**
+ * Output only. The timestamp that the ACL policy was created.
+ * @param createTime createTime or {@code null} for none
+ */
+ public AclPolicy setCreateTime(String createTime) {
+ this.createTime = createTime;
+ return this;
+ }
+
/**
* Output only. Etag for the ACL policy.
* @return value or {@code null} for none
@@ -133,6 +188,23 @@ public AclPolicy setState(java.lang.String state) {
return this;
}
+ /**
+ * Output only. The timestamp that the ACL policy was last updated.
+ * @return value or {@code null} for none
+ */
+ public String getUpdateTime() {
+ return updateTime;
+ }
+
+ /**
+ * Output only. The timestamp that the ACL policy was last updated.
+ * @param updateTime updateTime or {@code null} for none
+ */
+ public AclPolicy setUpdateTime(String updateTime) {
+ this.updateTime = updateTime;
+ return this;
+ }
+
/**
* Output only. Deprecated: Used in drift resolution.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicyInfo.java b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicyInfo.java
new file mode 100644
index 00000000000..9b4d3a26032
--- /dev/null
+++ b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicyInfo.java
@@ -0,0 +1,145 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.redis.v1beta1.model;
+
+/**
+ * Details of the applied ACL policy.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
+ * detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class AclPolicyInfo extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. A list of status for various revisions of this ACL policy on the cluster.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List aclPolicyRevisionStatuses;
+
+ /**
+ * Output only. The resource name of the applied ACL policy. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}"
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String appliedAclPolicy;
+
+ /**
+ * Output only. The resource name of the applied ACL policy revision. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String appliedAclPolicyRevision;
+
+ /**
+ * Output only. The revision number of the applied ACL policy revision.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key @com.google.api.client.json.JsonString
+ private java.lang.Long appliedAclPolicyRevisionNumber;
+
+ /**
+ * Output only. A list of status for various revisions of this ACL policy on the cluster.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getAclPolicyRevisionStatuses() {
+ return aclPolicyRevisionStatuses;
+ }
+
+ /**
+ * Output only. A list of status for various revisions of this ACL policy on the cluster.
+ * @param aclPolicyRevisionStatuses aclPolicyRevisionStatuses or {@code null} for none
+ */
+ public AclPolicyInfo setAclPolicyRevisionStatuses(java.util.List aclPolicyRevisionStatuses) {
+ this.aclPolicyRevisionStatuses = aclPolicyRevisionStatuses;
+ return this;
+ }
+
+ /**
+ * Output only. The resource name of the applied ACL policy. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}"
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getAppliedAclPolicy() {
+ return appliedAclPolicy;
+ }
+
+ /**
+ * Output only. The resource name of the applied ACL policy. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}"
+ * @param appliedAclPolicy appliedAclPolicy or {@code null} for none
+ */
+ public AclPolicyInfo setAppliedAclPolicy(java.lang.String appliedAclPolicy) {
+ this.appliedAclPolicy = appliedAclPolicy;
+ return this;
+ }
+
+ /**
+ * Output only. The resource name of the applied ACL policy revision. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getAppliedAclPolicyRevision() {
+ return appliedAclPolicyRevision;
+ }
+
+ /**
+ * Output only. The resource name of the applied ACL policy revision. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * @param appliedAclPolicyRevision appliedAclPolicyRevision or {@code null} for none
+ */
+ public AclPolicyInfo setAppliedAclPolicyRevision(java.lang.String appliedAclPolicyRevision) {
+ this.appliedAclPolicyRevision = appliedAclPolicyRevision;
+ return this;
+ }
+
+ /**
+ * Output only. The revision number of the applied ACL policy revision.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Long getAppliedAclPolicyRevisionNumber() {
+ return appliedAclPolicyRevisionNumber;
+ }
+
+ /**
+ * Output only. The revision number of the applied ACL policy revision.
+ * @param appliedAclPolicyRevisionNumber appliedAclPolicyRevisionNumber or {@code null} for none
+ */
+ public AclPolicyInfo setAppliedAclPolicyRevisionNumber(java.lang.Long appliedAclPolicyRevisionNumber) {
+ this.appliedAclPolicyRevisionNumber = appliedAclPolicyRevisionNumber;
+ return this;
+ }
+
+ @Override
+ public AclPolicyInfo set(String fieldName, Object value) {
+ return (AclPolicyInfo) super.set(fieldName, value);
+ }
+
+ @Override
+ public AclPolicyInfo clone() {
+ return (AclPolicyInfo) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicyRevision.java b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicyRevision.java
new file mode 100644
index 00000000000..01e04600063
--- /dev/null
+++ b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicyRevision.java
@@ -0,0 +1,166 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.redis.v1beta1.model;
+
+/**
+ * The ACL policy revision resource.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
+ * detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class AclPolicyRevision extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. A list of clusters that are attached to this ACL policy revision.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List attachedClusters;
+
+ /**
+ * Output only. The timestamp that the revision was created.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private String createTime;
+
+ /**
+ * Identifier. The name of the ACL policy revision. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /**
+ * Output only. The revision number of the ACL policy revision.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key @com.google.api.client.json.JsonString
+ private java.lang.Long revisionNumber;
+
+ /**
+ * Output only. The snapshot of the ACL policy at the time of revision creation.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private AclPolicy snapshot;
+
+ /**
+ * Output only. A list of clusters that are attached to this ACL policy revision.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getAttachedClusters() {
+ return attachedClusters;
+ }
+
+ /**
+ * Output only. A list of clusters that are attached to this ACL policy revision.
+ * @param attachedClusters attachedClusters or {@code null} for none
+ */
+ public AclPolicyRevision setAttachedClusters(java.util.List attachedClusters) {
+ this.attachedClusters = attachedClusters;
+ return this;
+ }
+
+ /**
+ * Output only. The timestamp that the revision was created.
+ * @return value or {@code null} for none
+ */
+ public String getCreateTime() {
+ return createTime;
+ }
+
+ /**
+ * Output only. The timestamp that the revision was created.
+ * @param createTime createTime or {@code null} for none
+ */
+ public AclPolicyRevision setCreateTime(String createTime) {
+ this.createTime = createTime;
+ return this;
+ }
+
+ /**
+ * Identifier. The name of the ACL policy revision. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Identifier. The name of the ACL policy revision. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * @param name name or {@code null} for none
+ */
+ public AclPolicyRevision setName(java.lang.String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Output only. The revision number of the ACL policy revision.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Long getRevisionNumber() {
+ return revisionNumber;
+ }
+
+ /**
+ * Output only. The revision number of the ACL policy revision.
+ * @param revisionNumber revisionNumber or {@code null} for none
+ */
+ public AclPolicyRevision setRevisionNumber(java.lang.Long revisionNumber) {
+ this.revisionNumber = revisionNumber;
+ return this;
+ }
+
+ /**
+ * Output only. The snapshot of the ACL policy at the time of revision creation.
+ * @return value or {@code null} for none
+ */
+ public AclPolicy getSnapshot() {
+ return snapshot;
+ }
+
+ /**
+ * Output only. The snapshot of the ACL policy at the time of revision creation.
+ * @param snapshot snapshot or {@code null} for none
+ */
+ public AclPolicyRevision setSnapshot(AclPolicy snapshot) {
+ this.snapshot = snapshot;
+ return this;
+ }
+
+ @Override
+ public AclPolicyRevision set(String fieldName, Object value) {
+ return (AclPolicyRevision) super.set(fieldName, value);
+ }
+
+ @Override
+ public AclPolicyRevision clone() {
+ return (AclPolicyRevision) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicyRevisionStatus.java b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicyRevisionStatus.java
new file mode 100644
index 00000000000..3f7da05068d
--- /dev/null
+++ b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/AclPolicyRevisionStatus.java
@@ -0,0 +1,142 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.redis.v1beta1.model;
+
+/**
+ * AclPolicyRevisionStatus stores the per-revision status for an attached cluster.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
+ * detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class AclPolicyRevisionStatus extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. The resource name of the ACL policy revision this status refers to. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String aclPolicyRevision;
+
+ /**
+ * Output only. The revision number of the ACL policy revision this status refers to.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key @com.google.api.client.json.JsonString
+ private java.lang.Long aclPolicyRevisionNumber;
+
+ /**
+ * Output only. Human-readable error message providing more details for FAILED states.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String errorMessage;
+
+ /**
+ * Output only. AclPolicyRevision state.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String state;
+
+ /**
+ * Output only. The resource name of the ACL policy revision this status refers to. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getAclPolicyRevision() {
+ return aclPolicyRevision;
+ }
+
+ /**
+ * Output only. The resource name of the ACL policy revision this status refers to. Format:
+ * "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
+ * @param aclPolicyRevision aclPolicyRevision or {@code null} for none
+ */
+ public AclPolicyRevisionStatus setAclPolicyRevision(java.lang.String aclPolicyRevision) {
+ this.aclPolicyRevision = aclPolicyRevision;
+ return this;
+ }
+
+ /**
+ * Output only. The revision number of the ACL policy revision this status refers to.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Long getAclPolicyRevisionNumber() {
+ return aclPolicyRevisionNumber;
+ }
+
+ /**
+ * Output only. The revision number of the ACL policy revision this status refers to.
+ * @param aclPolicyRevisionNumber aclPolicyRevisionNumber or {@code null} for none
+ */
+ public AclPolicyRevisionStatus setAclPolicyRevisionNumber(java.lang.Long aclPolicyRevisionNumber) {
+ this.aclPolicyRevisionNumber = aclPolicyRevisionNumber;
+ return this;
+ }
+
+ /**
+ * Output only. Human-readable error message providing more details for FAILED states.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getErrorMessage() {
+ return errorMessage;
+ }
+
+ /**
+ * Output only. Human-readable error message providing more details for FAILED states.
+ * @param errorMessage errorMessage or {@code null} for none
+ */
+ public AclPolicyRevisionStatus setErrorMessage(java.lang.String errorMessage) {
+ this.errorMessage = errorMessage;
+ return this;
+ }
+
+ /**
+ * Output only. AclPolicyRevision state.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getState() {
+ return state;
+ }
+
+ /**
+ * Output only. AclPolicyRevision state.
+ * @param state state or {@code null} for none
+ */
+ public AclPolicyRevisionStatus setState(java.lang.String state) {
+ this.state = state;
+ return this;
+ }
+
+ @Override
+ public AclPolicyRevisionStatus set(String fieldName, Object value) {
+ return (AclPolicyRevisionStatus) super.set(fieldName, value);
+ }
+
+ @Override
+ public AclPolicyRevisionStatus clone() {
+ return (AclPolicyRevisionStatus) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/Cluster.java b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/Cluster.java
index f479ec6dd32..9a010675c76 100644
--- a/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/Cluster.java
+++ b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/Cluster.java
@@ -45,6 +45,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.Boolean aclPolicyInSync;
+ /**
+ * Output only. Details of the applied ACL policy.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private AclPolicyInfo aclPolicyInfo;
+
/**
* Optional. Immutable. Deprecated, do not use.
* The value may be {@code null}.
@@ -403,6 +410,23 @@ public Cluster setAclPolicyInSync(java.lang.Boolean aclPolicyInSync) {
return this;
}
+ /**
+ * Output only. Details of the applied ACL policy.
+ * @return value or {@code null} for none
+ */
+ public AclPolicyInfo getAclPolicyInfo() {
+ return aclPolicyInfo;
+ }
+
+ /**
+ * Output only. Details of the applied ACL policy.
+ * @param aclPolicyInfo aclPolicyInfo or {@code null} for none
+ */
+ public Cluster setAclPolicyInfo(AclPolicyInfo aclPolicyInfo) {
+ this.aclPolicyInfo = aclPolicyInfo;
+ return this;
+ }
+
/**
* Optional. Immutable. Deprecated, do not use.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/ClusterAclPolicyAttachment.java b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/ClusterAclPolicyAttachment.java
new file mode 100644
index 00000000000..b5ab59b18dd
--- /dev/null
+++ b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/ClusterAclPolicyAttachment.java
@@ -0,0 +1,101 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.redis.v1beta1.model;
+
+/**
+ * ClusterAclPolicyAttachment stores the ACL policy status for an attached cluster for the revisions
+ * successfully applied, under application or failed.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
+ * detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class ClusterAclPolicyAttachment extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. A list of status for various revisions of this ACL policy on the cluster.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List aclPolicyRevisionStatuses;
+
+ static {
+ // hack to force ProGuard to consider AclPolicyRevisionStatus used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(AclPolicyRevisionStatus.class);
+ }
+
+ /**
+ * Output only. The resource name of the attached Cluster. Format:
+ * "projects/{project}/locations/{location}/clusters/{cluster}"
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String cluster;
+
+ /**
+ * Output only. A list of status for various revisions of this ACL policy on the cluster.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getAclPolicyRevisionStatuses() {
+ return aclPolicyRevisionStatuses;
+ }
+
+ /**
+ * Output only. A list of status for various revisions of this ACL policy on the cluster.
+ * @param aclPolicyRevisionStatuses aclPolicyRevisionStatuses or {@code null} for none
+ */
+ public ClusterAclPolicyAttachment setAclPolicyRevisionStatuses(java.util.List aclPolicyRevisionStatuses) {
+ this.aclPolicyRevisionStatuses = aclPolicyRevisionStatuses;
+ return this;
+ }
+
+ /**
+ * Output only. The resource name of the attached Cluster. Format:
+ * "projects/{project}/locations/{location}/clusters/{cluster}"
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getCluster() {
+ return cluster;
+ }
+
+ /**
+ * Output only. The resource name of the attached Cluster. Format:
+ * "projects/{project}/locations/{location}/clusters/{cluster}"
+ * @param cluster cluster or {@code null} for none
+ */
+ public ClusterAclPolicyAttachment setCluster(java.lang.String cluster) {
+ this.cluster = cluster;
+ return this;
+ }
+
+ @Override
+ public ClusterAclPolicyAttachment set(String fieldName, Object value) {
+ return (ClusterAclPolicyAttachment) super.set(fieldName, value);
+ }
+
+ @Override
+ public ClusterAclPolicyAttachment clone() {
+ return (ClusterAclPolicyAttachment) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/ListAclPolicyRevisionsResponse.java b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/ListAclPolicyRevisionsResponse.java
new file mode 100644
index 00000000000..5bc5f3e03f4
--- /dev/null
+++ b/clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/ListAclPolicyRevisionsResponse.java
@@ -0,0 +1,121 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.redis.v1beta1.model;
+
+/**
+ * Response for `ListAclPolicyRevisions`.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
+ * detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class ListAclPolicyRevisionsResponse extends com.google.api.client.json.GenericJson {
+
+ /**
+ * A list of ACL policy revisions.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List aclPolicyRevisions;
+
+ static {
+ // hack to force ProGuard to consider AclPolicyRevision used, since otherwise it would be stripped out
+ // see https://github.com/google/google-api-java-client/issues/543
+ com.google.api.client.util.Data.nullOf(AclPolicyRevision.class);
+ }
+
+ /**
+ * Token to retrieve the next page of results, or empty if there are no more results in the list.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String nextPageToken;
+
+ /**
+ * Unordered list. Locations that could not be reached.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List unreachable;
+
+ /**
+ * A list of ACL policy revisions.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getAclPolicyRevisions() {
+ return aclPolicyRevisions;
+ }
+
+ /**
+ * A list of ACL policy revisions.
+ * @param aclPolicyRevisions aclPolicyRevisions or {@code null} for none
+ */
+ public ListAclPolicyRevisionsResponse setAclPolicyRevisions(java.util.List aclPolicyRevisions) {
+ this.aclPolicyRevisions = aclPolicyRevisions;
+ return this;
+ }
+
+ /**
+ * Token to retrieve the next page of results, or empty if there are no more results in the list.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getNextPageToken() {
+ return nextPageToken;
+ }
+
+ /**
+ * Token to retrieve the next page of results, or empty if there are no more results in the list.
+ * @param nextPageToken nextPageToken or {@code null} for none
+ */
+ public ListAclPolicyRevisionsResponse setNextPageToken(java.lang.String nextPageToken) {
+ this.nextPageToken = nextPageToken;
+ return this;
+ }
+
+ /**
+ * Unordered list. Locations that could not be reached.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getUnreachable() {
+ return unreachable;
+ }
+
+ /**
+ * Unordered list. Locations that could not be reached.
+ * @param unreachable unreachable or {@code null} for none
+ */
+ public ListAclPolicyRevisionsResponse setUnreachable(java.util.List unreachable) {
+ this.unreachable = unreachable;
+ return this;
+ }
+
+ @Override
+ public ListAclPolicyRevisionsResponse set(String fieldName, Object value) {
+ return (ListAclPolicyRevisionsResponse) super.set(fieldName, value);
+ }
+
+ @Override
+ public ListAclPolicyRevisionsResponse clone() {
+ return (ListAclPolicyRevisionsResponse) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-redis/v1beta1/2.0.0/pom.xml b/clients/google-api-services-redis/v1beta1/2.0.0/pom.xml
index a583ef192e0..d639f07c020 100644
--- a/clients/google-api-services-redis/v1beta1/2.0.0/pom.xml
+++ b/clients/google-api-services-redis/v1beta1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-redis
- v1beta1-rev20260707-2.0.0
- Google Cloud Memorystore for Redis API v1beta1-rev20260707-2.0.0
+ v1beta1-rev20260720-2.0.0
+ Google Cloud Memorystore for Redis API v1beta1-rev20260720-2.0.0
jar
2011
diff --git a/clients/google-api-services-redis/v1beta1/README.md b/clients/google-api-services-redis/v1beta1/README.md
index 317a0b3871a..feebd4a7788 100644
--- a/clients/google-api-services-redis/v1beta1/README.md
+++ b/clients/google-api-services-redis/v1beta1/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-redis
- v1beta1-rev20260707-2.0.0
+ v1beta1-rev20260720-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-redis:v1beta1-rev20260707-2.0.0'
+ implementation 'com.google.apis:google-api-services-redis:v1beta1-rev20260720-2.0.0'
}
```