Skip to main content

repositories_remote_branches

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

Overview

Namerepositories_remote_branches
TypeResource
Idgoogle.dataform.repositories_remote_branches

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
branchesarrayThe remote repository's branch names.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
fetch_remote_branchesselectprojectsId, locationsId, repositoriesIdFetches a Repository's remote branches.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
repositoriesIdstring

SELECT examples

Fetches a Repository's remote branches.

SELECT
branches
FROM google.dataform.repositories_remote_branches
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND repositoriesId = '{{ repositoriesId }}' -- required;