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.
5600 5601 5602 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5600 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
5593 5594 5595 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5593 def action @action end |
#file_type ⇒ String
Required. File type to configure Inline ML for.
Corresponds to the JSON property fileType
5598 5599 5600 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5598 def file_type @file_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5605 5606 5607 5608 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5605 def update!(**args) @action = args[:action] if args.key?(:action) @file_type = args[:file_type] if args.key?(:file_type) end |