Rule class

A rule to be applied in a Policy.

Constructors

Rule()
Rule.fromJson(Map _json)

Properties

action ↔ String
Required Possible string values are: [...]
read / write
conditions ↔ List<Condition>
Additional restrictions that must be met. All conditions must pass for the rule to match.
read / write
description ↔ String
Human-readable description of the rule.
read / write
ins ↔ List<String>
If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
read / write
logConfigs ↔ List<LogConfig>
The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
read / write
notIns ↔ List<String>
If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
read / write
permissions ↔ List<String>
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.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited