public class Iam extends AbstractGoogleJsonClient
Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.
For more information about this service, see the API Documentation
This service uses IamRequestInitializer to initialize global parameters via its
Iam.Builder.
| Modifier and Type | Class and Description |
|---|---|
static class |
Iam.Builder
Builder for
Iam. |
class |
Iam.IamPolicies
The "iamPolicies" collection of methods.
|
class |
Iam.Organizations
The "organizations" collection of methods.
|
class |
Iam.Permissions
The "permissions" collection of methods.
|
class |
Iam.Projects
The "projects" collection of methods.
|
class |
Iam.Roles
The "roles" collection of methods.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_BASE_URL
The default encoded base URL of the service.
|
static String |
DEFAULT_BATCH_PATH
The default encoded batch path of the service.
|
static String |
DEFAULT_ROOT_URL
The default encoded root URL of the service.
|
static String |
DEFAULT_SERVICE_PATH
The default encoded service path of the service.
|
| Constructor and Description |
|---|
Iam(HttpTransport transport,
JsonFactory jsonFactory,
HttpRequestInitializer httpRequestInitializer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Iam.IamPolicies |
iamPolicies()
An accessor for creating requests from the IamPolicies collection.
|
protected void |
initialize(AbstractGoogleClientRequest<?> httpClientRequest) |
Iam.Organizations |
organizations()
An accessor for creating requests from the Organizations collection.
|
Iam.Permissions |
permissions()
An accessor for creating requests from the Permissions collection.
|
Iam.Projects |
projects()
An accessor for creating requests from the Projects collection.
|
Iam.Roles |
roles()
An accessor for creating requests from the Roles collection.
|
getJsonFactory, getObjectParserbatch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterCheckspublic static final String DEFAULT_ROOT_URL
public static final String DEFAULT_SERVICE_PATH
public static final String DEFAULT_BATCH_PATH
public static final String DEFAULT_BASE_URL
public Iam(HttpTransport transport, JsonFactory jsonFactory, HttpRequestInitializer httpRequestInitializer)
Use Iam.Builder if you need to specify any of the optional parameters.
transport - HTTP transport, which should normally be:
com.google.api.client.extensions.appengine.http.UrlFetchTransportnewCompatibleTransport from
com.google.api.client.extensions.android.http.AndroidHttpGoogleNetHttpTransport
jsonFactory - JSON factory, which may be:
com.google.api.client.json.jackson2.JacksonFactorycom.google.api.client.json.gson.GsonFactorycom.google.api.client.extensions.android.json.AndroidJsonFactoryhttpRequestInitializer - HTTP request initializer or null for noneprotected void initialize(AbstractGoogleClientRequest<?> httpClientRequest) throws IOException
initialize in class AbstractGoogleClientIOExceptionpublic Iam.IamPolicies iamPolicies()
The typical use is:
Iam iam = new Iam(...);Iam.IamPolicies.List request = iam.iamPolicies().list(parameters ...)
public Iam.Organizations organizations()
The typical use is:
Iam iam = new Iam(...);Iam.Organizations.List request = iam.organizations().list(parameters ...)
public Iam.Permissions permissions()
The typical use is:
Iam iam = new Iam(...);Iam.Permissions.List request = iam.permissions().list(parameters ...)
public Iam.Projects projects()
The typical use is:
Iam iam = new Iam(...);Iam.Projects.List request = iam.projects().list(parameters ...)
public Iam.Roles roles()
The typical use is:
Iam iam = new Iam(...);Iam.Roles.List request = iam.roles().list(parameters ...)
Copyright © 2011–2019 Google. All rights reserved.