2.13.0 (latest) 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

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

Reference documentation and code samples for the DataStream v1 API class MongodbSslConfig.

MongoDB SSL configuration information.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[MongodbSslConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.MongodbSslConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MongodbSslConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.MongodbSslConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[MongodbSslConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.MongodbSslConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Datastream.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.md.txt)

## Assembly

Google.Cloud.Datastream.V1.dll

## Constructors

### MongodbSslConfig()

    public MongodbSslConfig()

### MongodbSslConfig(MongodbSslConfig)

    public MongodbSslConfig(MongodbSslConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `MongodbSslConfig` |

## Properties

### CaCertificate

    public string CaCertificate { get; set; }

Optional. Input only. PEM-encoded certificate of the CA that signed the
source database server's certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### CaCertificateSet

    public bool CaCertificateSet { get; set; }

Output only. Indicates whether the ca_certificate field is set.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### ClientCertificate

    public string ClientCertificate { get; set; }

Optional. Input only. PEM-encoded certificate that will be used by the
replica to authenticate against the source database server. If this field
is used then the 'client_key' and the 'ca_certificate' fields are
mandatory.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ClientCertificateSet

    public bool ClientCertificateSet { get; set; }

Output only. Indicates whether the client_certificate field is set.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### ClientKey

    public string ClientKey { get; set; }

Optional. Input only. PEM-encoded private key associated with the Client
Certificate. If this field is used then the 'client_certificate' and the
'ca_certificate' fields are mandatory.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ClientKeySet

    public bool ClientKeySet { get; set; }

Output only. Indicates whether the client_key field is set.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### SecretManagerStoredClientKey

    public string SecretManagerStoredClientKey { get; set; }

Optional. Input only. A reference to a Secret Manager resource name storing
the PEM-encoded private key associated with the Client Certificate. If this
field is used then the 'client_certificate' and the 'ca_certificate' fields
are mandatory. Mutually exclusive with the `client_key` field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |