- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Creates a Connection.
HTTP request
POST https://cloudbuild.googleapis.com/v2/{parent=projects/*/locations/*}/connections
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent
|
Required. Project and location where the connection will be created. Format: |
Query parameters
| Parameters | |
|---|---|
connectionId
|
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
The request body contains an instance of Connection
.
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 .
IAM Permissions
Requires the following IAM
permission on the parent
resource:
-
cloudbuild.connections.create
For more information, see the IAM documentation .

