# Class FetchTreeRequest (0.6.0)

0.6.0 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.17

    FetchTreeRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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. |