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.



1629
1630
1631
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1629

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)


1627
1628
1629
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1627

def duplicate_of
  @duplicate_of
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1634
1635
1636
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1634

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