Class: Google::Apis::AlertcenterV1beta1::AlertFeedback

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 customer feedback about an alert.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AlertFeedback

Returns a new instance of AlertFeedback.



412
413
414
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 412

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

Instance Attribute Details

#alert_idString

Output only. The alert identifier. Corresponds to the JSON property alertId

Returns:

  • (String)


384
385
386
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 384

def alert_id
  @alert_id
end

#create_timeString

Output only. The time this feedback was created. Corresponds to the JSON property createTime

Returns:

  • (String)


389
390
391
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 389

def create_time
  @create_time
end

#customer_idString

Output only. The unique identifier of the Google Workspace account of the customer. Corresponds to the JSON property customerId

Returns:

  • (String)


395
396
397
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 395

def customer_id
  @customer_id
end

#emailString

Output only. The email of the user that provided the feedback. Corresponds to the JSON property email

Returns:

  • (String)


400
401
402
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 400

def email
  @email
end

#feedback_idString

Output only. The unique identifier for the feedback. Corresponds to the JSON property feedbackId

Returns:

  • (String)


405
406
407
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 405

def feedback_id
  @feedback_id
end

#typeString

Required. The type of the feedback. Corresponds to the JSON property type

Returns:

  • (String)


410
411
412
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 410

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



417
418
419
420
421
422
423
424
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 417

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