Class: Google::Apis::NetworksecurityV1beta1::WildfireInlineMlSettingsInlineMlConfig
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::WildfireInlineMlSettingsInlineMlConfig
- 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
Configuration for WildFire Inline ML analysis per file type.
Instance Attribute Summary collapse
-
#action ⇒ String
Required.
-
#file_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WildfireInlineMlSettingsInlineMlConfig
constructor
A new instance of WildfireInlineMlSettingsInlineMlConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WildfireInlineMlSettingsInlineMlConfig
Returns a new instance of WildfireInlineMlSettingsInlineMlConfig.
5591 5592 5593 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5591 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Required. Action to take when a threat is detected using Inline ML.
Corresponds to the JSON property action
5584 5585 5586 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5584 def action @action end |
#file_type ⇒ String
Required. File type to configure Inline ML for.
Corresponds to the JSON property fileType
5589 5590 5591 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5589 def file_type @file_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5596 5597 5598 5599 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5596 def update!(**args) @action = args[:action] if args.key?(:action) @file_type = args[:file_type] if args.key?(:file_type) end |