FirewallPolicyRule class

Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).

Constructors

FirewallPolicyRule({String? action, String? description, String? direction, bool? disabled, bool? enableLogging, String? kind, FirewallPolicyRuleMatcher? match, int? priority, String? ruleName, int? ruleTupleCount, String? securityProfileGroup, List<String>? targetResources, List<FirewallPolicyRuleSecureTag>? targetSecureTags, List<String>? targetServiceAccounts, bool? tlsInspect})
FirewallPolicyRule.fromJson(Map json_)

Properties

action String?
The Action to perform when the client connection triggers the rule.
getter/setter pair
description String?
An optional description for this resource.
getter/setter pair
direction String?
The direction in which this rule applies. Possible string values are:
getter/setter pair
disabled bool?
Denotes whether the firewall policy rule is disabled.
getter/setter pair
enableLogging bool?
Denotes whether to enable logging for a particular rule.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
Type of the resource.
getter/setter pair
match FirewallPolicyRuleMatcher?
A match condition that incoming traffic is evaluated against.
getter/setter pair
priority int?
An integer indicating the priority of a rule in the list.
getter/setter pair
ruleName String?
An optional name for the rule.
getter/setter pair
ruleTupleCount int?
Calculation of the complexity of a single firewall policy rule.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityProfileGroup String?
A fully-qualified URL of a SecurityProfile resource instance.
getter/setter pair
targetResources List<String>?
A list of network resource URLs to which this rule applies.
getter/setter pair
targetSecureTags List<FirewallPolicyRuleSecureTag>?
A list of secure tags that controls which instances the firewall rule applies to.
getter/setter pair
targetServiceAccounts List<String>?
A list of service accounts indicating the sets of instances that are applied with this rule.
getter/setter pair
tlsInspect bool?
Boolean flag indicating if the traffic should be TLS decrypted.
getter/setter pair

Methods

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

Operators

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