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 | |
---|---|
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.
Generated from protobuf field .google.cloud.dialogflow.v2.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\V2\AnswerRecord|null |
hasAnswerRecord
clearAnswerRecord
setAnswerRecord
Required. Answer record to update.
Generated from protobuf field .google.cloud.dialogflow.v2.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\V2\AnswerRecord
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
Required. The mask to control which fields get updated.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. The mask to control which fields get updated.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |