Google Cloud Dialogflow V2 Client - Class UpdateAnswerRecordRequest (1.15.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class UpdateAnswerRecordRequest.

Request message for AnswerRecords.UpdateAnswerRecord.

Generated from protobuf message google.cloud.dialogflow.v2.UpdateAnswerRecordRequest

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ answer_record Google\Cloud\Dialogflow\V2\AnswerRecord

Required. Answer record to update.

↳ update_mask Google\Protobuf\FieldMask

Required. The mask to control which fields get updated.

getAnswerRecord

Required. Answer record to update.

Returns
Type Description
Google\Cloud\Dialogflow\V2\AnswerRecord|null

hasAnswerRecord

clearAnswerRecord

setAnswerRecord

Required. Answer record to update.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\AnswerRecord
Returns
Type Description
$this

getUpdateMask

Required. The mask to control which fields get updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The mask to control which fields get updated.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
answerRecord Google\Cloud\Dialogflow\V2\AnswerRecord

Required. Answer record to update.

updateMask Google\Protobuf\FieldMask

Required. The mask to control which fields get updated.

Returns
Type Description
Google\Cloud\Dialogflow\V2\UpdateAnswerRecordRequest