[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eListSessionsRequest\u003c/code\u003e is a class in the Discovery Engine v1beta API used to request a list of sessions.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIPageRequest\u003c/code\u003e, enabling various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties such as \u003ccode\u003eFilter\u003c/code\u003e, \u003ccode\u003eOrderBy\u003c/code\u003e, \u003ccode\u003ePageSize\u003c/code\u003e, \u003ccode\u003ePageToken\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e to customize the session listing request, allowing filtering, sorting, pagination, and specifying the data store.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available for creating \u003ccode\u003eListSessionsRequest\u003c/code\u003e objects: a default constructor and a constructor that takes another \u003ccode\u003eListSessionsRequest\u003c/code\u003e object as input.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eListSessionsRequest\u003c/code\u003e also allows for the ability to have the \u003ccode\u003eParent\u003c/code\u003e property be viewed as \u003ccode\u003eDataStoreName\u003c/code\u003e type.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class ListSessionsRequest (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest) \n\n public sealed class ListSessionsRequest : IMessage\u003cListSessionsRequest\u003e, IEquatable\u003cListSessionsRequest\u003e, IDeepCloneable\u003cListSessionsRequest\u003e, IBufferMessage, IMessage, IPageRequest\n\nReference documentation and code samples for the Discovery Engine v1beta API class ListSessionsRequest.\n\nRequest for ListSessions method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListSessionsRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListSessionsRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListSessionsRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListSessionsRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html), [IPageRequest](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### ListSessionsRequest()\n\n public ListSessionsRequest()\n\n### ListSessionsRequest(ListSessionsRequest)\n\n public ListSessionsRequest(ListSessionsRequest other)\n\nProperties\n----------\n\n### Filter\n\n public string Filter { get; set; }\n\nA comma-separated list of fields to filter by, in EBNF grammar.\nThe supported fields are:\n\n- `user_pseudo_id`\n- `state`\n- `display_name`\n- `starred`\n- `is_pinned`\n- `labels`\n- `create_time`\n- `update_time`\n\nExamples:\n\"user_pseudo_id = some_id\"\n\"display_name = \"some_name\"\"\n\"starred = true\"\n\"is_pinned=true AND (NOT labels:hidden)\"\n\"create_time \\\u003e \"1970-01-01T12:00:00Z\"\"\n\n### OrderBy\n\n public string OrderBy { get; set; }\n\nA comma-separated list of fields to order by, sorted in ascending order.\nUse \"desc\" after a field name for descending.\nSupported fields:\n\n- `update_time`\n- `create_time`\n- `session_name`\n- `is_pinned`\n\nExample:\n\n- \"update_time desc\"\n- \"create_time\"\n- \"is_pinned desc,update_time desc\": list sessions by is_pinned first, then by update_time.\n\n### PageSize\n\n public int PageSize { get; set; }\n\nMaximum number of results to return. If unspecified, defaults\nto 50. Max allowed value is 1000.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nA page token, received from a previous `ListSessions` call.\nProvide this to retrieve the subsequent page.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The data store resource name. Format:\n`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`\n\n### ParentAsDataStoreName\n\n public DataStoreName ParentAsDataStoreName { get; set; }\n\n[DataStoreName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest#Google_Cloud_DiscoveryEngine_V1Beta_ListSessionsRequest_Parent) resource name property."]]