[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-07-25 UTC."],[],[],null,["# Method DocsView.setEnableDrives\n\nShows shared drives and the files they contain. Before enabling, refer to\n[GoogleDrive API documentation for enabling shared drives](/workspace/drive/v3/web/enable-shareddrives).\n\nIf `true`, only shared drives are included in the view.\n\nDon't combine this setting with `setParent` or `setFileIds`. Calls to this\nfunction override previous calls to `setParent` or `setFileIds`.\n\nDon't combine this setting with `setOwnedByMe`. When `setEnableDrives(true)`\nand `setOwnedByMe(true)` are set, there are no results.\n\nDon't combine this setting with `setStarred`. When `setEnableDrives(true)` is\nset, `setStarred` is ignored.\n\nSignature\n---------\n\n setEnableDrives(enabled: boolean): DocsView;\n\nDetails\n-------\n\n| Optional | No |\n| Final | No |\n| Protected | No |\n| Static | No |\n|-----------|----|\n\nParameters\n----------\n\n| Name | Type | Optional | Description |\n|-----------|-----------|----------|-------------|\n| `enabled` | `boolean` | No | |\n\nReturns\n-------\n\n[DocsView](./picker.docsview)"]]