# Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::V1::CreateConnectorRequest (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.0 1.1.2 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::CreateConnectorRequest.

Request for CreateConnector.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #connector

    def connector() -> ::Google::Cloud::ManagedKafka::V1::Connector

**Returns**

- ([::Google::Cloud::ManagedKafka::V1::Connector](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-Connector)) --- Required. The connector to create.

### #connector=

    def connector=(value) -> ::Google::Cloud::ManagedKafka::V1::Connector

**Parameter**

- **value** ([::Google::Cloud::ManagedKafka::V1::Connector](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-Connector)) --- Required. The connector to create.
**Returns**

- ([::Google::Cloud::ManagedKafka::V1::Connector](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-Connector)) --- Required. The connector to create.

### #connector_id

    def connector_id() -> ::String

**Returns**

- (::String) --- 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.


  This value is structured like: `my-connector-id`.

### #connector_id=

    def connector_id=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.


  This value is structured like: `my-connector-id`.
**Returns**

- (::String) --- 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.


  This value is structured like: `my-connector-id`.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent Connect cluster in which to create the connector. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent Connect cluster in which to create the connector. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.
**Returns**

- (::String) --- Required. The parent Connect cluster in which to create the connector. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.