Google Cloud Dialogflow V2 Client - Class ListAnswerRecordsResponse (1.7.2)

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

Namespace

Google \ Cloud \ Dialogflow \ V2

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAnswerRecords

The list of answer records.

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.

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this