@Generated(value="by GAPIC") @BetaApi public final class Rule extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Rule.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAction()
Required
|
ApiMessage |
getApiMessageRequestBody() |
List<Condition> |
getConditionsList()
Additional restrictions that must be met.
|
static Rule |
getDefaultInstance() |
String |
getDescription()
Human-readable description of the rule.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
List<String> |
getInsList()
If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR
is in at least one of these entries.
|
List<LogConfig> |
getLogConfigsList()
The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG
action.
|
List<String> |
getNotInsList()
If one or more 'not_in' clauses are specified, the rule matches if the
PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
List<String> |
getPermissionsList()
A permission is a string of form '..' (e.g., 'storage.buckets.list').
|
int |
hashCode() |
static Rule.Builder |
newBuilder() |
static Rule.Builder |
newBuilder(Rule prototype) |
Rule.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 String getAction()
public List<Condition> getConditionsList()
public String getDescription()
public List<String> getInsList()
public List<LogConfig> getLogConfigsList()
public List<String> getNotInsList()
public List<String> getPermissionsList()
public static Rule.Builder newBuilder()
public static Rule.Builder newBuilder(Rule prototype)
public Rule.Builder toBuilder()
public static Rule getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.