Google Cloud Dialogflow Cx V3 Client - Class SubmitAnswerFeedbackRequest (0.3.4)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class SubmitAnswerFeedbackRequest.

The request to set the feedback for a bot answer.

Generated from protobuf message google.cloud.dialogflow.cx.v3.SubmitAnswerFeedbackRequest

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ session
string

Required. The name of the session the feedback was sent to.

↳ response_id
string

Required. ID of the response to update its feedback. This is the same as DetectIntentResponse.response_id.

↳ answer_feedback
Google\Cloud\Dialogflow\Cx\V3\AnswerFeedback

Required. Feedback provided for a bot answer.

↳ update_mask
Google\Protobuf\FieldMask

Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.

getSession

Required. The name of the session the feedback was sent to.

Returns
Type
Description
string

setSession

Required. The name of the session the feedback was sent to.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getResponseId

Required. ID of the response to update its feedback. This is the same as DetectIntentResponse.response_id.

Returns
Type
Description
string

setResponseId

Required. ID of the response to update its feedback. This is the same as DetectIntentResponse.response_id.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAnswerFeedback

Required. Feedback provided for a bot answer.

Returns
Type
Description

hasAnswerFeedback

clearAnswerFeedback

setAnswerFeedback

Required. Feedback provided for a bot answer.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: