1.11.0 (latest) 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1

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

Reference documentation and code samples for the Cloud Storage v2 API class ListFoldersRequest.

Request message for ListFolders. This operation is only applicable to a
hierarchical namespace enabled bucket.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ListFoldersRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.ListFoldersRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListFoldersRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.ListFoldersRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ListFoldersRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.ListFoldersRequest.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.Storage.Control.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.md.txt)

## Assembly

Google.Cloud.Storage.Control.V2.dll

## Constructors

### ListFoldersRequest()

    public ListFoldersRequest()

### ListFoldersRequest(ListFoldersRequest)

    public ListFoldersRequest(ListFoldersRequest other)

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

## Properties

### Delimiter

    public string Delimiter { get; set; }

Optional. If set, returns results in a directory-like mode. The results
will only include folders that either exactly match the above prefix, or
are one level below the prefix. The only supported value is '/'.

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

### LexicographicEnd

    public string LexicographicEnd { get; set; }

Optional. Filter results to folders whose names are lexicographically
before lexicographic_end. If lexicographic_start is also set, the folders
listed have names between lexicographic_start (inclusive) and
lexicographic_end (exclusive).

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

### LexicographicStart

    public string LexicographicStart { get; set; }

Optional. Filter results to folders whose names are lexicographically equal
to or after lexicographic_start. If lexicographic_end is also set, the
folders listed have names between lexicographic_start (inclusive) and
lexicographic_end (exclusive).

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

### PageSize

    public int PageSize { get; set; }

Optional. Maximum number of folders to return in a single response. The
service will use this parameter or 1,000 items, whichever is smaller.

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

### PageToken

    public string PageToken { get; set; }

Optional. A previously-returned page token representing part of the larger
set of results to view.

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

### Parent

    public string Parent { get; set; }

Required. Name of the bucket in which to look for folders. The bucket must
be a hierarchical namespace enabled bucket.

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

### ParentAsBucketName

    public BucketName ParentAsBucketName { get; set; }

[BucketName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.BucketName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.ListFoldersRequest.md.txt#Google_Cloud_Storage_Control_V2_ListFoldersRequest_Parent) resource name property.

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

### Prefix

    public string Prefix { get; set; }

Optional. Filter results to folders whose names begin with this prefix.
If set, the value must either be an empty string or end with a '/'.

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

### RequestId

    public string RequestId { get; set; }

Optional. A unique identifier for this request. UUID is the recommended
format, but other formats are still accepted.

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