Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::AntivirusOverride.
Defines what action to take for antivirus threats per protocol.
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.
#protocol
def protocol() -> ::Google::Cloud::NetworkSecurity::V1::Protocol
Returns
- (::Google::Cloud::NetworkSecurity::V1::Protocol) — Required. Protocol to match.
#protocol=
def protocol=(value) -> ::Google::Cloud::NetworkSecurity::V1::Protocol
Parameter
- value (::Google::Cloud::NetworkSecurity::V1::Protocol) — Required. Protocol to match.
Returns
- (::Google::Cloud::NetworkSecurity::V1::Protocol) — Required. Protocol to match.