Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API.
This page contains information about getting started with the Identity and Access Management (IAM) 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 Identity and Access Management (IAM) 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 Identity and Access Management (IAM) API
Add the following lines to your pom.xml
file:
<project>
<dependencies>
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-iam</artifactId>
<version>v1-rev20241114-2.0.0</version>
</dependency>
</dependencies>
</project>
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-iam:v1-rev20241114-2.0.0'
}