Google Cloud Dialogflow V2 Client - Class UpdateAnswerRecordRequest (1.7.2)

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
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\V2\AnswerRecord|null

hasAnswerRecord

clearAnswerRecord

setAnswerRecord

Required. Answer record to update.

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\AnswerRecord
Returns
TypeDescription
$this

getUpdateMask

Required. The mask to control which fields get updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The mask to control which fields get updated.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\V2\UpdateAnswerRecordRequest