Uses of Class
com.google.cloud.Role
-
Packages that use Role Package Description com.google.cloud Core classes for thegoogle-cloud
library. -
-
Uses of Role in com.google.cloud
Methods in com.google.cloud that return Role Modifier and Type Method Description static Role
Role. editor()
Returns the editor role.static Role
Role. of(String value)
Returns a new role given its string value.static Role
Role. owner()
Returns the owner role.static Role
Role. viewer()
Returns the viewer role.Methods in com.google.cloud that return types with arguments of type Role 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 Role 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.Policy.Builder
Policy.Builder. removeRole(Role role)
Removes the role (and all identities associated with that role) from the policy.Method parameters in com.google.cloud with type arguments of type Role 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.
-