Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Side by Side Diff: generated/googleapis/lib/script/v1.dart

Issue 2226653002: Api-roll 40: 2016-08-08 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Addressed review comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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;
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 * The return value of the script function. The type will match the type 252 * The return value of the script function. The type will match the type
253 * returned in Apps Script. Functions called through the Execution API cannot 253 * returned in Apps Script. Functions called through the Execution API cannot
254 * return Apps Script-specific objects (such as a `Document` or `Calendar`); 254 * return Apps Script-specific objects (such as a `Document` or `Calendar`);
255 * they can only return primitive types such as a `string`, `number`, `array`, 255 * they can only return primitive types such as a `string`, `number`, `array`,
256 * `object`, or `boolean`. 256 * `object`, or `boolean`.
257 * 257 *
258 * The values for Object must be JSON objects. It can consist of `num`, 258 * The values for Object must be JSON objects. It can consist of `num`,
259 * `String`, `bool` and `null` as well as `Map` and `List` values. 259 * `String`, `bool` and `null` as well as `Map` and `List` values.
260 */ 260 */
261 core.Object result; 261 core.Object result;
262 /**
263 *
264 * Possible string values are:
265 * - "SUCCESS" : A SUCCESS.
266 * - "CANCELED" : A CANCELED.
267 */
268 core.String status;
262 269
263 ExecutionResponse(); 270 ExecutionResponse();
264 271
265 ExecutionResponse.fromJson(core.Map _json) { 272 ExecutionResponse.fromJson(core.Map _json) {
266 if (_json.containsKey("result")) { 273 if (_json.containsKey("result")) {
267 result = _json["result"]; 274 result = _json["result"];
268 } 275 }
276 if (_json.containsKey("status")) {
277 status = _json["status"];
278 }
269 } 279 }
270 280
271 core.Map toJson() { 281 core.Map toJson() {
272 var _json = new core.Map(); 282 var _json = new core.Map();
273 if (result != null) { 283 if (result != null) {
274 _json["result"] = result; 284 _json["result"] = result;
275 } 285 }
286 if (status != null) {
287 _json["status"] = status;
288 }
276 return _json; 289 return _json;
277 } 290 }
278 } 291 }
279 292
280 /** 293 /**
281 * The response will not arrive until the function finishes executing. The 294 * The response will not arrive until the function finishes executing. The
282 * maximum runtime is listed in the guide to [limitations in Apps 295 * maximum runtime is listed in the guide to [limitations in Apps
283 * Script](https://developers.google.com/apps-script/guides/services/quotas#curr ent_limitations). 296 * Script](https://developers.google.com/apps-script/guides/services/quotas#curr ent_limitations).
284 * If the script function returns successfully, the `response` field will 297 * If the script function returns successfully, the `response` field will
285 * contain an `ExecutionResponse` object with the function's return value in the 298 * contain an `ExecutionResponse` object with the function's return value in the
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 } 453 }
441 if (details != null) { 454 if (details != null) {
442 _json["details"] = details; 455 _json["details"] = details;
443 } 456 }
444 if (message != null) { 457 if (message != null) {
445 _json["message"] = message; 458 _json["message"] = message;
446 } 459 }
447 return _json; 460 return _json;
448 } 461 }
449 } 462 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/identitytoolkit/v3.dart ('k') | generated/googleapis/lib/servicecontrol/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698