RuleResponse class
A rule to be applied in a Policy.
Constructors
-
RuleResponse({required Input<
String> action, required Input<List< conditions, required Input<ConditionResponse> >String> description, required Input<List< in_, required Input<String> >List< logConfig, required Input<LogConfigResponse> >List< notIn, required Input<String> >List< permissions})String> > -
Creates a new RuleResponse.
actionRequiredconditionsAdditional restrictions that must be met. All conditions must pass for the rule to match.descriptionHuman-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.logConfigThe config returned to callers of CheckPolicy for any entries that match the LOG action.notInIf 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).permissionsA 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