From 80b024b0e8a87d133f0b7e9205e5879f8646f493 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 12 Aug 2026 17:40:59 -0700 Subject: [PATCH] chore: regenerate accesscontextmanager client --- .../v1/2.0.0/README.md | 4 +- .../v1/AccessContextManager.java | 18 ++--- .../v1/model/ClientScope.java | 24 +++++++ .../v1/model/GcpUserAccessBinding.java | 6 +- .../v1/model/Modifier.java | 6 +- .../v1/model/Principal.java | 52 +++++++++++--- .../v1/model/Project.java | 70 +++++++++++++++++++ .../v1/model/ServicePattern.java | 6 +- .../v1/model/SessionSettings.java | 39 ++++++----- .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- 11 files changed, 183 insertions(+), 50 deletions(-) create mode 100644 clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/Project.java diff --git a/clients/google-api-services-accesscontextmanager/v1/2.0.0/README.md b/clients/google-api-services-accesscontextmanager/v1/2.0.0/README.md index 0c47ef678e2..1aca4137ea7 100644 --- a/clients/google-api-services-accesscontextmanager/v1/2.0.0/README.md +++ b/clients/google-api-services-accesscontextmanager/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-accesscontextmanager - v1-rev20260730-2.0.0 + v1-rev20260809-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-accesscontextmanager:v1-rev20260730-2.0.0' + implementation 'com.google.apis:google-api-services-accesscontextmanager:v1-rev20260809-2.0.0' } ``` diff --git a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/AccessContextManager.java b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/AccessContextManager.java index d249ebfaeea..78462e48531 100644 --- a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/AccessContextManager.java +++ b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/AccessContextManager.java @@ -5828,17 +5828,17 @@ public List setParent(java.lang.String parent) { /** * Optional. The literal filter to apply to the results returned. See - * https://google.aip.dev/160 for more details. Accepts values: * principal:group_key * - * principal:service_account OR principal:service_account_project_number. If this field is - * empty or not one of the above, the default value is "principal:group_key". + * https://google.aip.dev/160 for more details. Accepts values: * `principal:group_key` * + * `principal:service_account` OR `principal:service_account_project_number`. If this field + * is empty or not one of the above, the default value is `"principal:group_key"`. */ @com.google.api.client.util.Key private java.lang.String filter; /** Optional. The literal filter to apply to the results returned. See https://google.aip.dev/160 for - more details. Accepts values: * principal:group_key * principal:service_account OR - principal:service_account_project_number. If this field is empty or not one of the above, the - default value is "principal:group_key". + more details. Accepts values: * `principal:group_key` * `principal:service_account` OR + `principal:service_account_project_number`. If this field is empty or not one of the above, the + default value is `"principal:group_key"`. */ public java.lang.String getFilter() { return filter; @@ -5846,9 +5846,9 @@ public java.lang.String getFilter() { /** * Optional. The literal filter to apply to the results returned. See - * https://google.aip.dev/160 for more details. Accepts values: * principal:group_key * - * principal:service_account OR principal:service_account_project_number. If this field is - * empty or not one of the above, the default value is "principal:group_key". + * https://google.aip.dev/160 for more details. Accepts values: * `principal:group_key` * + * `principal:service_account` OR `principal:service_account_project_number`. If this field + * is empty or not one of the above, the default value is `"principal:group_key"`. */ public List setFilter(java.lang.String filter) { this.filter = filter; diff --git a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/ClientScope.java b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/ClientScope.java index 0cdb82181be..8c07bb8ba4a 100644 --- a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/ClientScope.java +++ b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/ClientScope.java @@ -37,6 +37,13 @@ public final class ClientScope extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private Application restrictedClientApplication; + /** + * Optional. The GCP project that is subject to this binding's scope. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Project restrictedProject; + /** * Optional. The application that is subject to this binding's scope. * @return value or {@code null} for none @@ -54,6 +61,23 @@ public ClientScope setRestrictedClientApplication(Application restrictedClientAp return this; } + /** + * Optional. The GCP project that is subject to this binding's scope. + * @return value or {@code null} for none + */ + public Project getRestrictedProject() { + return restrictedProject; + } + + /** + * Optional. The GCP project that is subject to this binding's scope. + * @param restrictedProject restrictedProject or {@code null} for none + */ + public ClientScope setRestrictedProject(Project restrictedProject) { + this.restrictedProject = restrictedProject; + return this; + } + @Override public ClientScope set(String fieldName, Object value) { return (ClientScope) super.set(fieldName, value); diff --git a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/GcpUserAccessBinding.java b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/GcpUserAccessBinding.java index 66a41851e55..311b23c900e 100644 --- a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/GcpUserAccessBinding.java +++ b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/GcpUserAccessBinding.java @@ -80,7 +80,7 @@ public final class GcpUserAccessBinding extends com.google.api.client.json.Gener private Principal principal; /** - * Optional. Deprecated: use scoped_access_settings instead. A list of applications that are + * Optional. Deprecated: Use `scoped_access_settings` instead. A list of applications that are * subject to this binding's restrictions. If the list is empty, the binding restrictions will * universally apply to all applications. * The value may be {@code null}. @@ -221,7 +221,7 @@ public GcpUserAccessBinding setPrincipal(Principal principal) { } /** - * Optional. Deprecated: use scoped_access_settings instead. A list of applications that are + * Optional. Deprecated: Use `scoped_access_settings` instead. A list of applications that are * subject to this binding's restrictions. If the list is empty, the binding restrictions will * universally apply to all applications. * @return value or {@code null} for none @@ -231,7 +231,7 @@ public java.util.List getRestrictedClientApplications() { } /** - * Optional. Deprecated: use scoped_access_settings instead. A list of applications that are + * Optional. Deprecated: Use `scoped_access_settings` instead. A list of applications that are * subject to this binding's restrictions. If the list is empty, the binding restrictions will * universally apply to all applications. * @param restrictedClientApplications restrictedClientApplications or {@code null} for none diff --git a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/Modifier.java b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/Modifier.java index b3a39b98fdf..09cf92eb247 100644 --- a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/Modifier.java +++ b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/Modifier.java @@ -31,14 +31,14 @@ public final class Modifier extends com.google.api.client.json.GenericJson { /** - * Adds additional HTTP request headers. + * Adds an additional HTTP request header. * The value may be {@code null}. */ @com.google.api.client.util.Key private AddRequestHeader addRequestHeader; /** - * Adds additional HTTP request headers. + * Adds an additional HTTP request header. * @return value or {@code null} for none */ public AddRequestHeader getAddRequestHeader() { @@ -46,7 +46,7 @@ public AddRequestHeader getAddRequestHeader() { } /** - * Adds additional HTTP request headers. + * Adds an additional HTTP request header. * @param addRequestHeader addRequestHeader or {@code null} for none */ public Modifier setAddRequestHeader(AddRequestHeader addRequestHeader) { diff --git a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/Principal.java b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/Principal.java index bf46bf19fd2..71d630974f8 100644 --- a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/Principal.java +++ b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/Principal.java @@ -17,8 +17,8 @@ package com.google.api.services.accesscontextmanager.v1.model; /** - * The comprehensive identity container supporting identities including groups, service accounts and - * federated identities. Only one of them can be set to create an access binding. + * The comprehensive identity container supporting identities including groups, service accounts, + * and federated identities. Only one of them can be set to create an access binding. * *

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 Access Context Manager API. For a detailed @@ -31,12 +31,23 @@ @SuppressWarnings("javadoc") public final class Principal extends com.google.api.client.json.GenericJson { + /** + * Immutable. IAM federated principal name to assign policies to workforce/workload federated + * identities. Can be principal set or single principal, here are some examples: Single principal: + * principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools + * /{pool_id}/subject/{subject_attribute_value} PrincipalSet: principalSet://iam.googleapis.com/pr + * ojects/{project_number}/locations/global/workloadIdentityPools/{pool_id} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String federatedPrincipal; + /** * Immutable. Service account email used to assign policies to a specific service account. If a * service account is subject to multiple policies (e.g., if there is a policy for all service * accounts in a project and a policy for the service account), the closest (i.e. the most - * specific) dry-run policy will be used for the dry-run functionality and the closest policy will - * be used for the enforcement. + * specific) dry-run policy will be used for the dry-run functionality and the closest enforcement + * policy will be used for the enforcement. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -50,12 +61,37 @@ public final class Principal extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String serviceAccountProjectNumber; + /** + * Immutable. IAM federated principal name to assign policies to workforce/workload federated + * identities. Can be principal set or single principal, here are some examples: Single principal: + * principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools + * /{pool_id}/subject/{subject_attribute_value} PrincipalSet: principalSet://iam.googleapis.com/pr + * ojects/{project_number}/locations/global/workloadIdentityPools/{pool_id} + * @return value or {@code null} for none + */ + public java.lang.String getFederatedPrincipal() { + return federatedPrincipal; + } + + /** + * Immutable. IAM federated principal name to assign policies to workforce/workload federated + * identities. Can be principal set or single principal, here are some examples: Single principal: + * principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools + * /{pool_id}/subject/{subject_attribute_value} PrincipalSet: principalSet://iam.googleapis.com/pr + * ojects/{project_number}/locations/global/workloadIdentityPools/{pool_id} + * @param federatedPrincipal federatedPrincipal or {@code null} for none + */ + public Principal setFederatedPrincipal(java.lang.String federatedPrincipal) { + this.federatedPrincipal = federatedPrincipal; + return this; + } + /** * Immutable. Service account email used to assign policies to a specific service account. If a * service account is subject to multiple policies (e.g., if there is a policy for all service * accounts in a project and a policy for the service account), the closest (i.e. the most - * specific) dry-run policy will be used for the dry-run functionality and the closest policy will - * be used for the enforcement. + * specific) dry-run policy will be used for the dry-run functionality and the closest enforcement + * policy will be used for the enforcement. * @return value or {@code null} for none */ public java.lang.String getServiceAccount() { @@ -66,8 +102,8 @@ public java.lang.String getServiceAccount() { * Immutable. Service account email used to assign policies to a specific service account. If a * service account is subject to multiple policies (e.g., if there is a policy for all service * accounts in a project and a policy for the service account), the closest (i.e. the most - * specific) dry-run policy will be used for the dry-run functionality and the closest policy will - * be used for the enforcement. + * specific) dry-run policy will be used for the dry-run functionality and the closest enforcement + * policy will be used for the enforcement. * @param serviceAccount serviceAccount or {@code null} for none */ public Principal setServiceAccount(java.lang.String serviceAccount) { diff --git a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/Project.java b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/Project.java new file mode 100644 index 00000000000..dddd3019660 --- /dev/null +++ b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/Project.java @@ -0,0 +1,70 @@ +/* + * 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.accesscontextmanager.v1.model; + +/** + * A GCP project which contains applications and resources that users can access. + * + *

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 Access Context Manager 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 Project extends com.google.api.client.json.GenericJson { + + /** + * The GCP project resource name. Format: "projects/{project_number}" (Only the numeric project + * name variation is supported). Example: "projects/1234567890" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The GCP project resource name. Format: "projects/{project_number}" (Only the numeric project + * name variation is supported). Example: "projects/1234567890" + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The GCP project resource name. Format: "projects/{project_number}" (Only the numeric project + * name variation is supported). Example: "projects/1234567890" + * @param name name or {@code null} for none + */ + public Project setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public Project set(String fieldName, Object value) { + return (Project) super.set(fieldName, value); + } + + @Override + public Project clone() { + return (Project) super.clone(); + } + +} diff --git a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/ServicePattern.java b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/ServicePattern.java index 46ea42dd18b..f1f5a813bda 100644 --- a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/ServicePattern.java +++ b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/ServicePattern.java @@ -45,7 +45,7 @@ public final class ServicePattern extends com.google.api.client.json.GenericJson /** * URL pattern to allow. Only patterns of ".googleapis.com", "www.googleapis.com/" and - * "*.appspot.com forms are supported, where should be alphanumerical name. + * "*.appspot.com forms are supported, where should be an alphanumeric name. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -77,7 +77,7 @@ public ServicePattern setModifiers(java.util.List modifiers) { /** * URL pattern to allow. Only patterns of ".googleapis.com", "www.googleapis.com/" and - * "*.appspot.com forms are supported, where should be alphanumerical name. + * "*.appspot.com forms are supported, where should be an alphanumeric name. * @return value or {@code null} for none */ public java.lang.String getPattern() { @@ -86,7 +86,7 @@ public java.lang.String getPattern() { /** * URL pattern to allow. Only patterns of ".googleapis.com", "www.googleapis.com/" and - * "*.appspot.com forms are supported, where should be alphanumerical name. + * "*.appspot.com forms are supported, where should be an alphanumeric name. * @param pattern pattern or {@code null} for none */ public ServicePattern setPattern(java.lang.String pattern) { diff --git a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/SessionSettings.java b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/SessionSettings.java index 0267cffb0a2..2d983cd988c 100644 --- a/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/SessionSettings.java +++ b/clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/SessionSettings.java @@ -40,10 +40,11 @@ public final class SessionSettings extends com.google.api.client.json.GenericJso private String maxInactivity; /** - * Optional. The session length. Setting this field to zero is equal to disabling session. Also - * can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is - * true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age - * param. If this field is set to zero, session_length_enabled must be set to false or left unset. + * Optional. The session length. Setting this field to zero allows for sessions that are active + * indefinitely. Also, setting `session_length_enabled` to false disregards session limits, which + * means that sessions never expire. If use_oidc_max_age is true, for OIDC apps, the session + * length will be the minimum of this field and the OIDC max_age param. If this field is set to + * zero, `session_length_enabled` must be set to false or left unset. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -51,8 +52,8 @@ public final class SessionSettings extends com.google.api.client.json.GenericJso /** * Optional. This field enables or disables Google Cloud session length. When false, all fields - * set above will be disregarded and the session length is basically infinite. If session_length - * is set to zero, this field must be false. + * set above will be disregarded and the session length is basically infinite. If `session_length` + * is set to zero, this field must be set to false. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -94,10 +95,11 @@ public SessionSettings setMaxInactivity(String maxInactivity) { } /** - * Optional. The session length. Setting this field to zero is equal to disabling session. Also - * can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is - * true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age - * param. If this field is set to zero, session_length_enabled must be set to false or left unset. + * Optional. The session length. Setting this field to zero allows for sessions that are active + * indefinitely. Also, setting `session_length_enabled` to false disregards session limits, which + * means that sessions never expire. If use_oidc_max_age is true, for OIDC apps, the session + * length will be the minimum of this field and the OIDC max_age param. If this field is set to + * zero, `session_length_enabled` must be set to false or left unset. * @return value or {@code null} for none */ public String getSessionLength() { @@ -105,10 +107,11 @@ public String getSessionLength() { } /** - * Optional. The session length. Setting this field to zero is equal to disabling session. Also - * can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is - * true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age - * param. If this field is set to zero, session_length_enabled must be set to false or left unset. + * Optional. The session length. Setting this field to zero allows for sessions that are active + * indefinitely. Also, setting `session_length_enabled` to false disregards session limits, which + * means that sessions never expire. If use_oidc_max_age is true, for OIDC apps, the session + * length will be the minimum of this field and the OIDC max_age param. If this field is set to + * zero, `session_length_enabled` must be set to false or left unset. * @param sessionLength sessionLength or {@code null} for none */ public SessionSettings setSessionLength(String sessionLength) { @@ -118,8 +121,8 @@ public SessionSettings setSessionLength(String sessionLength) { /** * Optional. This field enables or disables Google Cloud session length. When false, all fields - * set above will be disregarded and the session length is basically infinite. If session_length - * is set to zero, this field must be false. + * set above will be disregarded and the session length is basically infinite. If `session_length` + * is set to zero, this field must be set to false. * @return value or {@code null} for none */ public java.lang.Boolean getSessionLengthEnabled() { @@ -128,8 +131,8 @@ public java.lang.Boolean getSessionLengthEnabled() { /** * Optional. This field enables or disables Google Cloud session length. When false, all fields - * set above will be disregarded and the session length is basically infinite. If session_length - * is set to zero, this field must be false. + * set above will be disregarded and the session length is basically infinite. If `session_length` + * is set to zero, this field must be set to false. * @param sessionLengthEnabled sessionLengthEnabled or {@code null} for none */ public SessionSettings setSessionLengthEnabled(java.lang.Boolean sessionLengthEnabled) { diff --git a/clients/google-api-services-accesscontextmanager/v1/2.0.0/pom.xml b/clients/google-api-services-accesscontextmanager/v1/2.0.0/pom.xml index 3e78993c643..63588eafec2 100644 --- a/clients/google-api-services-accesscontextmanager/v1/2.0.0/pom.xml +++ b/clients/google-api-services-accesscontextmanager/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-accesscontextmanager - v1-rev20260730-2.0.0 - Access Context Manager API v1-rev20260730-2.0.0 + v1-rev20260809-2.0.0 + Access Context Manager API v1-rev20260809-2.0.0 jar 2011 diff --git a/clients/google-api-services-accesscontextmanager/v1/README.md b/clients/google-api-services-accesscontextmanager/v1/README.md index 0c47ef678e2..1aca4137ea7 100644 --- a/clients/google-api-services-accesscontextmanager/v1/README.md +++ b/clients/google-api-services-accesscontextmanager/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-accesscontextmanager - v1-rev20260730-2.0.0 + v1-rev20260809-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-accesscontextmanager:v1-rev20260730-2.0.0' + implementation 'com.google.apis:google-api-services-accesscontextmanager:v1-rev20260809-2.0.0' } ```