Class: Google::Apis::AlertcenterV1beta1::MergeInfo

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

Overview

New alert tracking numbers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MergeInfo

Returns a new instance of MergeInfo.



1552
1553
1554
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1552

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

Instance Attribute Details

#new_alert_idString

Optional. New alert ID. Reference the [google.apps.alertcenter.Alert] with this ID for the current state. Corresponds to the JSON property newAlertId

Returns:

  • (String)


1545
1546
1547
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1545

def new_alert_id
  @new_alert_id
end

#new_incident_tracking_idString

The new tracking ID from the parent incident. Corresponds to the JSON property newIncidentTrackingId

Returns:

  • (String)


1550
1551
1552
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1550

def new_incident_tracking_id
  @new_incident_tracking_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1557
1558
1559
1560
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1557

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