Modifier and Type | Method and Description |
---|---|
Rule.Builder |
addAllConditions(List<Condition> conditions)
Additional restrictions that must be met.
|
Rule.Builder |
addAllIns(List<String> ins)
If one or more 'in' clauses are specified, the rule matches if the
PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
|
Rule.Builder |
addAllLogConfigs(List<LogConfig> logConfigs)
The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG
action.
|
Rule.Builder |
addAllNotIns(List<String> notIns)
If one or more 'not_in' clauses are specified, the rule matches if the
PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
Rule.Builder |
addAllPermissions(List<String> permissions)
A permission is a string of form '..' (e.g., 'storage.buckets.list').
|
Rule.Builder |
addConditions(Condition conditions)
Additional restrictions that must be met.
|
Rule.Builder |
addIns(String ins)
If one or more 'in' clauses are specified, the rule matches if the
PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
|
Rule.Builder |
addLogConfigs(LogConfig logConfigs)
The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG
action.
|
Rule.Builder |
addNotIns(String notIns)
If one or more 'not_in' clauses are specified, the rule matches if the
PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
Rule.Builder |
addPermissions(String permissions)
A permission is a string of form '..' (e.g., 'storage.buckets.list').
|
Rule |
build() |
Rule.Builder |
clone() |
String |
getAction()
Required
|
List<Condition> |
getConditionsList()
Additional restrictions that must be met.
|
String |
getDescription()
Human-readable description of the rule.
|
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').
|
Rule.Builder |
mergeFrom(Rule other) |
Rule.Builder |
setAction(String action)
Required
|
Rule.Builder |
setDescription(String description)
Human-readable description of the rule.
|
public Rule.Builder mergeFrom(Rule other)
public String getAction()
public Rule.Builder setAction(String action)
public List<Condition> getConditionsList()
public Rule.Builder addAllConditions(List<Condition> conditions)
public Rule.Builder addConditions(Condition conditions)
public String getDescription()
public Rule.Builder setDescription(String description)
public List<String> getInsList()
public Rule.Builder addAllIns(List<String> ins)
public Rule.Builder addIns(String ins)
public List<LogConfig> getLogConfigsList()
public Rule.Builder addAllLogConfigs(List<LogConfig> logConfigs)
public Rule.Builder addLogConfigs(LogConfig logConfigs)
public List<String> getNotInsList()
public Rule.Builder addAllNotIns(List<String> notIns)
public Rule.Builder addNotIns(String notIns)
public List<String> getPermissionsList()
public Rule.Builder addAllPermissions(List<String> permissions)
public Rule.Builder addPermissions(String permissions)
public Rule build()
public Rule.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.