Optional. A filter for the batches to return in the response.
A filter is a logical expression constraining the values of various fields
in each batch resource. Filters are case sensitive, and may contain
multiple clauses combined with logical operators (AND/OR).
Supported fields are batch_id, batch_uuid, state, and create_time.
e.g. state = RUNNING and create_time < "2023-01-01T00:00:00Z"
filters for batches in state RUNNING that were created before 2023-01-01
Optional. The maximum number of batches to return in each response.
The service may return fewer than this value.
The default page size is 20; the maximum page size is 1000.
[[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003eListBatchesRequest\u003c/code\u003e class within the Google Cloud Dataproc v1 API, specifically for the .NET environment, with the latest version being 5.17.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListBatchesRequest\u003c/code\u003e class is used to send a request to list batch workloads within a Google Cloud project.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListBatchesRequest\u003c/code\u003e class includes 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, which can be used to specify various criteria for filtering and sorting the batch list.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available for this class, spanning from version 3.1.0 up to the latest release of version 5.17.0, which can be accessed by selecting a version from the dropdown menu.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListBatchesRequest\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIPageRequest\u003c/code\u003e, \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for deep cloning, buffering, and handling of page requests.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dataproc v1 API - Class ListBatchesRequest (5.20.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.20.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.19.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.19.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.18.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.18.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.17.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.17.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.16.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.16.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.15.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.15.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.14.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.14.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.13.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.13.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.12.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.12.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.11.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.11.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.10.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.10.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.9.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.9.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.8.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.8.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.7.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.7.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.6.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.6.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.5.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.5.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.4.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.3.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.2.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.1.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.0.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/4.0.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.4.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.3.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.2.0/Google.Cloud.Dataproc.V1.ListBatchesRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.1.0/Google.Cloud.Dataproc.V1.ListBatchesRequest) \n\n public sealed class ListBatchesRequest : IPageRequest, IMessage\u003cListBatchesRequest\u003e, IEquatable\u003cListBatchesRequest\u003e, IDeepCloneable\u003cListBatchesRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dataproc v1 API class ListBatchesRequest.\n\nA request to list batch workloads in a project. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListBatchesRequest \n\nImplements\n----------\n\n[IPageRequest](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListBatchesRequest](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ListBatchesRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListBatchesRequest](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ListBatchesRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListBatchesRequest](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ListBatchesRequest), [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) \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.Dataproc.V1](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataproc.V1.dll\n\nConstructors\n------------\n\n### ListBatchesRequest()\n\n public ListBatchesRequest()\n\n### ListBatchesRequest(ListBatchesRequest)\n\n public ListBatchesRequest(ListBatchesRequest other)\n\nProperties\n----------\n\n### Filter\n\n public string Filter { get; set; }\n\nOptional. A filter for the batches to return in the response.\n\nA filter is a logical expression constraining the values of various fields\nin each batch resource. Filters are case sensitive, and may contain\nmultiple clauses combined with logical operators (AND/OR).\nSupported fields are `batch_id`, `batch_uuid`, `state`, and `create_time`.\n\ne.g. `state = RUNNING and create_time \u003c \"2023-01-01T00:00:00Z\"`\nfilters for batches in state RUNNING that were created before 2023-01-01\n\nSee \u003chttps://google.aip.dev/assets/misc/ebnf-filtering.txt\u003e for a detailed\ndescription of the filter syntax and a list of supported comparisons.\n\n### OrderBy\n\n public string OrderBy { get; set; }\n\nOptional. Field(s) on which to sort the list of batches.\n\nCurrently the only supported sort orders are unspecified (empty) and\n`create_time desc` to sort by most recently created batches first.\n\nSee \u003chttps://google.aip.dev/132#ordering\u003e for more details.\n\n### PageSize\n\n public int PageSize { get; set; }\n\nOptional. The maximum number of batches to return in each response.\nThe service may return fewer than this value.\nThe default page size is 20; the maximum page size is 1000.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nOptional. A page token received from a previous `ListBatches` call.\nProvide this token to retrieve the subsequent page.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent, which owns this collection of batches.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ListBatchesRequest#Google_Cloud_Dataproc_V1_ListBatchesRequest_Parent) resource name property."]]