Google Cloud Dialogflow V2 Client - Class ListAnswerRecordsResponse (1.0.1)

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

Response message for AnswerRecords.ListAnswerRecords.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ answer_records array<Google\Cloud\Dialogflow\V2\AnswerRecord>

The list of answer records.

↳ next_page_token string

A token to retrieve next page of results. Or empty if there are no more results. Pass this value in the ListAnswerRecordsRequest.page_token field in the subsequent call to ListAnswerRecords method to retrieve the next page of results.

getAnswerRecords

The list of answer records.

Generated from protobuf field repeated .google.cloud.dialogflow.v2.AnswerRecord answer_records = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAnswerRecords

The list of answer records.

Generated from protobuf field repeated .google.cloud.dialogflow.v2.AnswerRecord answer_records = 1;

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

getNextPageToken

A token to retrieve next page of results. Or empty if there are no more results.

Pass this value in the ListAnswerRecordsRequest.page_token field in the subsequent call to ListAnswerRecords method to retrieve the next page of results.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

A token to retrieve next page of results. Or empty if there are no more results.

Pass this value in the ListAnswerRecordsRequest.page_token field in the subsequent call to ListAnswerRecords method to retrieve the next page of results.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this