- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
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 |
Required. The parent Connect cluster in which to create the connector. Structured like |
Query parameters
Parameters | |
---|---|
connectorId |
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 This value is structured like: |
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.