Class: Google::Apis::AlertcenterV1beta1::AlertFeedback
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::AlertFeedback
- 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 customer feedback about an alert.
Instance Attribute Summary collapse
-
#alert_id ⇒ String
Output only.
-
#create_time ⇒ String
Output only.
-
#customer_id ⇒ String
Output only.
-
#email ⇒ String
Output only.
-
#feedback_id ⇒ String
Output only.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AlertFeedback
constructor
A new instance of AlertFeedback.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AlertFeedback
Returns a new instance of AlertFeedback.
357 358 359 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 357 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alert_id ⇒ String
Output only. The alert identifier.
Corresponds to the JSON property alertId
330 331 332 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 330 def alert_id @alert_id end |
#create_time ⇒ String
Output only. The time this feedback was created.
Corresponds to the JSON property createTime
335 336 337 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 335 def create_time @create_time end |
#customer_id ⇒ String
Output only. The unique identifier of the Google account of the customer.
Corresponds to the JSON property customerId
340 341 342 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 340 def customer_id @customer_id end |
#email ⇒ String
Output only. The email of the user that provided the feedback.
Corresponds to the JSON property email
345 346 347 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 345 def email @email end |
#feedback_id ⇒ String
Output only. The unique identifier for the feedback.
Corresponds to the JSON property feedbackId
350 351 352 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 350 def feedback_id @feedback_id end |
#type ⇒ String
Required. The type of the feedback.
Corresponds to the JSON property type
355 356 357 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 355 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
362 363 364 365 366 367 368 369 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 362 def update!(**args) @alert_id = args[:alert_id] if args.key?(:alert_id) @create_time = args[:create_time] if args.key?(:create_time) @customer_id = args[:customer_id] if args.key?(:customer_id) @email = args[:email] if args.key?(:email) @feedback_id = args[:feedback_id] if args.key?(:feedback_id) @type = args[:type] if args.key?(:type) end |