@Generated(value="by GAPIC") @BetaApi public final class Policy extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Policy.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
List<AuditConfig> |
getAuditConfigsList()
Specifies cloud audit logging configuration for this policy.
|
List<Binding> |
getBindingsList()
Associates a list of `members` to a `role`.
|
static Policy |
getDefaultInstance() |
String |
getEtag()
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
of a policy from overwriting each other.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
Boolean |
getIamOwned() |
List<Rule> |
getRulesList()
If more than one rule is specified, the rules are applied in the following manner: - All
matching LOG rules are always applied.
|
Integer |
getVersion()
Deprecated.
|
int |
hashCode() |
static Policy.Builder |
newBuilder() |
static Policy.Builder |
newBuilder(Policy prototype) |
Policy.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public List<AuditConfig> getAuditConfigsList()
public List<Binding> getBindingsList()
public String getEtag()
If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.
public Boolean getIamOwned()
public List<Rule> getRulesList()
public Integer getVersion()
public static Policy.Builder newBuilder()
public static Policy.Builder newBuilder(Policy prototype)
public Policy.Builder toBuilder()
public static Policy getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.