# Google Cloud Ces V1 Client - Class TlsConfig (0.2.0)

0.2.0 (latest) 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class TlsConfig.

The TLS configuration.

Generated from protobuf message `google.cloud.ces.v1.TlsConfig`

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ca_certs` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.TlsConfig.CaCert>` Required. Specifies a list of allowed custom CA certificates for HTTPS verification. |

### getCaCerts

Required. Specifies a list of allowed custom CA certificates for HTTPS
verification.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.TlsConfig.CaCert>` |   |

### setCaCerts

Required. Specifies a list of allowed custom CA certificates for HTTPS
verification.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.TlsConfig.CaCert>` |

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