Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Detection

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

Memory hash detection contributing to the binary family match.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Detection

Returns a new instance of GoogleCloudSecuritycenterV2Detection.



4409
4410
4411
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4409

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

Instance Attribute Details

#binaryString

The name of the binary associated with the memory hash signature detection. Corresponds to the JSON property binary

Returns:

  • (String)


4402
4403
4404
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4402

def binary
  @binary
end

#percent_pages_matchedFloat

The percentage of memory page hashes in the signature that were matched. Corresponds to the JSON property percentPagesMatched

Returns:

  • (Float)


4407
4408
4409
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4407

def percent_pages_matched
  @percent_pages_matched
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4414
4415
4416
4417
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4414

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