Generated from protobuf messagegoogle.cloud.dialogflow.v2.ListAnswerRecordsRequest
Namespace
Google \ Cloud \ Dialogflow \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The project to list all answer records for in reverse chronological order. Format:projects/<Project ID>/locations/<Location ID>.
↳ filter
string
Optional. Filters to restrict results to specific answer records. The expression has the following syntax:
↳ page_size
int
Optional. The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.
Required. The project to list all answer records for in reverse
chronological order. Format:projects/<Project ID>/locations/<Location
ID>.
Returns
Type
Description
string
setParent
Required. The project to list all answer records for in reverse
chronological order. Format:projects/<Project ID>/locations/<Location
ID>.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
Optional. Filters to restrict results to specific answer records. The
expression has the following syntax:
conversation_id with equals(=) operator
Examples:
conversation_id=barmatches answer records in theprojects/foo/locations/global/conversations/barconversation
(assuming the parent isprojects/foo/locations/global).
For more information about filtering, seeAPI Filtering.
Returns
Type
Description
string
setFilter
Optional. Filters to restrict results to specific answer records. The
expression has the following syntax:
conversation_id with equals(=) operator
Examples:
conversation_id=barmatches answer records in theprojects/foo/locations/global/conversations/barconversation
(assuming the parent isprojects/foo/locations/global).
For more information about filtering, seeAPI Filtering.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Optional. The maximum number of records to return in a single page.
The server may return fewer records than this. If unspecified, we use 10.
The maximum is 100.
Returns
Type
Description
int
setPageSize
Optional. The maximum number of records to return in a single page.
The server may return fewer records than this. If unspecified, we use 10.
The maximum is 100.
Required. The project to list all answer records for in reverse
chronological order. Format:projects/<Project ID>/locations/<Location
ID>. Please seeAnswerRecordsClient::projectName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow V2 Client - Class ListAnswerRecordsRequest (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-dialogflow/latest/V2.ListAnswerRecordsRequest)\n- [2.1.1](/php/docs/reference/cloud-dialogflow/2.1.1/V2.ListAnswerRecordsRequest)\n- [2.0.1](/php/docs/reference/cloud-dialogflow/2.0.1/V2.ListAnswerRecordsRequest)\n- [1.17.2](/php/docs/reference/cloud-dialogflow/1.17.2/V2.ListAnswerRecordsRequest)\n- [1.16.0](/php/docs/reference/cloud-dialogflow/1.16.0/V2.ListAnswerRecordsRequest)\n- [1.15.1](/php/docs/reference/cloud-dialogflow/1.15.1/V2.ListAnswerRecordsRequest)\n- [1.14.0](/php/docs/reference/cloud-dialogflow/1.14.0/V2.ListAnswerRecordsRequest)\n- [1.13.0](/php/docs/reference/cloud-dialogflow/1.13.0/V2.ListAnswerRecordsRequest)\n- [1.12.3](/php/docs/reference/cloud-dialogflow/1.12.3/V2.ListAnswerRecordsRequest)\n- [1.11.0](/php/docs/reference/cloud-dialogflow/1.11.0/V2.ListAnswerRecordsRequest)\n- [1.10.2](/php/docs/reference/cloud-dialogflow/1.10.2/V2.ListAnswerRecordsRequest)\n- [1.9.0](/php/docs/reference/cloud-dialogflow/1.9.0/V2.ListAnswerRecordsRequest)\n- [1.8.0](/php/docs/reference/cloud-dialogflow/1.8.0/V2.ListAnswerRecordsRequest)\n- [1.7.2](/php/docs/reference/cloud-dialogflow/1.7.2/V2.ListAnswerRecordsRequest)\n- [1.6.0](/php/docs/reference/cloud-dialogflow/1.6.0/V2.ListAnswerRecordsRequest)\n- [1.5.0](/php/docs/reference/cloud-dialogflow/1.5.0/V2.ListAnswerRecordsRequest)\n- [1.4.0](/php/docs/reference/cloud-dialogflow/1.4.0/V2.ListAnswerRecordsRequest)\n- [1.3.2](/php/docs/reference/cloud-dialogflow/1.3.2/V2.ListAnswerRecordsRequest)\n- [1.2.0](/php/docs/reference/cloud-dialogflow/1.2.0/V2.ListAnswerRecordsRequest)\n- [1.1.1](/php/docs/reference/cloud-dialogflow/1.1.1/V2.ListAnswerRecordsRequest)\n- [1.0.1](/php/docs/reference/cloud-dialogflow/1.0.1/V2.ListAnswerRecordsRequest) \nReference documentation and code samples for the Google Cloud Dialogflow V2 Client class ListAnswerRecordsRequest.\n\nRequest message for\n[AnswerRecords.ListAnswerRecords](/php/docs/reference/cloud-dialogflow/latest/V2.Client.AnswerRecordsClient#_Google_Cloud_Dialogflow_V2_Client_AnswerRecordsClient__listAnswerRecords__).\n\nGenerated from protobuf message `google.cloud.dialogflow.v2.ListAnswerRecordsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The project to list all answer records for in reverse\nchronological order. Format: `projects/\u003cProject ID\u003e/locations/\u003cLocation\nID\u003e`.\n\n### setParent\n\nRequired. The project to list all answer records for in reverse\nchronological order. Format: `projects/\u003cProject ID\u003e/locations/\u003cLocation\nID\u003e`.\n\n### getFilter\n\nOptional. Filters to restrict results to specific answer records. The\nexpression has the following syntax:\n\n\n- conversation_id with equals(=) operator Examples:\n- `conversation_id=bar` matches answer records in the `projects/foo/locations/global/conversations/bar` conversation (assuming the parent is `projects/foo/locations/global`).\n\nFor more information about filtering, see\n[API Filtering](https://aip.dev/160).\n\n### setFilter\n\nOptional. Filters to restrict results to specific answer records. The\nexpression has the following syntax:\n\n\n- conversation_id with equals(=) operator Examples:\n- `conversation_id=bar` matches answer records in the `projects/foo/locations/global/conversations/bar` conversation (assuming the parent is `projects/foo/locations/global`).\n\nFor more information about filtering, see\n[API Filtering](https://aip.dev/160).\n\n### getPageSize\n\nOptional. The maximum number of records to return in a single page.\n\nThe server may return fewer records than this. If unspecified, we use 10.\nThe maximum is 100.\n\n### setPageSize\n\nOptional. The maximum number of records to return in a single page.\n\nThe server may return fewer records than this. If unspecified, we use 10.\nThe maximum is 100.\n\n### getPageToken\n\nOptional. The\n[ListAnswerRecordsResponse.next_page_token](/php/docs/reference/cloud-dialogflow/latest/V2.ListAnswerRecordsResponse#_Google_Cloud_Dialogflow_V2_ListAnswerRecordsResponse__getNextPageToken__)\nvalue returned from a previous list request used to continue listing on\nthe next page.\n\n### setPageToken\n\nOptional. The\n[ListAnswerRecordsResponse.next_page_token](/php/docs/reference/cloud-dialogflow/latest/V2.ListAnswerRecordsResponse#_Google_Cloud_Dialogflow_V2_ListAnswerRecordsResponse__getNextPageToken__)\nvalue returned from a previous list request used to continue listing on\nthe next page.\n\n### static::build"]]