Apps Script

Class DocsList


Deprecated. The DocsList service was deprecated on December 11, 2014. To work with files in Google Drive, use the Drive service instead.

The DocsList service contains methods to create and retrieve files and folders. The get*ForPaging methods allow retrieval of large sets by providing a Token to paginate with.


 // This example creates a file called 'example file'
 DocsList.createFile('example file', 'example file contents');

Deprecated methods