Class: Google::Apis::NetworksecurityV1beta1::WildfireInlineMlOverride
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::WildfireInlineMlOverride
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networksecurity_v1beta1/classes.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb
Overview
Defines what action to take for WildFire Inline ML threats per protocol.
Instance Attribute Summary collapse
-
#action ⇒ String
Required.
-
#protocol ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WildfireInlineMlOverride
constructor
A new instance of WildfireInlineMlOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WildfireInlineMlOverride
Returns a new instance of WildfireInlineMlOverride.
5541 5542 5543 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5541 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Required. The action to take for WildFire Inline ML override.
Corresponds to the JSON property action
5534 5535 5536 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5534 def action @action end |
#protocol ⇒ String
Required. Protocol to match for WildFire Inline ML override.
Corresponds to the JSON property protocol
5539 5540 5541 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5539 def protocol @protocol end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5546 5547 5548 5549 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5546 def update!(**args) @action = args[:action] if args.key?(:action) @protocol = args[:protocol] if args.key?(:protocol) end |