Google Cloud Dialogflow V2 Client - Class UpdateAnswerRecordRequest (1.4.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

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