Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-accesscontextmanager</artifactId>
<version>v1-rev20260730-2.0.0</version>
<version>v1-rev20260809-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5828,27 +5828,27 @@ 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;
}

/**
* 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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand All @@ -231,7 +231,7 @@ public java.util.List<Application> 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@
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() {
return addRequestHeader;
}

/**
* Adds additional HTTP request headers.
* Adds an additional HTTP request header.
* @param addRequestHeader addRequestHeader or {@code null} for none
*/
public Modifier setAddRequestHeader(AddRequestHeader addRequestHeader) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* <p> 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
Expand All @@ -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
Expand All @@ -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() {
Expand All @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -77,7 +77,7 @@ public ServicePattern setModifiers(java.util.List<Modifier> 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() {
Expand All @@ -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) {
Expand Down
Loading
Loading