Class: Google::Apis::NetworksecurityV1beta1::WildfireInlineMlSettingsInlineMlConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#actionString

Required. Action to take when a threat is detected using Inline ML. Corresponds to the JSON property action

Returns:

  • (String)


5584
5585
5586
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5584

def action
  @action
end

#file_typeString

Required. File type to configure Inline ML for. Corresponds to the JSON property fileType

Returns:

  • (String)


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