# Google Certificate Authority Service V1 Client - Class ListCaPoolsRequest (2.4.0)

2.4.0 (latest) 2.3.0 2.2.2 2.1.1 2.0.3 1.7.3 1.5.0 1.4.2 1.3.1 1.2.2 1.1.0 1.0.3 Reference documentation and code samples for the Google Certificate Authority Service V1 Client class ListCaPoolsRequest.

Request message for
[CertificateAuthorityService.ListCaPools](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.Client.CertificateAuthorityServiceClient#_Google_Cloud_Security_PrivateCA_V1_Client_CertificateAuthorityServiceClient__listCaPools__).

Generated from protobuf message `google.cloud.security.privateca.v1.ListCaPoolsRequest`

## Namespace

Google \\ Cloud \\ Security \\ PrivateCA \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getParent

Required. The resource name of the location associated with the
[CaPools](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool), in the format
`projects/*/locations/*`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setParent

Required. The resource name of the location associated with the
[CaPools](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool), in the format
`projects/*/locations/*`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageSize

Optional. Limit on the number of
[CaPools](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool) to include in the
response. Further [CaPools](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool) can
subsequently be obtained by including the
[ListCaPoolsResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.ListCaPoolsResponse#_Google_Cloud_Security_PrivateCA_V1_ListCaPoolsResponse__getNextPageToken__)
in a subsequent request. If unspecified, the server will pick an
appropriate default.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

Optional. Limit on the number of
[CaPools](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool) to include in the
response. Further [CaPools](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool) can
subsequently be obtained by including the
[ListCaPoolsResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.ListCaPoolsResponse#_Google_Cloud_Security_PrivateCA_V1_ListCaPoolsResponse__getNextPageToken__)
in a subsequent request. If unspecified, the server will pick an
appropriate default.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageToken

Optional. Pagination token, returned earlier via
[ListCaPoolsResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.ListCaPoolsResponse#_Google_Cloud_Security_PrivateCA_V1_ListCaPoolsResponse__getNextPageToken__).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPageToken

Optional. Pagination token, returned earlier via
[ListCaPoolsResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.ListCaPoolsResponse#_Google_Cloud_Security_PrivateCA_V1_ListCaPoolsResponse__getNextPageToken__).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFilter

Optional. Only include resources that match the filter in the response.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFilter

Optional. Only include resources that match the filter in the response.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getOrderBy

Optional. Specify how the results should be sorted.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setOrderBy

Optional. Specify how the results should be sorted.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the location associated with the [CaPools](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool), in the format `projects/*/locations/*`. Please see CertificateAuthorityServiceClient::locationName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.ListCaPoolsRequest` |   |