---
title: "POST /v1/{+parent}/gitRepositoryLinks"
method: POST
path: "/v1/{+parent}/gitRepositoryLinks"
tags: ["projects"]
---

# POST /v1/{+parent}/gitRepositoryLinks

`POST /v1/{+parent}/gitRepositoryLinks`

Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. Connections that use Gemini Code Assist will have events forwarded to Gemini Code Assist service. All other Connections will have events forwarded to Cloud Build.

## Path parameters

- `parent` string, required

## Query parameters

- `gitRepositoryLinkId` string
- `requestId` string
- `validateOnly` boolean

## Request body

- GitRepositoryLink — Message describing the GitRepositoryLink object
  - `deleteTime` string, google-datetime — Output only. [Output only] Delete timestamp
  - `webhookId` string — Output only. External ID of the webhook created for the repository.
  - `updateTime` string, google-datetime — Output only. [Output only] Update timestamp
  - `etag` string — 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.
  - `labels` object — Optional. Labels as key value pairs
  - `uid` string — Output only. A system-assigned unique identifier for the GitRepositoryLink.
  - `name` string — Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
  - `cloneUri` string — Required. Git Clone URI.
  - `annotations` object — Optional. Allows clients to store small amounts of arbitrary data.
  - `gitProxyUri` string — Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection.
  - `reconciling` boolean — Output only. Set to true when the connection is being set up or updated in the background.
  - `createTime` string, google-datetime — Output only. [Output only] Create timestamp

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/developerconnect.md) · [All operations](https://skmtc.dev/google/apis/developerconnect/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/developerconnect/revisions/2526b3369dcc/schema)
