Method: projects.locations.channelConnections.create

Create a new ChannelConnection in a particular project and location.

HTTP request

POST https://eventarc.googleapis.com/v1/{parent=projects/*/locations/*}/channelConnections

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent collection in which to add this channel connection.

Authorization requires the following IAM permission on the specified resource parent:

  • eventarc.channelConnections.create

Query parameters

Parameters
channelConnectionId

string

Required. The user-provided ID to be assigned to the channel connection.

Request body

The request body contains an instance of ChannelConnection.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.