Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ListConversationsRequest.
Request for ListConversations method.
Generated from protobuf message google.cloud.discoveryengine.v1.ListConversationsRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The data store resource name. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}
↳ page_size
int
Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
↳ page_token
string
A page token, received from a previous ListConversations call. Provide this to retrieve the subsequent page.
↳ filter
string
A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id"
↳ order_by
string
A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * * update_time * * create_time * * conversation_name Example: "update_time desc" "create_time"
getParent
Required. The data store resource name. Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}
Returns
Type
Description
string
setParent
Required. The data store resource name. Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Maximum number of results to return. If unspecified, defaults
to 50. Max allowed value is 1000.
Returns
Type
Description
int
setPageSize
Maximum number of results to return. If unspecified, defaults
to 50. Max allowed value is 1000.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
A page token, received from a previous ListConversations call.
Provide this to retrieve the subsequent page.
Returns
Type
Description
string
setPageToken
A page token, received from a previous ListConversations call.
Provide this to retrieve the subsequent page.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
A filter to apply on the list results. The supported features are:
user_pseudo_id, state.
Example:
"user_pseudo_id = some_id"
Returns
Type
Description
string
setFilter
A filter to apply on the list results. The supported features are:
user_pseudo_id, state.
Example:
"user_pseudo_id = some_id"
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getOrderBy
A comma-separated list of fields to order by, sorted in ascending order.
Use "desc" after a field name for descending.
Supported fields:
Required. The data store resource name. Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}
Please see ConversationalSearchServiceClient::dataStoreName() 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 Discovery Engine V1 Client - Class ListConversationsRequest (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/php/docs/reference/cloud-discoveryengine/latest/V1.ListConversationsRequest)\n- [1.6.1](/php/docs/reference/cloud-discoveryengine/1.6.1/V1.ListConversationsRequest)\n- [1.5.1](/php/docs/reference/cloud-discoveryengine/1.5.1/V1.ListConversationsRequest)\n- [1.4.0](/php/docs/reference/cloud-discoveryengine/1.4.0/V1.ListConversationsRequest)\n- [1.3.3](/php/docs/reference/cloud-discoveryengine/1.3.3/V1.ListConversationsRequest)\n- [1.2.0](/php/docs/reference/cloud-discoveryengine/1.2.0/V1.ListConversationsRequest)\n- [1.1.0](/php/docs/reference/cloud-discoveryengine/1.1.0/V1.ListConversationsRequest)\n- [1.0.0](/php/docs/reference/cloud-discoveryengine/1.0.0/V1.ListConversationsRequest)\n- [0.11.3](/php/docs/reference/cloud-discoveryengine/0.11.3/V1.ListConversationsRequest)\n- [0.8.0](/php/docs/reference/cloud-discoveryengine/0.8.0/V1.ListConversationsRequest)\n- [0.7.1](/php/docs/reference/cloud-discoveryengine/0.7.1/V1.ListConversationsRequest)\n- [0.6.0](/php/docs/reference/cloud-discoveryengine/0.6.0/V1.ListConversationsRequest)\n- [0.5.0](/php/docs/reference/cloud-discoveryengine/0.5.0/V1.ListConversationsRequest)\n- [0.4.0](/php/docs/reference/cloud-discoveryengine/0.4.0/V1.ListConversationsRequest)\n- [0.3.0](/php/docs/reference/cloud-discoveryengine/0.3.0/V1.ListConversationsRequest)\n- [0.2.0](/php/docs/reference/cloud-discoveryengine/0.2.0/V1.ListConversationsRequest)\n- [0.1.1](/php/docs/reference/cloud-discoveryengine/0.1.1/V1.ListConversationsRequest) \nReference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ListConversationsRequest.\n\nRequest for ListConversations method.\n\nGenerated from protobuf message `google.cloud.discoveryengine.v1.ListConversationsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DiscoveryEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The data store resource name. Format:\n`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`\n\n### setParent\n\nRequired. The data store resource name. Format:\n`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`\n\n### getPageSize\n\nMaximum number of results to return. If unspecified, defaults\nto 50. Max allowed value is 1000.\n\n### setPageSize\n\nMaximum number of results to return. If unspecified, defaults\nto 50. Max allowed value is 1000.\n\n### getPageToken\n\nA page token, received from a previous `ListConversations` call.\n\nProvide this to retrieve the subsequent page.\n\n### setPageToken\n\nA page token, received from a previous `ListConversations` call.\n\nProvide this to retrieve the subsequent page.\n\n### getFilter\n\nA filter to apply on the list results. The supported features are:\nuser_pseudo_id, state.\n\nExample:\n\"user_pseudo_id = some_id\"\n\n### setFilter\n\nA filter to apply on the list results. The supported features are:\nuser_pseudo_id, state.\n\nExample:\n\"user_pseudo_id = some_id\"\n\n### getOrderBy\n\nA comma-separated list of fields to order by, sorted in ascending order.\n\nUse \"desc\" after a field name for descending.\nSupported fields:\n\n- `update_time`\n- `create_time`\n- `conversation_name` Example: \"update_time desc\" \"create_time\"\n\n### setOrderBy\n\nA comma-separated list of fields to order by, sorted in ascending order.\n\nUse \"desc\" after a field name for descending.\nSupported fields:\n\n- `update_time`\n- `create_time`\n- `conversation_name` Example: \"update_time desc\" \"create_time\"\n\n### static::build"]]