v1

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

Updates a single connection.

patch/v2/{+name}

Path parameters

namestring required

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

Query parameters

allowMissingboolean

If set to true, and the connection is not found a new connection will be created. In this situation update_mask is ignored. The creation will succeed only if the input connection has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties).

etagstring

The current etag of the connection. If an etag is provided and does not match the current etag of the connection, update will be blocked and an ABORTED error will be returned.

updateMaskstring

The list of fields to be updated.

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