Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::SubmitAnswerFeedbackRequest.
The request to set the feedback for a bot answer.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#answer_feedback
def answer_feedback() -> ::Google::Cloud::Dialogflow::CX::V3::AnswerFeedback
Returns
- (::Google::Cloud::Dialogflow::CX::V3::AnswerFeedback) — Required. Feedback provided for a bot answer.
#answer_feedback=
def answer_feedback=(value) -> ::Google::Cloud::Dialogflow::CX::V3::AnswerFeedback
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::AnswerFeedback) — Required. Feedback provided for a bot answer.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::AnswerFeedback) — Required. Feedback provided for a bot answer.
#response_id
def response_id() -> ::String
Returns
- (::String) — Required. ID of the response to update its feedback. This is the same as DetectIntentResponse.response_id.
#response_id=
def response_id=(value) -> ::String
Parameter
- value (::String) — Required. ID of the response to update its feedback. This is the same as DetectIntentResponse.response_id.
Returns
- (::String) — Required. ID of the response to update its feedback. This is the same as DetectIntentResponse.response_id.
#session
def session() -> ::String
Returns
- (::String) — Required. The name of the session the feedback was sent to.
#session=
def session=(value) -> ::String
Parameter
- value (::String) — Required. The name of the session the feedback was sent to.
Returns
- (::String) — Required. The name of the session the feedback was sent to.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.
Returns
- (::Google::Protobuf::FieldMask) — Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.