3.0.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0

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

Reference documentation and code samples for the Secret Manager v1 API class ListSecretsRequest.

Request message for
\[SecretManagerService.ListSecrets\]\[google.cloud.secretmanager.v1.SecretManagerService.ListSecrets\].

## Inheritance

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

## Implements

[IPageRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ListSecretsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.ListSecretsRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListSecretsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.ListSecretsRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ListSecretsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.ListSecretsRequest.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)

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

## Assembly

Google.Cloud.SecretManager.V1.dll

## Constructors

### ListSecretsRequest()

    public ListSecretsRequest()

### ListSecretsRequest(ListSecretsRequest)

    public ListSecretsRequest(ListSecretsRequest other)

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

## Properties

### Filter

    public string Filter { get; set; }

Optional. Filter string, adhering to the rules in
[List-operation
filtering](https://cloud.google.com/secret-manager/docs/filtering). List
only secrets matching the filter. If filter is empty, all secrets are
listed.

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

### PageSize

    public int PageSize { get; set; }

Optional. The maximum number of results to be returned in a single page. If
set to 0, the server decides the number of results to return. If the
number is greater than 25000, it is capped at 25000.

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

### PageToken

    public string PageToken { get; set; }

Optional. Pagination token, returned earlier via
\[ListSecretsResponse.next_page_token\]\[google.cloud.secretmanager.v1.ListSecretsResponse.next_page_token\].

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

### Parent

    public string Parent { get; set; }

Required. The resource name of the project associated with the
\[Secrets\]\[google.cloud.secretmanager.v1.Secret\], in the format `projects/*`
or `projects/*/locations/*`

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

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.ListSecretsRequest.md.txt#Google_Cloud_SecretManager_V1_ListSecretsRequest_Parent) resource name property.

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

### ParentAsProjectName

    public ProjectName ParentAsProjectName { get; set; }

[ProjectName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.ListSecretsRequest.md.txt#Google_Cloud_SecretManager_V1_ListSecretsRequest_Parent) resource name property.

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

### ParentAsResourceName

    public IResourceName ParentAsResourceName { get; set; }

[IResourceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IResourceName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecretManager.V1/latest/Google.Cloud.SecretManager.V1.ListSecretsRequest.md.txt#Google_Cloud_SecretManager_V1_ListSecretsRequest_Parent) resource name property.

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