Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ProcessSignature

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

Overview

Indicates what signature matched this process.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ProcessSignature

Returns a new instance of GoogleCloudSecuritycenterV2ProcessSignature.



7275
7276
7277
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7275

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

Instance Attribute Details

#memory_hash_signatureGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2MemoryHashSignature

A signature corresponding to memory page hashes. Corresponds to the JSON property memoryHashSignature



7263
7264
7265
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7263

def memory_hash_signature
  @memory_hash_signature
end

#signature_typeString

Describes the type of resource associated with the signature. Corresponds to the JSON property signatureType

Returns:

  • (String)


7268
7269
7270
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7268

def signature_type
  @signature_type
end

#yara_rule_signatureGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2YaraRuleSignature

A signature corresponding to a YARA rule. Corresponds to the JSON property yaraRuleSignature



7273
7274
7275
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7273

def yara_rule_signature
  @yara_rule_signature
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7280
7281
7282
7283
7284
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7280

def update!(**args)
  @memory_hash_signature = args[:memory_hash_signature] if args.key?(:memory_hash_signature)
  @signature_type = args[:signature_type] if args.key?(:signature_type)
  @yara_rule_signature = args[:yara_rule_signature] if args.key?(:yara_rule_signature)
end