Method DocsView.setEnableDrives

Shows shared drives and the files they contain. Before enabling, refer to GoogleDrive API documentation for enabling shared drives .

If true , only shared drives are included in the view.

Don't combine this setting with setParent or setFileIds . Calls to this function override previous calls to setParent or setFileIds .

Don't combine this setting with setOwnedByMe . When setEnableDrives(true) and setOwnedByMe(true) are set, there are no results.

Don't combine this setting with setStarred . When setEnableDrives(true) is set, setStarred is ignored.

Signature

  setEnableDrives 
 ( 
 enabled 
 : 
  
 boolean 
 ) 
 : 
  
 DocsView 
 ; 
 

Details

Optional No
Final No
Protected No
Static No

Parameters

Name Type Optional Description
enabled
boolean No

Returns

DocsView

Create a Mobile Website
View Site in Mobile | Classic
Share by: