Class: Google::Apis::NetworksecurityV1beta1::WildfireInlineMlFileException

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 the file to exclude from WildFire Inline ML analysis.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WildfireInlineMlFileException

Returns a new instance of WildfireInlineMlFileException.



5516
5517
5518
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5516

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#filenameString

Optional. Name of the file to exclude from WildFire Inline ML analysis. Corresponds to the JSON property filename

Returns:

  • (String)


5508
5509
5510
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5508

def filename
  @filename
end

#partial_hashString

Required. Machine learning partial hash of the file to exclude from WildFire Inline ML analysis. Corresponds to the JSON property partialHash

Returns:

  • (String)


5514
5515
5516
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5514

def partial_hash
  @partial_hash
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5521
5522
5523
5524
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5521

def update!(**args)
  @filename = args[:filename] if args.key?(:filename)
  @partial_hash = args[:partial_hash] if args.key?(:partial_hash)
end