Class: Google::Apis::AlertcenterV1beta1::ListAlertFeedbackResponse

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

Response message for an alert feedback listing request.

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) ⇒ ListAlertFeedbackResponse

Returns a new instance of ListAlertFeedbackResponse



549
550
551
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 549

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

Instance Attribute Details

#feedbackArray<Google::Apis::AlertcenterV1beta1::AlertFeedback>

The list of alert feedback. Feedback entries for each alert are ordered by creation time descending. Corresponds to the JSON property feedback



547
548
549
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 547

def feedback
  @feedback
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



554
555
556
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 554

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