public sealed class MysqlSourceConfig : IMessage<MysqlSourceConfig>, IEquatable<MysqlSourceConfig>, IDeepCloneable<MysqlSourceConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the DataStream v1alpha1 API class MysqlSourceConfig.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eMysqlSourceConfig\u003c/code\u003e class in the Google Cloud Datastream v1alpha1 API provides configuration for MySQL sources.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, enhancing its functionality.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two constructors, one default and another that allows for creating a copy from an existing \u003ccode\u003eMysqlSourceConfig\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe class features properties for \u003ccode\u003eAllowlist\u003c/code\u003e and \u003ccode\u003eRejectlist\u003c/code\u003e, enabling the specification of which MySQL objects to include or exclude from a data stream, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is \u003ca href=\"https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.MysqlSourceConfig\"\u003e2.0.0-alpha05\u003c/a\u003e which represents the \u003ccode\u003eMysqlSourceConfig\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# DataStream v1alpha1 API - Class MysqlSourceConfig (2.0.0-alpha05)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-alpha05 (latest)](/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.MysqlSourceConfig)\n- [2.0.0-alpha04](/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/2.0.0-alpha04/Google.Cloud.Datastream.V1Alpha1.MysqlSourceConfig)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/1.0.0-beta02/Google.Cloud.Datastream.V1Alpha1.MysqlSourceConfig) \n\n public sealed class MysqlSourceConfig : IMessage\u003cMysqlSourceConfig\u003e, IEquatable\u003cMysqlSourceConfig\u003e, IDeepCloneable\u003cMysqlSourceConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the DataStream v1alpha1 API class MysqlSourceConfig.\n\nMySQL source configuration \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MysqlSourceConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MysqlSourceConfig](/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.MysqlSourceConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MysqlSourceConfig](/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.MysqlSourceConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MysqlSourceConfig](/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1.MysqlSourceConfig), [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.V1Alpha1](/dotnet/docs/reference/Google.Cloud.Datastream.V1Alpha1/latest/Google.Cloud.Datastream.V1Alpha1)\n\nAssembly\n--------\n\nGoogle.Cloud.Datastream.V1Alpha1.dll\n\nConstructors\n------------\n\n### MysqlSourceConfig()\n\n public MysqlSourceConfig()\n\n### MysqlSourceConfig(MysqlSourceConfig)\n\n public MysqlSourceConfig(MysqlSourceConfig other)\n\nProperties\n----------\n\n### Allowlist\n\n public MysqlRdbms Allowlist { get; set; }\n\nMySQL objects to retrieve from the source.\n\n### Rejectlist\n\n public MysqlRdbms Rejectlist { get; set; }\n\nMySQL objects to exclude from the stream."]]