GetAuthorizationPolicyResult class
Result data returned by getAuthorizationPolicy.
Constructors
-
GetAuthorizationPolicyResult({required String action, required String createTime, required String description, required Map<
String, String> labels, required String name, required List<RuleResponse> rules, required String updateTime}) -
Creates a new GetAuthorizationPolicyResult.
actionThe action to take when a rule match is found. Possible values are "ALLOW" or "DENY".createTimeThe timestamp when the resource was created.descriptionOptional. Free-text description of the resource.labelsOptional. Set of label tags associated with the AuthorizationPolicy resource.nameName of the AuthorizationPolicy resource. It matches patternprojects/{project}/locations/{location}/authorizationPolicies/.rulesOptional. List of rules to match. Note that at least one of the rules must match in order for the action specified in the 'action' field to be taken. A rule is a match if there is a matching source and destination. If left blank, the action specified in theactionfield will be applied on every request.updateTimeThe timestamp when the resource was updated.const -
GetAuthorizationPolicyResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- action → String
-
The action to take when a rule match is found. Possible values are "ALLOW" or "DENY".
final
- createTime → String
-
The timestamp when the resource was created.
final
- description → String
-
Optional. Free-text description of the resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
String, String> -
Optional. Set of label tags associated with the AuthorizationPolicy resource.
final
- name → String
-
Name of the AuthorizationPolicy resource. It matches pattern
projects/{project}/locations/{location}/authorizationPolicies/.final -
rules
→ List<
RuleResponse> -
Optional. List of rules to match. Note that at least one of the rules must match in order for the action specified in the 'action' field to be taken. A rule is a match if there is a matching source and destination. If left blank, the action specified in the
actionfield will be applied on every request.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateTime → String
-
The timestamp when the resource was updated.
final
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