| OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 | 2 |
| 3 library googleapis.admin.datatransfer_v1; | 3 library googleapis.admin.datatransfer_v1; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
| 7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
| 8 | 8 |
| 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
| 11 | 11 |
| 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
| 13 ApiRequestError, DetailedApiRequestError; | 13 ApiRequestError, DetailedApiRequestError; |
| 14 | 14 |
| 15 const core.String USER_AGENT = 'dart-api-client admin/datatransfer_v1'; | 15 const core.String USER_AGENT = 'dart-api-client admin/datatransfer_v1'; |
| 16 | 16 |
| 17 /** | 17 /** Transfers user data from one user to another. */ |
| 18 * Admin Data Transfer API lets you transfer user data from one user to another. | |
| 19 */ | |
| 20 class AdminApi { | 18 class AdminApi { |
| 21 /** View and manage data transfers between users in your organization */ | 19 /** View and manage data transfers between users in your organization */ |
| 22 static const AdminDatatransferScope = "https://www.googleapis.com/auth/admin.d
atatransfer"; | 20 static const AdminDatatransferScope = "https://www.googleapis.com/auth/admin.d
atatransfer"; |
| 23 | 21 |
| 24 /** View data transfers between users in your organization */ | 22 /** View data transfers between users in your organization */ |
| 25 static const AdminDatatransferReadonlyScope = "https://www.googleapis.com/auth
/admin.datatransfer.readonly"; | 23 static const AdminDatatransferReadonlyScope = "https://www.googleapis.com/auth
/admin.datatransfer.readonly"; |
| 26 | 24 |
| 27 | 25 |
| 28 final commons.ApiRequester _requester; | 26 final commons.ApiRequester _requester; |
| 29 | 27 |
| (...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 } | 592 } |
| 595 if (kind != null) { | 593 if (kind != null) { |
| 596 _json["kind"] = kind; | 594 _json["kind"] = kind; |
| 597 } | 595 } |
| 598 if (nextPageToken != null) { | 596 if (nextPageToken != null) { |
| 599 _json["nextPageToken"] = nextPageToken; | 597 _json["nextPageToken"] = nextPageToken; |
| 600 } | 598 } |
| 601 return _json; | 599 return _json; |
| 602 } | 600 } |
| 603 } | 601 } |
| OLD | NEW |