Class: Google::Apis::ThreatintelligenceV1beta::MarkAlertAsDuplicateRequest
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::MarkAlertAsDuplicateRequest
- 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
-
#duplicate_of ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MarkAlertAsDuplicateRequest
constructor
A new instance of MarkAlertAsDuplicateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_of ⇒ String
Optional. Name of the alert to mark as a duplicate of. Format: projects/
project/alerts/alert
Corresponds to the JSON property duplicateOf
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 |