Class: Google::Apis::AlertcenterV1beta1::BatchUndeleteAlertsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::BatchUndeleteAlertsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/alertcenter_v1beta1/classes.rb,
generated/google/apis/alertcenter_v1beta1/representations.rb,
generated/google/apis/alertcenter_v1beta1/representations.rb
Overview
Response to batch undelete operation on alerts.
Instance Attribute Summary collapse
-
#failed_alert_status ⇒ Hash<String,Google::Apis::AlertcenterV1beta1::Status>
The status details for each failed alert_id.
-
#success_alert_ids ⇒ Array<String>
The successful list of alert IDs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUndeleteAlertsResponse
constructor
A new instance of BatchUndeleteAlertsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchUndeleteAlertsResponse
Returns a new instance of BatchUndeleteAlertsResponse.
533 534 535 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 533 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failed_alert_status ⇒ Hash<String,Google::Apis::AlertcenterV1beta1::Status>
The status details for each failed alert_id.
Corresponds to the JSON property failedAlertStatus
526 527 528 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 526 def failed_alert_status @failed_alert_status end |
#success_alert_ids ⇒ Array<String>
The successful list of alert IDs.
Corresponds to the JSON property successAlertIds
531 532 533 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 531 def success_alert_ids @success_alert_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
538 539 540 541 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 538 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 |