Uses of Class
com.google.cloud.Identity
-
Packages that use Identity Package Description com.google.cloud Core classes for thegoogle-cloud
library. -
-
Uses of Identity in com.google.cloud
Fields in com.google.cloud with type parameters of type Identity Modifier and Type Field Description protected static com.google.api.core.ApiFunction<Identity,String>
Policy.Marshaller. IDENTITY_STR_VALUE_FUNCTION
protected static com.google.api.core.ApiFunction<String,Identity>
Policy.Marshaller. IDENTITY_VALUE_OF_FUNCTION
Methods in com.google.cloud that return Identity Modifier and Type Method 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. projectEditor(String projectId)
Returns a new project editor identity.static Identity
Identity. projectOwner(String projectId)
Returns a new project owner identity.static Identity
Identity. projectViewer(String projectId)
Returns a new project viewer 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 anIdentity
.Methods in com.google.cloud that return types with arguments of type Identity Modifier and Type Method Description Map<Role,Set<Identity>>
Policy. getBindings()
Returns the map of bindings that comprises the policy.Methods in com.google.cloud with parameters of type Identity Modifier and Type Method Description Policy.Builder
Policy.Builder. addIdentity(Role role, Identity first, Identity... others)
Adds one or more identities to the policy under the role specified.Policy.Builder
Policy.Builder. removeIdentity(Role role, Identity first, Identity... others)
Removes one or more identities from an existing binding.Method parameters in com.google.cloud with type arguments of type Identity Modifier and Type Method Description Policy.Builder
Policy.Builder. setBindings(Map<Role,Set<Identity>> bindings)
Replaces the builder's map of bindings with the given map of bindings.
-