קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
כדי להשתמש ב-Data Transfer API, צריך להגדיר העברה ולהתחיל אותה בשיטה insert. ההעברה מוגדרת לפי אפליקציה אחת או יותר שהנתונים שלהן יועברו, והיא יכולה לכלול פרמטרים ספציפיים לאפליקציה.
לפניכם סיכום כללי של תהליך ההעברה:
בוחרים את האפליקציות שעבורן רוצים להעביר נתונים.
מגדירים משאב DataTransfer שמציין את המשתמשים במקור וביעד ואת האפליקציות שאליהן יועברו הנתונים.
לדוגמה, גוף בקשת ה-JSON הבא מעביר יומן ממשתמש המקור (SOURCE_USER_ID) למשתמש היעד (DESTINATION_USER_ID). אפשר לאחזר את מזהי המשתמשים של כל בעלים באמצעות קריאה ל-method user.get() של ה-Directory API וציון כתובת האימייל או כתובת האימייל החלופית שלו.
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 2023-09-14 (שעון UTC)."],[[["The Data Transfer API allows you to transfer data between users for specific applications, such as calendars, by defining a transfer and initiating it with the `insert` method."],["You need to define a `DataTransfer` resource which identifies the source and destination users, along with the applications and their parameters for data transfer."],["The process involves determining the applications, defining the transfer resource, and initiating the transfer using the `insert()` method."],["You can use the Data Transfer API to list available applications, retrieve application details, and manage transfer requests by listing or getting them based on user or status."]]],[]]