1.0.0-beta09 (latest) 1.0.0-beta08

    public sealed class ClientCertificateSettings : IMessage<ClientCertificateSettings>, IEquatable<ClientCertificateSettings>, IDeepCloneable<ClientCertificateSettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class ClientCertificateSettings.

Settings for custom client certificates.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ClientCertificateSettings

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ClientCertificateSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.ClientCertificateSettings), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ClientCertificateSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.ClientCertificateSettings), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ClientCertificateSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.ClientCertificateSettings), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta)

## Assembly

Google.Cloud.Ces.V1Beta.dll

## Constructors

### ClientCertificateSettings()

    public ClientCertificateSettings()

### ClientCertificateSettings(ClientCertificateSettings)

    public ClientCertificateSettings(ClientCertificateSettings other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.ClientCertificateSettings` |

## Properties

### Passphrase

    public string Passphrase { get; set; }

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}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PrivateKey

    public string PrivateKey { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PrivateKeyAsSecretVersionName

    public SecretVersionName PrivateKeyAsSecretVersionName { get; set; }

[SecretVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.SecretVersionName)-typed view over the [PrivateKey](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.ClientCertificateSettings#Google_Cloud_Ces_V1Beta_ClientCertificateSettings_PrivateKey) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.SecretVersionName` |   |

### TlsCertificate

    public string TlsCertificate { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |