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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ProcessSignature

Returns a new instance of GoogleCloudSecuritycenterV2ProcessSignature.



9285
9286
9287
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9285

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

Instance Attribute Details

#memory_hash_signatureGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2MemoryHashSignature

Corresponds to the JSON property memoryHashSignature



9273
9274
9275
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9273

def memory_hash_signature
  @memory_hash_signature
end

#signature_typeString

Corresponds to the JSON property signatureType

Returns:

  • (String)


9278
9279
9280
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9278

def signature_type
  @signature_type
end

#yara_rule_signatureGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2YaraRuleSignature

Corresponds to the JSON property yaraRuleSignature



9283
9284
9285
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9283

def yara_rule_signature
  @yara_rule_signature
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9290
9291
9292
9293
9294
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9290

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