- 1.57.0 (latest)
- 1.56.3
- 1.55.0
- 1.54.2
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.1
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.1
- 1.44.0
- 1.43.0
- 1.41.0
- 1.40.1
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.1
- 1.33.0
- 1.32.1
- 1.31.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.1
- 1.19.0
- 1.18.1
- 1.17.1
- 1.16.1
- 1.10.0
- 1.9.3
- 1.8.0
- 1.7.0
- 1.6.23
- 1.5.1
- 1.4.1
- 1.3.4
- 1.2.12
public interface PolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBindings(int index)
public abstract Binding getBindings(int index) Associates a list of members to a role. Optionally may specify a
condition that determines when binding is in effect.
bindings with no members will result in an error.
repeated .google.iam.v1.Binding bindings = 4;
| Name | Description |
| index | int |
| Type | Description |
| Binding |
getBindingsCount()
public abstract int getBindingsCount() Associates a list of members to a role. Optionally may specify a
condition that determines when binding is in effect.
bindings with no members will result in an error.
repeated .google.iam.v1.Binding bindings = 4;
| Type | Description |
| int |
getBindingsList()
public abstract List<Binding> getBindingsList() Associates a list of members to a role. Optionally may specify a
condition that determines when binding is in effect.
bindings with no members will result in an error.
repeated .google.iam.v1.Binding bindings = 4;
| Type | Description |
| List<Binding> |
getBindingsOrBuilder(int index)
public abstract BindingOrBuilder getBindingsOrBuilder(int index) Associates a list of members to a role. Optionally may specify a
condition that determines when binding is in effect.
bindings with no members will result in an error.
repeated .google.iam.v1.Binding bindings = 4;
| Name | Description |
| index | int |
| Type | Description |
| BindingOrBuilder |
getBindingsOrBuilderList()
public abstract List<? extends BindingOrBuilder> getBindingsOrBuilderList() Associates a list of members to a role. Optionally may specify a
condition that determines when binding is in effect.
bindings with no members will result in an error.
repeated .google.iam.v1.Binding bindings = 4;
| Type | Description |
| List<? extends com.google.iam.v1.BindingOrBuilder> |
getEtag()
public abstract ByteString getEtag() etag is used for optimistic concurrency control as a way to help
prevent simultaneous updates of a policy from overwriting each other.
It is strongly suggested that systems make use of the etag in the
read-modify-write cycle to perform policy updates in order to avoid race
conditions: An etag is returned in the response to getIamPolicy, and
systems are expected to put that etag in the request to setIamPolicy to
ensure that their change will be applied to the same version of the policy.
If no etag is provided in the call to setIamPolicy, then the existing
policy is overwritten. Due to blind-set semantics of an etag-less policy,
'setIamPolicy' will not fail even if the incoming policy version does not
meet the requirements for modifying the stored policy.
bytes etag = 3;
| Type | Description |
| ByteString | The etag. |
getVersion()
public abstract int getVersion() Specifies the format of the policy.
Valid values are 0, 1, and 3. Requests specifying an invalid value will be
rejected.
Operations affecting conditional bindings must specify version 3. This can
be either setting a conditional policy, modifying a conditional binding,
or removing a binding (conditional or unconditional) from the stored
conditional policy.
Operations on non-conditional policies may specify any valid value or
leave the field unset.
If no etag is provided in the call to setIamPolicy, version compliance
checks against the stored policy is skipped.
int32 version = 1;
| Type | Description |
| int | The version. |