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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UndeleteAlertRequest

Returns a new instance of UndeleteAlertRequest.



2134
2135
2136
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2134

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

Instance Attribute Details

#customer_idString

Optional. The unique identifier of the Google Workspace 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)


2132
2133
2134
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2132

def customer_id
  @customer_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2139
2140
2141
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2139

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