Returns the contents of a given Workspace directory.
Path parameters
Required. The workspace's name.
Query parameters
Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
Optional. Page token received from a previous QueryDirectoryContents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to QueryDirectoryContents, with the exception of page_size, must match the call that provided the page token.
Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.
Optional. Specifies the metadata to return for each directory entry. If unspecified, the default is DIRECTORY_CONTENTS_VIEW_BASIC. Currently the DIRECTORY_CONTENTS_VIEW_METADATA view is not supported by CMEK-protected workspaces.
Response
Successful response