Stay organized with collections
Save and categorize content based on your preferences.
To use the Data Transfer API, you define a transfer and then initiate
it using the insert method. The transfer is defined in terms of one or more
applications whose data will be transferred, and can include
application-specific parameters.
The following is a high-level summary of the transfer process:
Determine the applications for which you want to transfer data.
Define a
DataTransfer resource
that specifies the source and destination users and the applications for
which to transfer data.
For example, the following JSON request body transfers a calendar from
the source user (SOURCE_USER_ID) to the destination user
(DESTINATION_USER_ID). You can retrieve the user IDs for
each owner by calling the
user.get() method
of the Directory API and providing their email address or email alias.
The Data Transfer API includes additional methods and resources to
help you construct and administer transfers, allowing you to do things like
the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 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"]]