با مجموعهها، منظم بمانید
ذخیره و دستهبندی محتوا براساس اولویتهای شما.
برای استفاده از Data Transfer API، یک انتقال تعریف میکنید و سپس آن را با استفاده از روش insert شروع میکنید. انتقال بر حسب یک یا چند برنامه که دادههای آنها منتقل میشود، تعریف میشود و میتواند شامل پارامترهای خاص برنامه باشد.
در زیر خلاصه ای از فرآیند انتقال در سطح بالا آمده است:
برنامه هایی را که می خواهید داده ها را برای آنها انتقال دهید مشخص کنید.
یک منبع DataTransfer را تعریف کنید که کاربران مبدا و مقصد و برنامه هایی را که برای آنها انتقال داده می شود مشخص می کند.
برای مثال، بدنه درخواست JSON زیر یک تقویم را از کاربر مبدأ ( SOURCE_USER_ID ) به کاربر مقصد ( DESTINATION_USER_ID ) منتقل میکند. میتوانید شناسههای کاربری هر مالک را با فراخوانی متد user.get() در Directory API و ارائه آدرس ایمیل یا نام مستعار ایمیل آنها بازیابی کنید.
تاریخ آخرین بهروزرسانی 2024-08-26 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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"]],["تاریخ آخرین بهروزرسانی 2024-08-26 بهوقت ساعت هماهنگ جهانی."],[[["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."]]],["Define a data transfer by specifying source and destination users and the applications involved. This is done by creating a `DataTransfer` resource. Initiate the transfer using the `insert()` method. Retrieve user IDs via the Directory API's `user.get()` method. Additional actions include listing applications, retrieving application information, listing transfers, and retrieving transfer requests. Application-specific parameters can be included. An example is provided of transferring a calendar.\n"]]