メソッド DocsView.setOwnedByMe
ユーザーが所有しているドキュメントと、ユーザーと共有しているドキュメントに基づいてドキュメントをフィルタします。この設定を setIncludeFolders
と組み合わせないでください。setIncludeFolders(true)
が設定されていると、setOwnedByMe
は無視されます。
このオプションを設定しない場合、共有ドキュメントを含むすべてのドキュメントがビューに表示されます。
署名
setOwnedByMe(me: boolean): DocsView;
詳細
省略可 |
いいえ |
決勝 |
いいえ |
保護 |
いいえ |
静的 |
いいえ |
パラメータ
名前 |
Type |
省略可能 |
説明 |
me |
boolean |
いいえ |
|
戻り値
DocsView
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-08 UTC。
[null,null,["最終更新日 2024-11-08 UTC。"],[[["Filters documents in the view based on ownership (owned by the user or shared with them)."],["When `setIncludeFolders(true)` is used, the `setOwnedByMe` setting is disregarded."],["If this option is not configured, all documents, including shared ones, will be displayed."],["This method is not optional, final, protected, or static."],["Accepts a boolean parameter (`me`) to determine the filtering behavior and returns a DocsView object."]]],["This method filters documents displayed in the view. Setting `setOwnedByMe(true)` shows only user-owned documents; otherwise, shared documents are also included. This setting is overridden if `setIncludeFolders(true)` is set. The method requires a boolean parameter (`me`) to determine the filtering and returns a `DocsView` object. If not specified, all documents are included.\n"]]