| Package | Description |
|---|---|
| com.google.cloud |
Core classes for the
gcloud-java library. |
| Modifier and Type | Method and Description |
|---|---|
static Identity |
Identity.allAuthenticatedUsers()
Returns a new identity representing anyone who is authenticated with a Google account or a
service account.
|
static Identity |
Identity.allUsers()
Returns a new identity representing anyone who is on the internet; with or without a Google
account.
|
static Identity |
Identity.domain(String domain)
Returns a new domain identity.
|
static Identity |
Identity.group(String email)
Returns a new group identity.
|
static Identity |
Identity.serviceAccount(String email)
Returns a new service account identity.
|
static Identity |
Identity.user(String email)
Returns a new user identity.
|
static Identity |
Identity.valueOf(String identityStr)
Converts a string to an
Identity. |
| Modifier and Type | Method and Description |
|---|---|
Map<R,Set<Identity>> |
IamPolicy.bindings()
The map of bindings that comprises the policy.
|
| Modifier and Type | Method and Description |
|---|---|
B |
IamPolicy.Builder.addIdentity(R role,
Identity first,
Identity... others)
Adds one or more identities to the policy under the role specified.
|
B |
IamPolicy.Builder.addIdentity(R role,
Identity first,
Identity... others)
Adds one or more identities to the policy under the role specified.
|
B |
IamPolicy.Builder.removeIdentity(R role,
Identity first,
Identity... others)
Removes one or more identities from an existing binding.
|
B |
IamPolicy.Builder.removeIdentity(R role,
Identity first,
Identity... others)
Removes one or more identities from an existing binding.
|
| Modifier and Type | Method and Description |
|---|---|
B |
IamPolicy.Builder.bindings(Map<R,Set<Identity>> bindings)
Replaces the builder's map of bindings with the given map of bindings.
|
Copyright © 2016 Google. All rights reserved.