Class: Google::Apis::NetworksecurityV1beta1::WildfireInlineMlOverride

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

Defines what action to take for WildFire Inline ML threats per protocol.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#actionString

Required. The action to take for WildFire Inline ML override. Corresponds to the JSON property action

Returns:

  • (String)


5534
5535
5536
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5534

def action
  @action
end

#protocolString

Required. Protocol to match for WildFire Inline ML override. Corresponds to the JSON property protocol

Returns:

  • (String)


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