# Certificate Authority v1 API - Class ListCertificatesRequest (3.12.0)

3.12.0 (latest) 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

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

Reference documentation and code samples for the Certificate Authority v1 API class ListCertificatesRequest.

Request message for
\[CertificateAuthorityService.ListCertificates\]\[google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates\].

## Inheritance

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

## Implements

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

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

## Assembly

Google.Cloud.Security.PrivateCA.V1.dll

## Constructors

### ListCertificatesRequest()

    public ListCertificatesRequest()

### ListCertificatesRequest(ListCertificatesRequest)

    public ListCertificatesRequest(ListCertificatesRequest other)

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

## Properties

### Filter

    public string Filter { get; set; }

Optional. Only include resources that match the filter in the response. For
details on supported filters and syntax, see [Certificates Filtering
documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#filtering_support).

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

### OrderBy

    public string OrderBy { get; set; }

Optional. Specify how the results should be sorted. For details on
supported fields and syntax, see [Certificates Sorting
documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#sorting_support).

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

### PageSize

    public int PageSize { get; set; }

Optional. Limit on the number of
\[Certificates\]\[google.cloud.security.privateca.v1.Certificate\] to include
in the response. Further
\[Certificates\]\[google.cloud.security.privateca.v1.Certificate\] can
subsequently be obtained by including the
\[ListCertificatesResponse.next_page_token\]\[google.cloud.security.privateca.v1.ListCertificatesResponse.next_page_token\]
in a subsequent request. If unspecified, the server will pick an
appropriate default.

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

### PageToken

    public string PageToken { get; set; }

Optional. Pagination token, returned earlier via
\[ListCertificatesResponse.next_page_token\]\[google.cloud.security.privateca.v1.ListCertificatesResponse.next_page_token\].

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

### Parent

    public string Parent { get; set; }

Required. The resource name of the parent associated with the
\[Certificates\]\[google.cloud.security.privateca.v1.Certificate\], in the
format `projects/*/locations/*/caPools/*`. The parent resource name can be
in one of two forms:

1. **Specific CA Pool:** To list certificates within a single CA Pool:
   `projects/*/locations/*/caPools/*`

2. **All CA Pools in a Location:** To list certificates across *all* CA
   Pools in a given project and location, use the wildcard character (`-`)
   in place of the CA Pool ID.
   Example: `projects/*/locations/*/caPools/-`

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

### ParentAsCaPoolName

    public CaPoolName ParentAsCaPoolName { get; set; }

[CaPoolName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPoolName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.ListCertificatesRequest#Google_Cloud_Security_PrivateCA_V1_ListCertificatesRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPoolName` |   |