v1

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

Creates a Repository.

post/v2/{+parent}/repositories

Path parameters

parentstring required

Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.

Query parameters

repositoryIdstring

Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.

Request body

annotationsobject

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

namestring

Immutable. Resource name of the repository, in the format projects/*/locations/*/connections/*/repositories/*.

updateTimestring google-datetime

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

remoteUristring

Required. Git Clone HTTPS URI.

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.

webhookIdstring

Output only. External ID of the webhook created for the repository.

Response

Successful response