הפונקציה משתמשת ב-RFC 3339, והפלט שנוצר תמיד יהיה מנורמל ל-Z וישתמש ב-0, 3, 6 או 9 ספרות חלקיות. אפשר להשתמש גם בהיסטים אחרים חוץ מ-Z. דוגמאות: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" או "2014-10-02T15:01:23+05:30".
RoleAndView
wrapper לתפקיד ולתצוגה של הצעה לגישה. מידע נוסף זמין במאמר בנושא תפקידים והרשאות.
ייצוג ב-JSON
{"role": string,"view": string}
שדות
role
string
התפקיד שהוצע על ידי מגיש הבקשה. הערכים הנתמכים הם:
writer
commenter
reader
view
string
מציין את התצוגה של ההצעה הזו לגישה. השדה הזה מאוכלס רק בהצעות ששייכות לתצוגה. יש תמיכה רק ב-published.
[[["התוכן קל להבנה","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-09-09 (שעון UTC)."],[],[],null,["- [Resource: AccessProposal](#AccessProposal)\n - [JSON representation](#AccessProposal.SCHEMA_REPRESENTATION)\n- [RoleAndView](#RoleAndView)\n - [JSON representation](#RoleAndView.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AccessProposal Manage outstanding access proposals on a file.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"fileId\": string, \"proposalId\": string, \"requesterEmailAddress\": string, \"recipientEmailAddress\": string, \"rolesAndViews\": [ { object (/workspace/drive/api/reference/rest/v3/accessproposals#RoleAndView) } ], \"requestMessage\": string, \"createTime\": string } ``` |\n\n| Fields ||\n|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `fileId` | `string` The file ID that the proposal for access is on. |\n| `proposalId` | `string` The ID of the access proposal. |\n| `requesterEmailAddress` | `string` The email address of the requesting user. |\n| `recipientEmailAddress` | `string` The email address of the user that will receive permissions, if accepted. |\n| `rolesAndViews[]` | `object (`[RoleAndView](/workspace/drive/api/reference/rest/v3/accessproposals#RoleAndView)`)` A wrapper for the role and view of an access proposal. For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles). |\n| `requestMessage` | `string` The message that the requester added to the proposal. |\n| `createTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` The creation time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n\nRoleAndView A wrapper for the role and view of an access proposal. For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles).\n\n| JSON representation |\n|--------------------------------------------|\n| ``` { \"role\": string, \"view\": string } ``` |\n\n| Fields ||\n|--------|------------------------------------------------------------------------------------------------------------------------------------------|\n| `role` | `string` The role that was proposed by the requester. The supported values are: - `writer` - `commenter` - `reader` |\n| `view` | `string` Indicates the view for this access proposal. Only populated for proposals that belong to a view. Only `published` is supported. |\n\n| Methods ||\n|---------------------------------------------------------------------------|----------------------------------------|\n| [get](/workspace/drive/api/reference/rest/v3/accessproposals/get) | Retrieves an access proposal by ID. |\n| [list](/workspace/drive/api/reference/rest/v3/accessproposals/list) | List the access proposals on a file. |\n| [resolve](/workspace/drive/api/reference/rest/v3/accessproposals/resolve) | Approves or denies an access proposal. |"]]