# Workflows v1 API - Class ListWorkflowsRequest (2.7.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.7.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/latest/Google.Cloud.Workflows.V1.ListWorkflowsRequest)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.6.0/Google.Cloud.Workflows.V1.ListWorkflowsRequest)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.5.0/Google.Cloud.Workflows.V1.ListWorkflowsRequest)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.4.0/Google.Cloud.Workflows.V1.ListWorkflowsRequest)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.3.0/Google.Cloud.Workflows.V1.ListWorkflowsRequest)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.2.0/Google.Cloud.Workflows.V1.ListWorkflowsRequest)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.1.0/Google.Cloud.Workflows.V1.ListWorkflowsRequest)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.0.0/Google.Cloud.Workflows.V1.ListWorkflowsRequest)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/1.2.0/Google.Cloud.Workflows.V1.ListWorkflowsRequest)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/1.1.0/Google.Cloud.Workflows.V1.ListWorkflowsRequest)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/1.0.0/Google.Cloud.Workflows.V1.ListWorkflowsRequest)

    public sealed class ListWorkflowsRequest : IMessage<ListWorkflowsRequest>, IEquatable<ListWorkflowsRequest>, IDeepCloneable<ListWorkflowsRequest>, IBufferMessage, IMessage, IPageRequest

Reference documentation and code samples for the Workflows v1 API class ListWorkflowsRequest.

Request for the
\[ListWorkflows\]\[google.cloud.workflows.v1.Workflows.ListWorkflows\]
method.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ListWorkflowsRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListWorkflowsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/latest/Google.Cloud.Workflows.V1.ListWorkflowsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListWorkflowsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/latest/Google.Cloud.Workflows.V1.ListWorkflowsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListWorkflowsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/latest/Google.Cloud.Workflows.V1.ListWorkflowsRequest), [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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Workflows.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/latest/Google.Cloud.Workflows.V1)

## Assembly

Google.Cloud.Workflows.V1.dll

## Constructors

### ListWorkflowsRequest()

    public ListWorkflowsRequest()

### ListWorkflowsRequest(ListWorkflowsRequest)

    public ListWorkflowsRequest(ListWorkflowsRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/latest/Google.Cloud.Workflows.V1.ListWorkflowsRequest` |

## Properties

### Filter

    public string Filter { get; set; }

Filter to restrict results to specific workflows.
For details, see \<a href="<https://google.aip.dev/160>"
class="external"\>AIP-160\</a\>.

For example, if you are using the Google APIs Explorer:

`state="SUCCEEDED"`

or

`createTime>"2023-08-01" AND state="FAILED"`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### OrderBy

    public string OrderBy { get; set; }

Comma-separated list of fields that specify the order of the results.
Default sorting order for a field is ascending. To specify descending order
for a field, append a "desc" suffix.
If not specified, the results are returned in an unspecified order.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PageSize

    public int PageSize { get; set; }

Maximum number of workflows to return per call. The service might return
fewer than this value even if not at the end of the collection. If a value
is not specified, a default value of 500 is used. The maximum permitted
value is 1000 and values greater than 1000 are coerced down to 1000.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### PageToken

    public string PageToken { get; set; }

A page token, received from a previous `ListWorkflows` call.
Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to `ListWorkflows` must
match the call that provided the page token.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Parent

    public string Parent { get; set; }

Required. Project and location from which the workflows should be listed.
Format: projects/{project}/locations/{location}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1/latest/Google.Cloud.Workflows.V1.ListWorkflowsRequest#Google_Cloud_Workflows_V1_ListWorkflowsRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` |   |