Class: Google::Apis::NetworksecurityV1beta1::WildfireInlineMlFileException
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::WildfireInlineMlFileException
- 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
-
#filename ⇒ String
Optional.
-
#partial_hash ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WildfireInlineMlFileException
constructor
A new instance of WildfireInlineMlFileException.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#filename ⇒ String
Optional. Name of the file to exclude from WildFire Inline ML analysis.
Corresponds to the JSON property filename
5508 5509 5510 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 5508 def filename @filename end |
#partial_hash ⇒ String
Required. Machine learning partial hash of the file to exclude from WildFire
Inline ML analysis.
Corresponds to the JSON property partialHash
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 |