Request message for fetching a tree structure from a
repository.
Attributes
Name
Description
repository
str
Required. The format is
projects/{project_number}/locations/{location_id}/repositories/{repository_id}.
Specifies the repository to fetch the tree from.
ref
str
Optional. ref can be a SHA-1 hash, a branch name, or a
tag. Specifies which tree to fetch. If not specified, the
default branch will be used.
recursive
bool
Optional. If true, include all subfolders and
their files in the response. If false, only the
immediate children are returned.
page_size
int
Optional. Requested page size. Server may
return fewer items than requested. If
unspecified, at most 10,000 items will be
returned.
page_token
str
Optional. A token identifying a page of
results the server should return.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class FetchTreeRequest (0.1.17)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.17 (latest)](/python/docs/reference/securesourcemanager/latest/google.cloud.securesourcemanager_v1.types.FetchTreeRequest)\n- [0.1.16](/python/docs/reference/securesourcemanager/0.1.16/google.cloud.securesourcemanager_v1.types.FetchTreeRequest) \n\n FetchTreeRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nRequest message for fetching a tree structure from a\nrepository."]]