Class: Google::Apis::AlertcenterV1beta1::BatchUndeleteAlertsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::BatchUndeleteAlertsRequest
- 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
A request to perform batch undelete on alerts.
Instance Attribute Summary collapse
-
#alert_id ⇒ Array<String>
Required.
-
#customer_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUndeleteAlertsRequest
constructor
A new instance of BatchUndeleteAlertsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchUndeleteAlertsRequest
Returns a new instance of BatchUndeleteAlertsRequest.
666 667 668 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 666 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alert_id ⇒ Array<String>
Required. list of alert IDs.
Corresponds to the JSON property alertId
658 659 660 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 658 def alert_id @alert_id end |
#customer_id ⇒ String
Optional. The unique identifier of the Google Workspace organization account
of the customer the alerts are associated with.
Corresponds to the JSON property customerId
664 665 666 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 664 def customer_id @customer_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
671 672 673 674 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 671 def update!(**args) @alert_id = args[:alert_id] if args.key?(:alert_id) @customer_id = args[:customer_id] if args.key?(:customer_id) end |