メソッド DocsView.setOwnedByMe
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ユーザーが所有しているドキュメントと、ユーザーと共有されているドキュメントに基づいてドキュメントをフィルタします。
この設定を setEnableDrives
と組み合わせないでください。setEnableDrives(true)
と setOwnedByMe(true)
が設定されている場合、結果はありません。
このオプションを設定しない場合、共有ドキュメントを含むすべてのドキュメントがビューに表示されます。
署名
setOwnedByMe(me: boolean): DocsView;
詳細
省略可 |
いいえ |
決勝 |
いいえ |
保護 |
いいえ |
静的 |
いいえ |
パラメータ
名前 |
Type |
省略可能 |
説明 |
me |
boolean |
いいえ |
|
戻り値
DocsView
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# Method DocsView.setOwnedByMe\n\nFilters the documents based on whether they are owned by the user, or shared\nwith the user.\n\nDon't combine this setting with `setEnableDrives`. When `setEnableDrives(true)`\nand `setOwnedByMe(true)` are set, there are no results.\n\nIf you don't set this option, all documents, including shared documents, are\ndisplayed in the view.\n\nSignature\n---------\n\n setOwnedByMe(me: 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| `me` | `boolean` | No | |\n\nReturns\n-------\n\n[DocsView](./picker.docsview)"]]