| Package | Description | 
|---|---|
| com.google.api.services.compute.model | 
| Modifier and Type | Method and Description | 
|---|---|
| Policy | Policy. clone() | 
| Policy | Policy. encodeEtag(byte[] etag)`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
 of a policy from overwriting each other. | 
| Policy | GlobalOrganizationSetPolicyRequest. getPolicy()REQUIRED: The complete policy to be applied to the 'resource'. | 
| Policy | GlobalSetPolicyRequest. getPolicy()REQUIRED: The complete policy to be applied to the 'resource'. | 
| Policy | ZoneSetPolicyRequest. getPolicy()REQUIRED: The complete policy to be applied to the 'resource'. | 
| Policy | RegionSetPolicyRequest. getPolicy()REQUIRED: The complete policy to be applied to the 'resource'. | 
| Policy | Policy. set(String fieldName,
   Object value) | 
| Policy | Policy. setAuditConfigs(List<AuditConfig> auditConfigs)Specifies cloud audit logging configuration for this policy. | 
| Policy | Policy. setBindings(List<Binding> bindings)Associates a list of `members` to a `role`. | 
| Policy | Policy. setEtag(String etag)`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
 of a policy from overwriting each other. | 
| Policy | Policy. setIamOwned(Boolean iamOwned) | 
| Policy | Policy. setRules(List<Rule> rules)If more than one rule is specified, the rules are applied in the following manner: - All
 matching LOG rules are always applied. | 
| Policy | Policy. setVersion(Integer version)Specifies the format of the policy. | 
| Modifier and Type | Method and Description | 
|---|---|
| GlobalOrganizationSetPolicyRequest | GlobalOrganizationSetPolicyRequest. setPolicy(Policy policy)REQUIRED: The complete policy to be applied to the 'resource'. | 
| GlobalSetPolicyRequest | GlobalSetPolicyRequest. setPolicy(Policy policy)REQUIRED: The complete policy to be applied to the 'resource'. | 
| ZoneSetPolicyRequest | ZoneSetPolicyRequest. setPolicy(Policy policy)REQUIRED: The complete policy to be applied to the 'resource'. | 
| RegionSetPolicyRequest | RegionSetPolicyRequest. setPolicy(Policy policy)REQUIRED: The complete policy to be applied to the 'resource'. | 
Copyright © 2011–2021 Google. All rights reserved.