たとえば、次の JSON リクエスト本文では、カレンダーを移行元ユーザー(SOURCE_USER_ID)から移行先ユーザー(DESTINATION_USER_ID)に転送します。Directory API の user.get() メソッドを呼び出し、ユーザーのメールアドレスまたはメール エイリアスを指定することで、各オーナーのユーザー ID を取得できます。
[null,null,["最終更新日 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."]]],["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"]]