Method: projects.locations.connectClusters.connectors.create

Creates a new connector in a given Connect cluster.

HTTP request

POST https://managedkafka.googleapis.com/v1/{parent=projects/*/locations/*/connectClusters/*}/connectors

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent Connect cluster in which to create the connector. Structured like projects/{project}/locations/{location}/connectClusters/{connectClusterId}.

Query parameters

Parameters
connectorId

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.

Request body

The request body contains an instance of Connector.

Response body

If successful, the response body contains a newly created instance of Connector.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • managedkafka.connectors.create

For more information, see the IAM documentation.