RuleResponse class

A rule to be applied in a Policy.

Constructors

RuleResponse({required Input<String> action, required Input<List<ConditionResponse>> conditions, required Input<String> description, required Input<List<String>> in_, required Input<List<LogConfigResponse>> logConfig, required Input<List<String>> notIn, required Input<List<String>> permissions})
Creates a new RuleResponse. 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.
const
RuleResponse.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<String>
Required
final
conditions → Input<List<ConditionResponse>>
Additional restrictions that must be met. All conditions must pass for the rule to match.
final
description → Input<String>
Human-readable description of the rule.
final
hashCode → int
The hash code for this object.
no setterinherited
in_ → Input<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.
final
logConfig → Input<List<LogConfigResponse>>
The config returned to callers of CheckPolicy for any entries that match the LOG action.
final
notIn → Input<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. The format for in and not_in entries can be found at in the Local IAM documentation (see go/local-iam#features).
final
permissions → Input<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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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