Class: Google::Apis::SecuritycenterV1beta2::MemoryHashSignature

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb

Overview

A signature corresponding to memory page hashes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MemoryHashSignature

Returns a new instance of MemoryHashSignature.



3027
3028
3029
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3027

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

Instance Attribute Details

#binary_familyString

The binary family. Corresponds to the JSON property binaryFamily

Returns:

  • (String)


3020
3021
3022
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3020

def binary_family
  @binary_family
end

#detectionsArray<Google::Apis::SecuritycenterV1beta2::Detection>

The list of memory hash detections contributing to the binary family match. Corresponds to the JSON property detections



3025
3026
3027
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3025

def detections
  @detections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3032
3033
3034
3035
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3032

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