REST Resource: transfers
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób: DataTransfer
Zasób Transfer reprezentuje przeniesienie własności danych użytkownika między użytkownikami.
Zapis JSON |
{
"id": string,
"oldOwnerUserId": string,
"newOwnerUserId": string,
"applicationDataTransfers": [
{
object (ApplicationDataTransfer )
}
],
"overallTransferStatusCode": string,
"kind": string,
"etag": string,
"requestTime": string
} |
Pola |
id |
string
Tylko do odczytu. Identyfikator przesyłania.
|
oldOwnerUserId |
string
Identyfikator użytkownika, którego dane są przenoszone.
|
newOwnerUserId |
string
Identyfikator użytkownika, do którego są przenoszone dane.
|
applicationDataTransfers[] |
object (ApplicationDataTransfer )
Lista zasobów do przenoszenia danych w poszczególnych aplikacjach. Zawiera on szczegółowe informacje o aplikacjach powiązanych z tym zasobem transferu, a także określa aplikacje, w przypadku których przeniesienie danych musi zostać wykonane w momencie utworzenia zasobu transferu.
|
overallTransferStatusCode |
string
Tylko do odczytu. Ogólny stan przenoszenia.
|
kind |
string
Określa zasób jako żądanie DataTransfer.
|
etag |
string
ETag zasobu.
|
requestTime |
string
Tylko do odczytu. Czas, w którym wysłano prośbę o przeniesienie danych.
|
ApplicationDataTransfer
Szablon do mapowania pól zasobu ApplicationDataTransfer.
Zapis JSON |
{
"applicationId": string,
"applicationTransferParams": [
{
object (ApplicationTransferParam )
}
],
"applicationTransferStatus": string
} |
Pola |
applicationId |
string (int64 format)
Identyfikator aplikacji.
|
applicationTransferParams[] |
object (ApplicationTransferParam )
Parametry transferu aplikacji. Te parametry służą do wybierania danych, które zostaną przeniesione w kontekście tej aplikacji. Więcej informacji o wartościach dostępnych w przypadku poszczególnych aplikacji znajdziesz w artykule [GA4] Parametry transferu.
|
applicationTransferStatus |
string
Tylko do odczytu. Bieżący stan przenoszenia tej aplikacji.
|
Metody |
|
Pobiera żądanie dotyczące przenoszenia danych według identyfikatora zasobu. |
|
Wstawia prośbę o przeniesienie danych. |
|
Wyświetla listę przenoszonych danych klienta według użytkownika źródłowego, użytkownika docelowego lub stanu. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-24 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-24 UTC."],[],[],null,["# REST Resource: transfers\n\nResource: DataTransfer\n----------------------\n\nA Transfer resource represents the transfer of the ownership of user data between users.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"oldOwnerUserId\": string, \"newOwnerUserId\": string, \"applicationDataTransfers\": [ { object (/workspace/admin/data-transfer/reference/rest/v1/transfers#ApplicationDataTransfer) } ], \"overallTransferStatusCode\": string, \"kind\": string, \"etag\": string, \"requestTime\": string } ``` |\n\n| Fields ||\n|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` Read-only. The transfer's ID. |\n| `oldOwnerUserId` | `string` ID of the user whose data is being transferred. |\n| `newOwnerUserId` | `string` ID of the user to whom the data is being transferred. |\n| `applicationDataTransfers[]` | `object (`[ApplicationDataTransfer](/workspace/admin/data-transfer/reference/rest/v1/transfers#ApplicationDataTransfer)`)` The list of per-application data transfer resources. It contains details of the applications associated with this transfer resource, and also specifies the applications for which data transfer has to be done at the time of the transfer resource creation. |\n| `overallTransferStatusCode` | `string` Read-only. Overall transfer status. |\n| `kind` | `string` Identifies the resource as a DataTransfer request. |\n| `etag` | `string` ETag of the resource. |\n| `requestTime` | `string` Read-only. The time at which the data transfer was requested. |\n\nApplicationDataTransfer\n-----------------------\n\nTemplate to map fields of ApplicationDataTransfer resource.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"applicationId\": string, \"applicationTransferParams\": [ { object (/workspace/admin/data-transfer/reference/rest/v1/ApplicationTransferParam) } ], \"applicationTransferStatus\": string } ``` |\n\n| Fields ||\n|-------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `applicationId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The application's ID. |\n| `applicationTransferParams[]` | `object (`[ApplicationTransferParam](/workspace/admin/data-transfer/reference/rest/v1/ApplicationTransferParam)`)` The transfer parameters for the application. These parameters are used to select the data which will get transferred in context of this application. For more information about the specific values available for each application, see the [Transfer parameters](https://developers.google.com/workspace/admin/data-transfer/v1/parameters) reference. |\n| `applicationTransferStatus` | `string` Read-only. Current status of transfer for this application. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| ### [get](/workspace/admin/data-transfer/reference/rest/v1/transfers/get) | Retrieves a data transfer request by its resource ID. |\n| ### [insert](/workspace/admin/data-transfer/reference/rest/v1/transfers/insert) | Inserts a data transfer request. |\n| ### [list](/workspace/admin/data-transfer/reference/rest/v1/transfers/list) | Lists the transfers for a customer by source user, destination user, or status. |"]]