# Google Cloud Managed Kafka V1 Client - Class CertificateAuthorityServiceConfig (0.8.0)

0.8.0 (latest) 0.7.2 0.6.1 0.5.0 0.4.1 0.3.1 0.2.3 0.1.3 Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class CertificateAuthorityServiceConfig.

A configuration for the Google Certificate Authority Service.

Generated from protobuf message `google.cloud.managedkafka.v1.TrustConfig.CertificateAuthorityServiceConfig`

## Namespace

Google \\ Cloud \\ ManagedKafka \\ V1 \\ TrustConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ca_pool` | `string` Required. The name of the CA pool to pull CA certificates from. Structured like: projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in the same project or location as the Kafka cluster. |

### getCaPool

Required. The name of the CA pool to pull CA certificates from.

Structured like:
projects/{project}/locations/{location}/caPools/{ca_pool}.
The CA pool does not need to be in the same project or location as the
Kafka cluster.

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

### setCaPool

Required. The name of the CA pool to pull CA certificates from.

Structured like:
projects/{project}/locations/{location}/caPools/{ca_pool}.
The CA pool does not need to be in the same project or location as the
Kafka cluster.

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

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