google-iam overview (1.5.1)

com.google.iam.v1

com.google.iam.v1.logging

com.google.iam.v2beta

A client to Identity and Access Management (IAM) API

The interfaces provided are listed below, along with usage samples.

PoliciesClient

Service Description: An interface for managing Identity and Access Management (IAM) policies.

Sample for PoliciesClient:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 try (PoliciesClient policiesClient = PoliciesClient.create()) {
   PolicyName name = PolicyName.of("[POLICY]");
   Policy response = policiesClient.getPolicy(name);
 }
 

com.google.iam.v2beta.stub