Class: Google::Apis::AlertcenterV1beta1::UndeleteAlertRequest

Inherits:
Object
  • Object
show all
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 undelete a specific alert that was marked for deletion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UndeleteAlertRequest

Returns a new instance of UndeleteAlertRequest.



1571
1572
1573
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1571

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

Instance Attribute Details

#customer_idString

Optional. The unique identifier of the G Suite organization account of the customer the alert is associated with. Inferred from the caller identity if not provided. Corresponds to the JSON property customerId

Returns:

  • (String)


1569
1570
1571
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1569

def customer_id
  @customer_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1576
1577
1578
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1576

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