repositories_remote_branches
Creates, updates, deletes, gets or lists a repositories_remote_branches resource.
Overview
| Name | repositories_remote_branches |
| Type | Resource |
| Id | google.dataform.repositories_remote_branches |
Fields
The following fields are returned by SELECT queries:
- fetch_remote_branches
| Name | Datatype | Description |
|---|---|---|
branches | array | The remote repository's branch names. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
fetch_remote_branches | select | projectsId, locationsId, repositoriesId | Fetches 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.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
projectsId | string | |
repositoriesId | string |
SELECT examples
- fetch_remote_branches
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
;