0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class ClientCertificateSettings.

Settings for custom client certificates.

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

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ tls_certificate` | `string` Required. The TLS 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 to decrypt the private key. Should be left unset if the private key is not encrypted. Format: `projects/{project}/secrets/{secret}/versions/{version}` |

### getTlsCertificate

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

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

### setTlsCertificate

Required. The TLS 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 to decrypt the private key. 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 to decrypt the private key. 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` |   |