Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::ThreatOverride.
Defines what action to take for a specific threat_id match.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#action
def action() -> ::Google::Cloud::NetworkSecurity::V1::ThreatAction
Returns
- (::Google::Cloud::NetworkSecurity::V1::ThreatAction) — Required. Threat action override. For some threat types, only a subset of actions applies.
#action=
def action=(value) -> ::Google::Cloud::NetworkSecurity::V1::ThreatAction
Parameter
- value (::Google::Cloud::NetworkSecurity::V1::ThreatAction) — Required. Threat action override. For some threat types, only a subset of actions applies.
Returns
- (::Google::Cloud::NetworkSecurity::V1::ThreatAction) — Required. Threat action override. For some threat types, only a subset of actions applies.
#threat_id
def threat_id() -> ::String
Returns
- (::String) — Required. Vendor-specific ID of a threat to override.
#threat_id=
def threat_id=(value) -> ::String
Parameter
- value (::String) — Required. Vendor-specific ID of a threat to override.
Returns
- (::String) — Required. Vendor-specific ID of a threat to override.
#type
def type() -> ::Google::Cloud::NetworkSecurity::V1::ThreatType
Returns
- (::Google::Cloud::NetworkSecurity::V1::ThreatType) — Output only. Type of the threat (read only).