Skip to main content

git_repository_links_git_refs

Creates, updates, deletes, gets or lists a git_repository_links_git_refs resource.

Overview

Namegit_repository_links_git_refs
TypeResource
Idgoogle.developerconnect.git_repository_links_git_refs

Fields

NameDatatypeDescription
nextPageTokenstringA token identifying a page of results the server should return.
refNamesarrayName of the refs fetched.

Methods

NameAccessible byRequired ParamsDescription
fetch_git_refsSELECTconnectionsId, gitRepositoryLinksId, locationsId, projectsIdFetch the list of branches or tags for a given repository.

SELECT examples

Fetch the list of branches or tags for a given repository.

SELECT
nextPageToken,
refNames
FROM google.developerconnect.git_repository_links_git_refs
WHERE connectionsId = '{{ connectionsId }}'
AND gitRepositoryLinksId = '{{ gitRepositoryLinksId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';