Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason

Returns a new instance of GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason.



4313
4314
4315
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4313

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

Instance Attribute Details

#feedbackString

Corresponds to the JSON property feedback

Returns:

  • (String)


4306
4307
4308
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4306

def feedback
  @feedback
end

#reason_labelsArray<String>

Corresponds to the JSON property reasonLabels

Returns:

  • (Array<String>)


4311
4312
4313
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4311

def reason_labels
  @reason_labels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4318
4319
4320
4321
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4318

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