Fewer tasks than requested might be returned, even if more tasks exist; use
[next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token]
in the response to determine if more tasks exist.
The maximum page size is 1000. If unspecified, the page size will be the
maximum.
A token identifying the page of results to return.
To request the first page results, page_token must be empty. To
request the next page of results, page_token must be the value of
[next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token]
returned from the previous call to
[ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method.
The response_view specifies which subset of the
[Task][google.cloud.tasks.v2beta3.Task] will be returned.
By default response_view is
[BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
retrieved by default because some data, such as payloads, might be
desirable to return only when needed because of its large size or because
of the sensitivity of data that it contains.
Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
requires cloudtasks.tasks.fullViewGoogle
IAM permission on the
[Task][google.cloud.tasks.v2beta3.Task] resource.
[[["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-08-28 UTC."],[[["\u003cp\u003e\u003ccode\u003eListTasksRequest\u003c/code\u003e is a class in the Google Cloud Tasks v2beta3 API used to request a list of tasks, implementing 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.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties such as \u003ccode\u003ePageSize\u003c/code\u003e (to set the maximum number of tasks to return), \u003ccode\u003ePageToken\u003c/code\u003e (to paginate through results), and \u003ccode\u003eParent\u003c/code\u003e (specifying the queue name from which to list tasks).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResponseView\u003c/code\u003e property allows specifying the subset of \u003ccode\u003eTask\u003c/code\u003e information to be returned, with options like \u003ccode\u003eBASIC\u003c/code\u003e for minimal data and \u003ccode\u003eFULL\u003c/code\u003e for complete details, requiring specific IAM permissions for the latter.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eListTasksRequest\u003c/code\u003e has both a parameterless constructor, and a constructor that takes another \u003ccode\u003eListTasksRequest\u003c/code\u003e object as a parameter, which is used to copy its contents into a new object.\u003c/p\u003e\n"],["\u003cp\u003eThere are inherited members such as \u003ccode\u003eobject.GetHashCode()\u003c/code\u003e, \u003ccode\u003eobject.GetType()\u003c/code\u003e, and \u003ccode\u003eobject.ToString()\u003c/code\u003e available within the class.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Tasks v2beta3 API - Class ListTasksRequest (3.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.ListTasksRequest)\n- [3.0.0-beta06](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/3.0.0-beta06/Google.Cloud.Tasks.V2Beta3.ListTasksRequest)\n- [2.0.0-beta08](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/2.0.0-beta08/Google.Cloud.Tasks.V2Beta3.ListTasksRequest) \n\n public sealed class ListTasksRequest : IMessage\u003cListTasksRequest\u003e, IEquatable\u003cListTasksRequest\u003e, IDeepCloneable\u003cListTasksRequest\u003e, IBufferMessage, IMessage, IPageRequest\n\nReference documentation and code samples for the Google Cloud Tasks v2beta3 API class ListTasksRequest.\n\nRequest message for listing tasks using\n\\[ListTasks\\]\\[google.cloud.tasks.v2beta3.CloudTasks.ListTasks\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListTasksRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListTasksRequest](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.ListTasksRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListTasksRequest](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.ListTasksRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListTasksRequest](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.ListTasksRequest), [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://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/PagedEnumerableCommon.cs) \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.Tasks.V2Beta3](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.Tasks.V2Beta3.dll\n\nConstructors\n------------\n\n### ListTasksRequest()\n\n public ListTasksRequest()\n\n### ListTasksRequest(ListTasksRequest)\n\n public ListTasksRequest(ListTasksRequest other)\n\nProperties\n----------\n\n### PageSize\n\n public int PageSize { get; set; }\n\nMaximum page size.\n\nFewer tasks than requested might be returned, even if more tasks exist; use\n\\[next_page_token\\]\\[google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token\\]\nin the response to determine if more tasks exist.\n\nThe maximum page size is 1000. If unspecified, the page size will be the\nmaximum.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nA token identifying the page of results to return.\n\nTo request the first page results, page_token must be empty. To\nrequest the next page of results, page_token must be the value of\n\\[next_page_token\\]\\[google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token\\]\nreturned from the previous call to\n\\[ListTasks\\]\\[google.cloud.tasks.v2beta3.CloudTasks.ListTasks\\] method.\n\nThe page token is valid for only 2 hours.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The queue name. For example:\n`projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`\n\n### ParentAsQueueName\n\n public QueueName ParentAsQueueName { get; set; }\n\n[QueueName](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.QueueName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.ListTasksRequest#Google_Cloud_Tasks_V2Beta3_ListTasksRequest_Parent) resource name property.\n\n### ResponseView\n\n public Task.Types.View ResponseView { get; set; }\n\nThe response_view specifies which subset of the\n\\[Task\\]\\[google.cloud.tasks.v2beta3.Task\\] will be returned.\n\nBy default response_view is\n\\[BASIC\\]\\[google.cloud.tasks.v2beta3.Task.View.BASIC\\]; not all information is\nretrieved by default because some data, such as payloads, might be\ndesirable to return only when needed because of its large size or because\nof the sensitivity of data that it contains.\n\nAuthorization for \\[FULL\\]\\[google.cloud.tasks.v2beta3.Task.View.FULL\\]\nrequires `cloudtasks.tasks.fullView` [Google\nIAM](https://cloud.google.com/iam/) permission on the\n\\[Task\\]\\[google.cloud.tasks.v2beta3.Task\\] resource."]]