ListResources Method
Lists the files and folders for the current user.
Object Oriented Interface
public function doListResources();
Procedural Interface
incloudstorage_googledrive_do_listresources($res);
Remarks
This method lists all files and folders for the current user. After this method returns the Resource* properties will be populated with information about the files and folders.
Set ResourceIndex to a value from 0 to ResourceCount - 1 to select a resource.
Google treats files and folders in the same way. Folders are included when listing files with ListResources. The ResourceType property can be used to determine if a file is a folder or a file. To list, delete, or update a folder use the ListResources, DeleteResource, and UpdateResource methods.
By default both files and folders are returned. To list only folders set the IncludeFiles configuration setting to False.