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