| 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.script.v1; | 3 library googleapis.script.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 script/v1'; | 15 const core.String USER_AGENT = 'dart-api-client script/v1'; |
| 16 | 16 |
| 17 /** Executes Google Apps Script projects. */ | 17 /** Executes Google Apps Script projects. */ |
| 18 class ScriptApi { | 18 class ScriptApi { |
| 19 /** View and manage your mail */ | 19 /** Read, send, delete, and manage your email */ |
| 20 static const MailGoogleComScope = "https://mail.google.com/"; | 20 static const MailGoogleComScope = "https://mail.google.com/"; |
| 21 | 21 |
| 22 /** Manage your calendars */ | 22 /** Manage your calendars */ |
| 23 static const WwwGoogleComCalendarFeedsScope = "https://www.google.com/calendar
/feeds"; | 23 static const WwwGoogleComCalendarFeedsScope = "https://www.google.com/calendar
/feeds"; |
| 24 | 24 |
| 25 /** Manage your contacts */ | 25 /** Manage your contacts */ |
| 26 static const WwwGoogleComM8FeedsScope = "https://www.google.com/m8/feeds"; | 26 static const WwwGoogleComM8FeedsScope = "https://www.google.com/m8/feeds"; |
| 27 | 27 |
| 28 /** View and manage the provisioning of groups on your domain */ | 28 /** View and manage the provisioning of groups on your domain */ |
| 29 static const AdminDirectoryGroupScope = "https://www.googleapis.com/auth/admin
.directory.group"; | 29 static const AdminDirectoryGroupScope = "https://www.googleapis.com/auth/admin
.directory.group"; |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 } | 460 } |
| 461 if (details != null) { | 461 if (details != null) { |
| 462 _json["details"] = details; | 462 _json["details"] = details; |
| 463 } | 463 } |
| 464 if (message != null) { | 464 if (message != null) { |
| 465 _json["message"] = message; | 465 _json["message"] = message; |
| 466 } | 466 } |
| 467 return _json; | 467 return _json; |
| 468 } | 468 } |
| 469 } | 469 } |
| OLD | NEW |