RuleArgs class
The set of arguments for Rule. The set of arguments for Rule.
Constructors
-
RuleArgs({Input<
String> ? applicationMatcher, required Input<RuleBasicProfile> basicProfile, Input<String> ? description, required Input<bool> enabled, required Input<String> gatewaySecurityPolicyId, Input<String> ? gatewaySecurityPolicyRuleId, Input<String> ? location, required Input<String> name, required Input<int> priority, Input<String> ? project, required Input<String> sessionMatcher, Input<bool> ? tlsInspectionEnabled}) -
Creates a new RuleArgs.
applicationMatcherOptional. CEL expression for matching on L7/application level criteria.basicProfileProfile which tells what the primitive action should be.descriptionOptional. Free-text description of the resource.enabledWhether the rule is enforced.gatewaySecurityPolicyIdRequired.gatewaySecurityPolicyRuleIdThe ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.locationOptional.nameImmutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^a-z?$).priorityPriority of the rule. Lower number corresponds to higher precedence.projectOptional.sessionMatcherCEL expression for matching on session criteria.tlsInspectionEnabledOptional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.const -
RuleArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
applicationMatcher
→ Input<
String> ? -
Optional. CEL expression for matching on L7/application level criteria.
final
-
basicProfile
→ Input<
RuleBasicProfile> -
Profile which tells what the primitive action should be.
final
-
description
→ Input<
String> ? -
Optional. Free-text description of the resource.
final
-
enabled
→ Input<
bool> -
Whether the rule is enforced.
final
-
gatewaySecurityPolicyId
→ Input<
String> -
final
-
gatewaySecurityPolicyRuleId
→ Input<
String> ? -
The ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> ? -
final
-
name
→ Input<
String> -
Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^a-z?$).
final
-
priority
→ Input<
int> -
Priority of the rule. Lower number corresponds to higher precedence.
final
-
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sessionMatcher
→ Input<
String> -
CEL expression for matching on session criteria.
final
-
tlsInspectionEnabled
→ Input<
bool> ? -
Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.
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