- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- TeamFolderContentsEntry
- Try it!
Returns the contents of a given TeamFolder.
HTTP request
GET https://dataform.googleapis.com/v1/{teamFolder=projects/*/locations/*/teamFolders/*}:queryContents
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
teamFolder
|
Required. Resource name of the TeamFolder to list contents for. Format: |
Query parameters
pageSize
integer
Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
pageToken
string
Optional. Page token received from a previous teamFolders.queryContents
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to teamFolders.queryContents
, with the exception of pageSize
, must match the call that provided the page token.
orderBy
string
Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by orderBy
in ascending order. Supported keywords: displayName
(default), createTime
, last_modified_time. Examples:
-
orderBy="displayName" -
orderBy="displayName desc"
filter
string
Optional. Optional filtering for the returned list. Filtering is currently only supported on the displayName
field.
Example:
-
filter="displayName="MyFolder""
Request body
The request body must be empty.
Response body
teamFolders.queryContents
response message.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"entries"
:
[
{
object (
|
| Fields | |
|---|---|
entries[]
|
List of entries in the TeamFolder. |
nextPageToken
|
A token, which can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
-
https://www.googleapis.com/auth/cloud-platform -
https://www.googleapis.com/auth/bigquery
For more information, see the Authentication Overview .
IAM Permissions
Requires the following IAM
permission on the teamFolder
resource:
-
dataform.folders.queryContents
For more information, see the IAM documentation .
TeamFolderContentsEntry
Represents a single content entry.
| JSON representation |
|---|
{ // Union field |
entry
. The content entry. entry
can be only one of the following:folder
object (
Folder
)
A subfolder.
repository
object (
Repository
)
A repository.

