Class: Google::Apis::AlertcenterV1beta1::BatchDeleteAlertsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::BatchDeleteAlertsRequest
- 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 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.
Constructor Details
#initialize(**args) ⇒ BatchDeleteAlertsRequest
Returns a new instance of BatchDeleteAlertsRequest.
695 696 697 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 695 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alert_id ⇒ Array<String>
Required. The list of alert IDs to delete.
Corresponds to the JSON property alertId
684 685 686 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 684 def alert_id @alert_id end |
#customer_id ⇒ String
Optional. The unique identifier of the Google Workspace account of the
customer the alerts are associated with. The customer_id must have the
initial "C" stripped (for example, 046psxkn). Inferred from the caller
identity if not provided. Find your customer ID.
Corresponds to the JSON property customerId
693 694 695 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 693 def customer_id @customer_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
700 701 702 703 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 700 def update!(**args) @alert_id = args[:alert_id] if args.key?(:alert_id) @customer_id = args[:customer_id] if args.key?(:customer_id) end |