# Google Cloud Dialogflow Cx V3 Client - Class ClientCertificateSettings (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ClientCertificateSettings.

Settings for custom client certificates.

Generated from protobuf message `google.cloud.dialogflow.cx.v3.Agent.ClientCertificateSettings`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3 \\ Agent

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ssl_certificate` | `string` Required. The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. |
| `↳ private_key` | `string` Required. The name of the SecretManager secret version resource storing the private key encoded in PEM format. Format: `projects/{project}/secrets/{secret}/versions/{version}` |
| `↳ passphrase` | `string` Optional. The name of the SecretManager secret version resource storing the passphrase. 'passphrase' should be left unset if the private key is not encrypted. Format: `projects/{project}/secrets/{secret}/versions/{version}` |

### getSslCertificate

Required. The ssl certificate encoded in PEM format. This string must
include the begin header and end footer lines.

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

### setSslCertificate

Required. The ssl certificate encoded in PEM format. This string must
include the begin header and end footer lines.

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

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

### getPrivateKey

Required. The name of the SecretManager secret version resource storing
the private key encoded in PEM format. Format:
`projects/{project}/secrets/{secret}/versions/{version}`

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

### setPrivateKey

Required. The name of the SecretManager secret version resource storing
the private key encoded in PEM format. Format:
`projects/{project}/secrets/{secret}/versions/{version}`

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

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

### getPassphrase

Optional. The name of the SecretManager secret version resource storing
the passphrase. 'passphrase' should be left unset if the private key is
not encrypted.

Format: `projects/{project}/secrets/{secret}/versions/{version}`

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

### setPassphrase

Optional. The name of the SecretManager secret version resource storing
the passphrase. 'passphrase' should be left unset if the private key is
not encrypted.

Format: `projects/{project}/secrets/{secret}/versions/{version}`

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

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