[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],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)"]]