v1

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

Creates a Connection.

post/v2/{+parent}/connections

Path parameters

parentstring required

Required. Project and location where the connection will be created. Format: projects/*/locations/*.

Query parameters

connectionIdstring

Required. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique per-project per-location. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.

Request body

disabledboolean

Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.

reconcilingboolean

Output only. Set to true when the connection is being set up or updated in the background.

namestring

Immutable. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}.

annotationsobject

Optional. Allows clients to store small amounts of arbitrary data.

updateTimestring google-datetime

Output only. Server assigned timestamp for when the connection was updated.

createTimestring google-datetime

Output only. Server assigned timestamp for when the connection was created.

etagstring

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Response

Successful response