repositories_git_refs
Creates, updates, deletes, gets or lists a repositories_git_refs
resource.
Overview
Name | repositories_git_refs |
Type | Resource |
Id | google.cloudbuild.repositories_git_refs |
Fields
Name | Datatype | Description |
---|---|---|
nextPageToken | string | A token identifying a page of results the server should return. |
refNames | array | Name of the refs fetched. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_connections_repositories_fetch_git_refs | SELECT | connectionsId, locationsId, projectsId, repositoriesId | Fetch 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.cloudbuild.repositories_git_refs
WHERE connectionsId = '{{ connectionsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND repositoriesId = '{{ repositoriesId }}';