Resource: GatewaySecurityPolicyRule
The GatewaySecurityPolicyRule resource is in a nested collection within a GatewaySecurityPolicy and represents a traffic matching condition and associated action to perform.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "enabled": boolean, "priority": integer, "description": string, "sessionMatcher": string, "applicationMatcher": string, "tlsInspectionEnabled": boolean, // Union field |
Fields | |
---|---|
name |
Required. Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}/rules/{rule} rule should match the pattern: (^a-z?$). |
createTime |
Output only. Time when the rule was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Time when the rule was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
enabled |
Required. Whether the rule is enforced. |
priority |
Required. Priority of the rule. Lower number corresponds to higher precedence. |
description |
Optional. Free-text description of the resource. |
sessionMatcher |
Required. CEL expression for matching on session criteria. |
applicationMatcher |
Optional. CEL expression for matching on L7/application level criteria. |
tlsInspectionEnabled |
Optional. Flag to enable TLS inspection of traffic matching on |
Union field
|
|
basicProfile |
Required. Profile which tells what the primitive action should be. |
BasicProfile
enum to define the primitive action.
Enums | |
---|---|
BASIC_PROFILE_UNSPECIFIED |
If there is not a mentioned action for the target. |
ALLOW |
Allow the matched traffic. |
DENY |
Deny the matched traffic. |
Methods |
|
---|---|
|
Creates a new GatewaySecurityPolicy in a given project and location. |
|
Deletes a single GatewaySecurityPolicyRule. |
|
Gets details of a single GatewaySecurityPolicyRule. |
|
Lists GatewaySecurityPolicyRules in a given project and location. |
|
Updates the parameters of a single GatewaySecurityPolicyRule. |