Class: Google::Apis::AlertcenterV1beta1::BatchDeleteAlertsResponse

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

Response to batch delete operation on alerts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchDeleteAlertsResponse

Returns a new instance of BatchDeleteAlertsResponse.



678
679
680
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 678

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

Instance Attribute Details

#failed_alert_statusHash<String,Google::Apis::AlertcenterV1beta1::Status>

The status details for each failed alert_id. Corresponds to the JSON property failedAlertStatus



671
672
673
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 671

def failed_alert_status
  @failed_alert_status
end

#success_alert_idsArray<String>

The successful list of alert IDs. Corresponds to the JSON property successAlertIds

Returns:

  • (Array<String>)


676
677
678
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 676

def success_alert_ids
  @success_alert_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



683
684
685
686
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 683

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