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.appsactivity.v1; | 3 library googleapis.appsactivity.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 appsactivity/v1'; | 15 const core.String USER_AGENT = 'dart-api-client appsactivity/v1'; |
16 | 16 |
17 /** Provides a historical view of activity. */ | 17 /** Provides a historical view of activity. */ |
18 class AppsactivityApi { | 18 class AppsactivityApi { |
19 /** View the activity history of your Google Apps */ | 19 /** View the activity history of your Google apps */ |
20 static const ActivityScope = "https://www.googleapis.com/auth/activity"; | 20 static const ActivityScope = "https://www.googleapis.com/auth/activity"; |
21 | 21 |
22 /** View and manage the files in your Google Drive */ | 22 /** View and manage the files in your Google Drive */ |
23 static const DriveScope = "https://www.googleapis.com/auth/drive"; | 23 static const DriveScope = "https://www.googleapis.com/auth/drive"; |
24 | 24 |
25 /** View and manage metadata of files in your Google Drive */ | 25 /** View and manage metadata of files in your Google Drive */ |
26 static const DriveMetadataScope = "https://www.googleapis.com/auth/drive.metad
ata"; | 26 static const DriveMetadataScope = "https://www.googleapis.com/auth/drive.metad
ata"; |
27 | 27 |
28 /** View metadata for files in your Google Drive */ | 28 /** View metadata for files in your Google Drive */ |
29 static const DriveMetadataReadonlyScope = "https://www.googleapis.com/auth/dri
ve.metadata.readonly"; | 29 static const DriveMetadataReadonlyScope = "https://www.googleapis.com/auth/dri
ve.metadata.readonly"; |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 } | 661 } |
662 if (permissionId != null) { | 662 if (permissionId != null) { |
663 _json["permissionId"] = permissionId; | 663 _json["permissionId"] = permissionId; |
664 } | 664 } |
665 if (photo != null) { | 665 if (photo != null) { |
666 _json["photo"] = (photo).toJson(); | 666 _json["photo"] = (photo).toJson(); |
667 } | 667 } |
668 return _json; | 668 return _json; |
669 } | 669 } |
670 } | 670 } |
OLD | NEW |