# Google Certificate Authority Service V1 Client - Class GetCaPoolRequest (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 GetCaPoolRequest.

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

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The [name](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool#_Google_Cloud_Security_PrivateCA_V1_CaPool__getName__) of the [CaPool](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool) to get. |

### getName

Required. The [name](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool#_Google_Cloud_Security_PrivateCA_V1_CaPool__getName__) of the
[CaPool](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool) to get.

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

### setName

Required. The [name](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool#_Google_Cloud_Security_PrivateCA_V1_CaPool__getName__) of the
[CaPool](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool) to get.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The [name](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool#_Google_Cloud_Security_PrivateCA_V1_CaPool__getName__) of the [CaPool](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CaPool) to get. Please see CertificateAuthorityServiceClient::caPoolName() for help formatting this field. |

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