An API for setting attribute based access control to requests to Google Cloud services. Warning: Do not mix v1alpha and v1 API usage in the same access policy. The v1alpha API supports new Access Context Manager features, which may have different attributes or behaviors that are not supported by v1. The practice of mixed API usage within a policy may result in the inability to update that policy, including any access levels or service perimeters belonging to it. It is not recommended to use both v1 and v1alpha for modifying policies with critical service perimeters. Modifications using v1alpha should be limited to policies with non-production/non-critical service perimeters.
This page contains information about getting started with the Access Context Manager API using the Google API Client Library for Java. In addition, you may be interested in the following documentation:
- Browse the Javadoc reference for the Access Context Manager API
- Read the Developer's Guide for the Google API Client Library for Java.
- Interact with this API in your browser using the APIs Explorer for the Access Context Manager API
Add the following lines to your pom.xml
file:
<project>
<dependencies>
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-accesscontextmanager</artifactId>
<version>v1-rev20241216-2.0.0</version>
</dependency>
</dependencies>
</project>
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-accesscontextmanager:v1-rev20241216-2.0.0'
}