Class: Google::Apis::AlertcenterV1beta1::BatchDeleteAlertsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::BatchDeleteAlertsRequest
- 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
A request to perform batch delete on alerts.
Instance Attribute Summary collapse
-
#alert_id ⇒ Array<String>
Required.
-
#customer_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchDeleteAlertsRequest
constructor
A new instance of BatchDeleteAlertsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchDeleteAlertsRequest
Returns a new instance of BatchDeleteAlertsRequest.
475 476 477 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 475 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alert_id ⇒ Array<String>
Required. list of alert ids.
Corresponds to the JSON property alertId
467 468 469 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 467 def alert_id @alert_id end |
#customer_id ⇒ String
Optional. The unique identifier of the G Suite organization account of the
customer the alerts are associated with.
Corresponds to the JSON property customerId
473 474 475 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 473 def customer_id @customer_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
480 481 482 483 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 480 def update!(**args) @alert_id = args[:alert_id] if args.key?(:alert_id) @customer_id = args[:customer_id] if args.key?(:customer_id) end |