Google Cloud Identity & Access Management (IAM) lets administrators authorize who can take action on specific resources. These sample applications demonstrate how to interact with Cloud IAM using the Google API Client Library for Java.
Install Maven.
Build the project with:
mvn clean package
Run the Quickstart, which lists roles in a project:
mvn exec:java