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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eMysqlSslConfig\u003c/code\u003e class within the Google Cloud Datastream V1 API, specifically in the .NET context.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMysqlSslConfig\u003c/code\u003e class manages SSL configuration for MySQL databases, including properties for CA certificate, client certificate, and client key.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eMysqlSslConfig\u003c/code\u003e documentation available, ranging from version 1.0.0 to the latest 2.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMysqlSslConfig\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation specifies the usage of the properties within the \u003ccode\u003eMysqlSslConfig\u003c/code\u003e, specifically that \u003ccode\u003eCaCertificate\u003c/code\u003e, \u003ccode\u003eClientCertificate\u003c/code\u003e, and \u003ccode\u003eClientKey\u003c/code\u003e are input-only, while \u003ccode\u003eCaCertificateSet\u003c/code\u003e, \u003ccode\u003eClientCertificateSet\u003c/code\u003e, and \u003ccode\u003eClientKeySet\u003c/code\u003e are output only.\u003c/p\u003e\n"]]],[],null,["# DataStream v1 API - Class MysqlSslConfig (2.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.MysqlSslConfig)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.10.0/Google.Cloud.Datastream.V1.MysqlSslConfig)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.9.0/Google.Cloud.Datastream.V1.MysqlSslConfig)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.8.0/Google.Cloud.Datastream.V1.MysqlSslConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.7.0/Google.Cloud.Datastream.V1.MysqlSslConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.6.0/Google.Cloud.Datastream.V1.MysqlSslConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.5.0/Google.Cloud.Datastream.V1.MysqlSslConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.4.0/Google.Cloud.Datastream.V1.MysqlSslConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.3.0/Google.Cloud.Datastream.V1.MysqlSslConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.2.0/Google.Cloud.Datastream.V1.MysqlSslConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.1.0/Google.Cloud.Datastream.V1.MysqlSslConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.0.0/Google.Cloud.Datastream.V1.MysqlSslConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/1.0.0/Google.Cloud.Datastream.V1.MysqlSslConfig) \n\n public sealed class MysqlSslConfig : IMessage\u003cMysqlSslConfig\u003e, IEquatable\u003cMysqlSslConfig\u003e, IDeepCloneable\u003cMysqlSslConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the DataStream v1 API class MysqlSslConfig.\n\nMySQL SSL configuration information. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MysqlSslConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MysqlSslConfig](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.MysqlSslConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MysqlSslConfig](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.MysqlSslConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MysqlSslConfig](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.MysqlSslConfig), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Datastream.V1](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Datastream.V1.dll\n\nConstructors\n------------\n\n### MysqlSslConfig()\n\n public MysqlSslConfig()\n\n### MysqlSslConfig(MysqlSslConfig)\n\n public MysqlSslConfig(MysqlSslConfig other)\n\nProperties\n----------\n\n### CaCertificate\n\n public string CaCertificate { get; set; }\n\nInput only. PEM-encoded certificate of the CA that signed the source\ndatabase server's certificate.\n\n### CaCertificateSet\n\n public bool CaCertificateSet { get; set; }\n\nOutput only. Indicates whether the ca_certificate field is set.\n\n### ClientCertificate\n\n public string ClientCertificate { get; set; }\n\nOptional. Input only. PEM-encoded certificate that will be used by the\nreplica to authenticate against the source database server. If this field\nis used then the 'client_key' and the 'ca_certificate' fields are\nmandatory.\n\n### ClientCertificateSet\n\n public bool ClientCertificateSet { get; set; }\n\nOutput only. Indicates whether the client_certificate field is set.\n\n### ClientKey\n\n public string ClientKey { get; set; }\n\nOptional. Input only. PEM-encoded private key associated with the Client\nCertificate. If this field is used then the 'client_certificate' and the\n'ca_certificate' fields are mandatory.\n\n### ClientKeySet\n\n public bool ClientKeySet { get; set; }\n\nOutput only. Indicates whether the client_key field is set."]]