- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- FolderContentsEntry
- Try it!
Returns the contents of a given Folder.
HTTP request
GET https://dataform.googleapis.com/v1beta1/{folder=projects/*/locations/*/folders/*}:queryFolderContents
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
folder |
Required. Name of the folder whose contents to list. Format: projects/*/locations/*/folders/* |
Query parameters
| Parameters | |
|---|---|
pageSize |
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 |
Optional. Page token received from a previous When paginating, all other parameters provided to |
orderBy |
Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by |
filter |
Optional. Optional filtering for the returned list. Filtering is currently only supported on the Example: - |
Request body
The request body must be empty.
Response body
folders.queryFolderContents response message.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"entries": [
{
object ( |
| Fields | |
|---|---|
entries[] |
List of entries in the folder. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/bigquery
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the folder resource:
dataform.folders.queryContents
For more information, see the IAM documentation.
FolderContentsEntry
Represents a single content entry.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field entry. The content entry. entry can be only one of the following: |
|
folder |
A subfolder. |
repository |
A repository. |