Rule constructor

const Rule({
  1. Input<RuleAction>? action,
  2. Input<List<Condition>>? conditions,
  3. Input<String>? description,
  4. Input<List<String>>? in_,
  5. Input<List<LogConfig>>? logConfig,
  6. Input<List<String>>? notIn,
  7. Input<List<String>>? permissions,
})

Creates a new Rule. action Required conditions Additional restrictions that must be met. All conditions must pass for the rule to match. description Human-readable description of the rule. in_ If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. logConfig The config returned to callers of CheckPolicy for any entries that match the LOG action. notIn If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. The format for in and not_in entries can be found at in the Local IAM documentation (see go/local-iam#features). permissions A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '' matches all permissions, and a verb part of '' (e.g., 'storage.buckets.*') matches all verbs.

Implementation

const Rule({
  this.action,
  this.conditions,
  this.description,
  this.in_,
  this.logConfig,
  this.notIn,
  this.permissions,
});