Sets the MIME types included in the view. Use commas to separate MIME types if more than one is required. If you don't set MIME types, files of all MIME types are displayed in the view. (Inherited from View)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-20 UTC."],[],[],null,["Use `DocsView` to select files from Google Drive.\n\nSignature \n\n export class DocsView extends View\n\nHeritage\n\n| Extends | [View](./picker.view.md) |\n|---------|--------------------------|\n\nDetails\n\n| Final | No |\n|-------|----|\n\nConstructors\n\n| Name | Description |\n|------------------------------------------------------------|---------------------------------------------------|\n| [`(constructor)(viewId)`](./picker.docsview._constructor_) | Constructs a new instance of the `DocsView` class |\n\nMethods\n\n| Name | Description |\n|-------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [`getId()`](./picker.view.getid.md) | Returns the `ViewId` of the view. *(Inherited from [`View`](./picker.view))* |\n| [~~`getLabel()`~~](./picker.view.getlabel.md) | *(Deprecated)* *(Inherited from [`View`](./picker.view))* |\n| [`setEnableDrives(enabled)`](./picker.docsview.setenabledrives) | Shows shared drives and the files they contain. Before enabling, refer to [GoogleDrive API documentation for enabling shared drives](/workspace/drive/v3/web/enable-shareddrives). |\n| [`setFileIds(fileIds)`](./picker.docsview.setfileids) | Sets the file IDs included in the view. |\n| [`setIncludeFolders(included)`](./picker.docsview.setincludefolders) | Show folders in the view items. |\n| [~~`setLabel(label)`~~](./picker.view.setlabel.md) | *(Deprecated)* *(Inherited from [`View`](./picker.view))* |\n| [`setMimeTypes(mimeTypes)`](./picker.view.setmimetypes.md) | Sets the MIME types included in the view. Use commas to separate MIME types if more than one is required. If you don't set MIME types, files of all MIME types are displayed in the view. *(Inherited from [`View`](./picker.view))* |\n| [`setMode(mode)`](./picker.docsview.setmode) | Selects which mode the view will use to display the documents. |\n| [`setOwnedByMe(me)`](./picker.docsview.setownedbyme) | Filters the documents based on whether they are owned by the user, or shared with the user. |\n| [`setParent(parentId)`](./picker.docsview.setparent) | Sets the initial parent folder to display. |\n| [`setQuery(query)`](./picker.view.setquery.md) | For views involving searches, prepopulate the search query with these terms. *(Inherited from [`View`](./picker.view))* |\n| [`setSelectFolderEnabled(enabled)`](./picker.docsview.setselectfolderenabled) | Allows the user to select a folder in Google Drive. |\n| [`setStarred(starred)`](./picker.docsview.setstarred) | Filters the documents based on whether they are starred by the user. |"]]