Skip to main content

repositories_tree

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

Overview​

Namerepositories_tree
TypeResource
Idgoogle.securesourcemanager.repositories_tree

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
nextPageTokenstringA token identifying a page of results the server should return.
treeEntriesarrayThe list of TreeEntry objects.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
fetch_treeselectprojectsId, locationsId, repositoriesIdpageSize, pageToken, recursive, refFetches a tree from a repository.

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
pageSizeinteger (int32)
pageTokenstring
recursiveboolean
refstring

SELECT examples​

Fetches a tree from a repository.

SELECT
nextPageToken,
treeEntries
FROM google.securesourcemanager.repositories_tree
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND repositoriesId = '{{ repositoriesId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND recursive = '{{ recursive }}'
AND ref = '{{ ref }}'
;