Package | Description |
---|---|
com.google.cloud |
Core classes for the
google-cloud library. |
Modifier and Type | Method and Description |
---|---|
Policy.Builder |
Policy.Builder.addIdentity(Role role,
Identity first,
Identity... others)
Adds one or more identities to the policy under the role specified.
|
static Policy.Builder |
Policy.newBuilder()
Returns a builder for
Policy objects. |
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.
|
Policy.Builder |
Policy.Builder.setBindings(Map<Role,Set<Identity>> bindings)
Replaces the builder's map of bindings with the given map of bindings.
|
Policy.Builder |
Policy.Builder.setEtag(String etag)
Sets the policy's etag.
|
protected Policy.Builder |
Policy.Builder.setVersion(int version)
Sets the version of the policy.
|
Policy.Builder |
Policy.toBuilder()
Returns a builder containing the properties of this IAM Policy.
|
Copyright © 2019 Google LLC. All rights reserved.