v1

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

Creates a new Connection in a given project and location.

post/v1/{+parent}/connections

Path parameters

parentstring required

Required. Value for parent.

Query parameters

connectionIdstring

Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC

requestIdstring

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

validateOnlyboolean

Optional. If set, validate the request, but do not actually post it.

Request body

deleteTimestring google-datetime

Output only. [Output only] Delete timestamp

updateTimestring google-datetime

Output only. [Output only] Update timestamp

namestring

Identifier. 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.

uidstring

Output only. A system-assigned unique identifier for the Connection.

etagstring

Optional. 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.

labelsobject

Optional. Labels as key value pairs

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.

createTimestring google-datetime

Output only. [Output only] Create timestamp

Response

Successful response