שיטה DocsView.setOwnerByMe
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
סינון המסמכים לפי הבעלות שלהם: אם הם בבעלות המשתמש או אם הם משותפים איתו.
לא כדאי לשלב את ההגדרה הזו עם setEnableDrives
. כשהשדות setEnableDrives(true)
ו-setOwnedByMe(true)
מוגדרים, אין תוצאות.
אם לא תגדירו את האפשרות הזו, כל המסמכים, כולל מסמכים משותפים, יוצגו בתצוגה.
חתימה
setOwnedByMe(me: boolean): DocsView;
פרטים
אופציונלי |
לא |
גמר |
לא |
מוגן |
לא |
סטטי |
לא |
פרמטרים
שם |
סוג |
אופציונלי |
תיאור |
me |
boolean |
לא |
|
החזרות
DocsView
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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)"]]