Class: Google::Apis::ThreatintelligenceV1beta::MarkAlertAsDuplicateRequest

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

Overview

Request message for MarkAlertAsDuplicate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MarkAlertAsDuplicateRequest

Returns a new instance of MarkAlertAsDuplicateRequest.



1549
1550
1551
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1549

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

Instance Attribute Details

#duplicate_ofString

Optional. Name of the alert to mark as a duplicate of. Format: projects/ project/alerts/alert Corresponds to the JSON property duplicateOf

Returns:

  • (String)


1547
1548
1549
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1547

def duplicate_of
  @duplicate_of
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1554
1555
1556
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1554

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