Class: Google::Apis::SecuritycenterV1beta1::Detection
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::Detection
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Overview
Memory hash detection contributing to the binary family match.
Instance Attribute Summary collapse
-
#binary ⇒ String
The name of the binary associated with the memory hash signature detection.
-
#percent_pages_matched ⇒ Float
The percentage of memory page hashes in the signature that were matched.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Detection
constructor
A new instance of Detection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Detection
Returns a new instance of Detection.
1716 1717 1718 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1716 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binary ⇒ String
The name of the binary associated with the memory hash signature detection.
Corresponds to the JSON property binary
1709 1710 1711 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1709 def binary @binary end |
#percent_pages_matched ⇒ Float
The percentage of memory page hashes in the signature that were matched.
Corresponds to the JSON property percentPagesMatched
1714 1715 1716 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1714 def percent_pages_matched @percent_pages_matched end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1721 1722 1723 1724 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1721 def update!(**args) @binary = args[:binary] if args.key?(:binary) @percent_pages_matched = args[:percent_pages_matched] if args.key?(:percent_pages_matched) end |