base_list_files: Get the list of files from Googledrive

Description Usage Arguments

View source: R/files.R

Description

Utilizes the list_files Google Drive API endpoint to retrieves files and folder details.

This function provides the raw functionality of full access to the list_files API endpoint but is not the recommended way of accessing the API. It would be better to use the higher level functions provided within this package to access the files/folders/data that you need.

Usage

1
2
base_list_files(q = NULL, page_size = NULL, page_token = NULL,
  order_by = NULL, spaces = NULL, corpus = NULL)

Arguments

q

Optional. A query for filtering the file results. See the "Search for Files" guide for supported syntax.

page_size

Optional. The maximum number of files to return per page. Acceptable values are 1 to 1000, inclusive. (Default: 100)

page_token

Optional. The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.

order_by

Optional. A comma-separated list of sort keys. Valid keys are 'createdTime', 'folder', 'modifiedByMeTime', 'modifiedTime', 'name', 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', and 'viewedByMeTime'. Each key sorts ascending by default, but may be reversed with the 'desc' modifier. Example usage: ?order_by=folder,modifiedTime desc,name.

spaces

Optional. A comma-separated list of spaces to query within the corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.

corpus

Optional. The source of files to list. Acceptable values are domain and user


hairizuanbinnoorazman/googledrive documentation built on May 17, 2019, 2:25 p.m.