Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
The request to set the feedback for a bot answer.
Instance Attribute Summary collapse
-
#answer_feedback ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback
Stores information about feedback provided by users about a response.
-
#response_id ⇒ String
Required.
-
#update_mask ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest
constructor
A new instance of GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest
Returns a new instance of GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest.
7277 7278 7279 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7277 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_feedback ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback
Stores information about feedback provided by users about a response.
Corresponds to the JSON property answerFeedback
7263 7264 7265 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7263 def answer_feedback @answer_feedback end |
#response_id ⇒ String
Required. ID of the response to update its feedback. This is the same as
DetectIntentResponse.response_id.
Corresponds to the JSON property responseId
7269 7270 7271 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7269 def response_id @response_id end |
#update_mask ⇒ String
Optional. The mask to control which fields to update. If the mask is not
present, all fields will be updated.
Corresponds to the JSON property updateMask
7275 7276 7277 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7275 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7282 7283 7284 7285 7286 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7282 def update!(**args) @answer_feedback = args[:answer_feedback] if args.key?(:answer_feedback) @response_id = args[:response_id] if args.key?(:response_id) @update_mask = args[:update_mask] if args.key?(:update_mask) end |