Network Security V1 API - Module Google::Cloud::NetworkSecurity::V1::ThreatAction (v0.1.0)
Reference documentation and code samples for the Network Security V1 API module Google::Cloud::NetworkSecurity::V1::ThreatAction.
Threat action override.
Constants
THREAT_ACTION_UNSPECIFIED
value: 0
Threat action not specified.
DEFAULT_ACTION
value: 4
The default action (as specified by the vendor) is taken.
ALLOW
value: 1
The packet matching this rule will be allowed to transmit.
ALERT
value: 2
The packet matching this rule will be allowed to transmit, but a threat_log
entry will be sent to the consumer project.
DENY
value: 3
The packet matching this rule will be dropped, and a threat_log entry will
be sent to the consumer project.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-07-07 UTC."],[],[]]