Google Cloud Dialogflow V2 Client - Class ListAnswerRecordsResponse (1.12.3)

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setAnswerRecords

The list of answer records.

Parameter
Name Description
var array<Google\Cloud\Dialogflow\V2\AnswerRecord>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this