| OLD | NEW |
| 1 library googleapis.appsactivity.v1; | 1 library googleapis.appsactivity.v1; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
| 9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
| 10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
| 11 import '../common/common.dart' as common; | 11 import '../common/common.dart' as common; |
| 12 | 12 |
| 13 export '../common/common.dart' show ApiRequestError; | 13 export '../common/common.dart' show ApiRequestError; |
| 14 export '../common/common.dart' show DetailedApiRequestError; | 14 export '../common/common.dart' show DetailedApiRequestError; |
| 15 | 15 |
| 16 /** Provides a historical view of activity. */ | 16 /** Provides a historical view of activity. */ |
| 17 class AppsactivityApi { | 17 class AppsactivityApi { |
| 18 /** View historical activity for Google services */ | 18 /** View the activity history of your Google Apps */ |
| 19 static const ActivityScope = "https://www.googleapis.com/auth/activity"; | 19 static const ActivityScope = "https://www.googleapis.com/auth/activity"; |
| 20 | 20 |
| 21 /** View and manage the files and documents in your Google Drive */ | 21 /** View and manage the files and documents in your Google Drive */ |
| 22 static const DriveScope = "https://www.googleapis.com/auth/drive"; | 22 static const DriveScope = "https://www.googleapis.com/auth/drive"; |
| 23 | 23 |
| 24 /** View metadata for files and documents in your Google Drive */ | 24 /** View metadata for files and documents in your Google Drive */ |
| 25 static const DriveMetadataReadonlyScope = "https://www.googleapis.com/auth/dri
ve.metadata.readonly"; | 25 static const DriveMetadataReadonlyScope = "https://www.googleapis.com/auth/dri
ve.metadata.readonly"; |
| 26 | 26 |
| 27 /** View the files and documents in your Google Drive */ | 27 /** View the files and documents in your Google Drive */ |
| 28 static const DriveReadonlyScope = "https://www.googleapis.com/auth/drive.reado
nly"; | 28 static const DriveReadonlyScope = "https://www.googleapis.com/auth/drive.reado
nly"; |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 _json["name"] = name; | 671 _json["name"] = name; |
| 672 } | 672 } |
| 673 if (photo != null) { | 673 if (photo != null) { |
| 674 _json["photo"] = (photo).toJson(); | 674 _json["photo"] = (photo).toJson(); |
| 675 } | 675 } |
| 676 return _json; | 676 return _json; |
| 677 } | 677 } |
| 678 } | 678 } |
| 679 | 679 |
| 680 | 680 |
| OLD | NEW |