Uses of Class
com.google.cloud.Role
-
Packages that use Role Package Description com.google.cloud Core classes for thegoogle-cloudlibrary. -
-
Uses of Role in com.google.cloud
Methods in com.google.cloud that return Role Modifier and Type Method Description static RoleRole. editor()Returns the editor role.static RoleRole. of(String value)Returns a new role given its string value.static RoleRole. owner()Returns the owner role.static RoleRole. 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.BuilderPolicy.Builder. addIdentity(Role role, Identity first, Identity... others)Adds one or more identities to the policy under the role specified.Policy.BuilderPolicy.Builder. removeIdentity(Role role, Identity first, Identity... others)Removes one or more identities from an existing binding.Policy.BuilderPolicy.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.BuilderPolicy.Builder. setBindings(Map<Role,Set<Identity>> bindings)Replaces the builder's map of bindings with the given map of bindings.
-