Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason
- 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
-
#feedback ⇒ String
Corresponds to the JSON property
feedback. -
#reason_labels ⇒ Array<String>
Corresponds to the JSON property
reasonLabels.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason
constructor
A new instance of GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#feedback ⇒ String
Corresponds to the JSON property feedback
4306 4307 4308 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4306 def feedback @feedback end |
#reason_labels ⇒ Array<String>
Corresponds to the JSON property reasonLabels
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 |