public sealed class CreateConnectorRequest : IMessage<CreateConnectorRequest>, IEquatable<CreateConnectorRequest>, IDeepCloneable<CreateConnectorRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Managed Service for Apache Kafka API v1 API class CreateConnectorRequest.
Required. The ID to use for the connector, which will become the final
component of the connector's name. The ID must be 1-63 characters long, and
match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? to comply with
RFC 1035.
Required. The parent Connect cluster in which to create the connector.
Structured like
projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}.
[[["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."],[],[],null,["# Managed Service for Apache Kafka API v1 API - Class CreateConnectorRequest (1.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.CreateConnectorRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/1.0.0-beta06/Google.Cloud.ManagedKafka.V1.CreateConnectorRequest) \n\n public sealed class CreateConnectorRequest : IMessage\u003cCreateConnectorRequest\u003e, IEquatable\u003cCreateConnectorRequest\u003e, IDeepCloneable\u003cCreateConnectorRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Managed Service for Apache Kafka API v1 API class CreateConnectorRequest.\n\nRequest for CreateConnector. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateConnectorRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateConnectorRequest](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.CreateConnectorRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateConnectorRequest](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.CreateConnectorRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateConnectorRequest](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.CreateConnectorRequest), [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.ManagedKafka.V1](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.ManagedKafka.V1.dll\n\nConstructors\n------------\n\n### CreateConnectorRequest()\n\n public CreateConnectorRequest()\n\n### CreateConnectorRequest(CreateConnectorRequest)\n\n public CreateConnectorRequest(CreateConnectorRequest other)\n\nProperties\n----------\n\n### Connector\n\n public Connector Connector { get; set; }\n\nRequired. The connector to create.\n\n### ConnectorId\n\n public string ConnectorId { get; set; }\n\nRequired. The ID to use for the connector, which will become the final\ncomponent of the connector's name. The ID must be 1-63 characters long, and\nmatch the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` to comply with\nRFC 1035.\n\nThis value is structured like: `my-connector-id`.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent Connect cluster in which to create the connector.\nStructured like\n`projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.\n\n### ParentAsConnectClusterName\n\n public ConnectClusterName ParentAsConnectClusterName { get; set; }\n\n[ConnectClusterName](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.ConnectClusterName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.CreateConnectorRequest#Google_Cloud_ManagedKafka_V1_CreateConnectorRequest_Parent) resource name property."]]