2.7.0 (latest) 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Assured Workloads v1 API class ListWorkloadsRequest.

Request for fetching workloads in an organization.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ListWorkloadsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListWorkloadsRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListWorkloadsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListWorkloadsRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ListWorkloadsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListWorkloadsRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt), [IPageRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.md.txt)

## 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.AssuredWorkloads.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.md.txt)

## Assembly

Google.Cloud.AssuredWorkloads.V1.dll

## Constructors

### ListWorkloadsRequest()

    public ListWorkloadsRequest()

### ListWorkloadsRequest(ListWorkloadsRequest)

    public ListWorkloadsRequest(ListWorkloadsRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ListWorkloadsRequest` |

## Properties

### Filter

    public string Filter { get; set; }

A custom filter for filtering by properties of a workload. At this time,
only filtering by labels is supported.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PageSize

    public int PageSize { get; set; }

Page size.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### PageToken

    public string PageToken { get; set; }

Page token returned from previous request. Page token contains context from
previous request. Page token needs to be passed in the second and following
requests.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Parent

    public string Parent { get; set; }

Required. Parent Resource to list workloads from.
Must be of the form `organizations/{org_id}/locations/{location}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.LocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListWorkloadsRequest.md.txt#Google_Cloud_AssuredWorkloads_V1_ListWorkloadsRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationName` |   |