Uses of Class
com.google.cloud.Policy.Builder
Packages that use Policy.Builder
-
Uses of Policy.Builder in com.google.cloud
Methods in com.google.cloud that return Policy.BuilderModifier and TypeMethodDescriptionfinal Policy.BuilderPolicy.Builder.addIdentity(Role role, Identity first, Identity... others) Adds one or more identities to the policy under the role specified.static Policy.BuilderPolicy.newBuilder()Returns a builder forPolicyobjects.final Policy.BuilderPolicy.Builder.removeIdentity(Role role, Identity first, Identity... others) Removes one or more identities from an existing binding.final Policy.BuilderPolicy.Builder.removeRole(Role role) Removes the role (and all identities associated with that role) from the policy.final Policy.BuilderPolicy.Builder.setBindings(List<Binding> bindings) Replaces the builder's List of bindings with the given List of Bindings.final Policy.BuilderPolicy.Builder.setBindings(Map<Role, Set<Identity>> bindings) Replaces the builder's map of bindings with the given map of bindings.final Policy.BuilderSets the policy's etag.final Policy.BuilderPolicy.Builder.setVersion(int version) Sets the version of the policy.Policy.toBuilder()Returns a builder containing the properties of this IAM Policy.