v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132562112.4 KB
projects

Create a new ChannelConnection in a particular project and location.

post/v1/{+parent}/channelConnections

Path parameters

parentstring required

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

Query parameters

channelConnectionIdstring

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

Request body

uidstring

Output only. Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.

createTimestring google-datetime

Output only. The creation time.

updateTimestring google-datetime

Output only. The last-modified time.

activationTokenstring

Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.

namestring

Required. The name of the connection.

labelsobject

Optional. Resource labels.

channelstring

Required. The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in projects/{project}/location/{location}/channels/{channel_id} format.

Response

Successful response