| Package | Description | 
|---|---|
| com.google.api.services.cloudbuild.v2.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 | SetIamPolicyRequest. 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`, or principals, with 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. setVersion(Integer version)Specifies the format of the policy. | 
| Modifier and Type | Method and Description | 
|---|---|
| SetIamPolicyRequest | SetIamPolicyRequest. setPolicy(Policy policy)REQUIRED: The complete policy to be applied to the `resource`. | 
Copyright © 2011–2025 Google. All rights reserved.