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

Side by Side Diff: generated/googleapis/lib/sheets/v4.dart

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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
« no previous file with comments | « generated/googleapis/lib/serviceuser/v1.dart ('k') | generated/googleapis/lib/slides/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.sheets.v4; 3 library googleapis.sheets.v4;
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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 * 304 *
305 * [request] - The metadata request object. 305 * [request] - The metadata request object.
306 * 306 *
307 * Request parameters: 307 * Request parameters:
308 * 308 *
309 * [spreadsheetId] - The ID of the spreadsheet to update. 309 * [spreadsheetId] - The ID of the spreadsheet to update.
310 * 310 *
311 * [range] - The A1 notation of a range to search for a logical table of data. 311 * [range] - The A1 notation of a range to search for a logical table of data.
312 * Values will be appended after the last row of the table. 312 * Values will be appended after the last row of the table.
313 * 313 *
314 * [includeValuesInResponse] - Determines if the update response should
315 * include the values
316 * of the cells that were appended. By default, responses
317 * do not include the updated values.
318 *
314 * [responseValueRenderOption] - Determines how values in the response should 319 * [responseValueRenderOption] - Determines how values in the response should
315 * be rendered. 320 * be rendered.
316 * The default render option is ValueRenderOption.FORMATTED_VALUE. 321 * The default render option is ValueRenderOption.FORMATTED_VALUE.
317 * Possible string values are: 322 * Possible string values are:
318 * - "FORMATTED_VALUE" : A FORMATTED_VALUE. 323 * - "FORMATTED_VALUE" : A FORMATTED_VALUE.
319 * - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE. 324 * - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE.
320 * - "FORMULA" : A FORMULA. 325 * - "FORMULA" : A FORMULA.
321 * 326 *
327 * [insertDataOption] - How the input data should be inserted.
328 * Possible string values are:
329 * - "OVERWRITE" : A OVERWRITE.
330 * - "INSERT_ROWS" : A INSERT_ROWS.
331 *
322 * [valueInputOption] - How the input data should be interpreted. 332 * [valueInputOption] - How the input data should be interpreted.
323 * Possible string values are: 333 * Possible string values are:
324 * - "INPUT_VALUE_OPTION_UNSPECIFIED" : A INPUT_VALUE_OPTION_UNSPECIFIED. 334 * - "INPUT_VALUE_OPTION_UNSPECIFIED" : A INPUT_VALUE_OPTION_UNSPECIFIED.
325 * - "RAW" : A RAW. 335 * - "RAW" : A RAW.
326 * - "USER_ENTERED" : A USER_ENTERED. 336 * - "USER_ENTERED" : A USER_ENTERED.
327 * 337 *
328 * [responseDateTimeRenderOption] - Determines how dates, times, and durations 338 * [responseDateTimeRenderOption] - Determines how dates, times, and durations
329 * in the response should be 339 * in the response should be
330 * rendered. This is ignored if response_value_render_option is 340 * rendered. This is ignored if response_value_render_option is
331 * FORMATTED_VALUE. 341 * FORMATTED_VALUE.
332 * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. 342 * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
333 * Possible string values are: 343 * Possible string values are:
334 * - "SERIAL_NUMBER" : A SERIAL_NUMBER. 344 * - "SERIAL_NUMBER" : A SERIAL_NUMBER.
335 * - "FORMATTED_STRING" : A FORMATTED_STRING. 345 * - "FORMATTED_STRING" : A FORMATTED_STRING.
336 * 346 *
337 * [includeValuesInResponse] - Determines if the update response should
338 * include the values
339 * of the cells that were appended. By default, responses
340 * do not include the updated values.
341 *
342 * [insertDataOption] - How the input data should be inserted.
343 * Possible string values are:
344 * - "OVERWRITE" : A OVERWRITE.
345 * - "INSERT_ROWS" : A INSERT_ROWS.
346 *
347 * Completes with a [AppendValuesResponse]. 347 * Completes with a [AppendValuesResponse].
348 * 348 *
349 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 349 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
350 * error. 350 * error.
351 * 351 *
352 * If the used [http.Client] completes with an error when making a REST call, 352 * If the used [http.Client] completes with an error when making a REST call,
353 * this method will complete with the same error. 353 * this method will complete with the same error.
354 */ 354 */
355 async.Future<AppendValuesResponse> append(ValueRange request, core.String spre adsheetId, core.String range, {core.String responseValueRenderOption, core.Strin g valueInputOption, core.String responseDateTimeRenderOption, core.bool includeV aluesInResponse, core.String insertDataOption}) { 355 async.Future<AppendValuesResponse> append(ValueRange request, core.String spre adsheetId, core.String range, {core.bool includeValuesInResponse, core.String re sponseValueRenderOption, core.String insertDataOption, core.String valueInputOpt ion, core.String responseDateTimeRenderOption}) {
356 var _url = null; 356 var _url = null;
357 var _queryParams = new core.Map(); 357 var _queryParams = new core.Map();
358 var _uploadMedia = null; 358 var _uploadMedia = null;
359 var _uploadOptions = null; 359 var _uploadOptions = null;
360 var _downloadOptions = commons.DownloadOptions.Metadata; 360 var _downloadOptions = commons.DownloadOptions.Metadata;
361 var _body = null; 361 var _body = null;
362 362
363 if (request != null) { 363 if (request != null) {
364 _body = convert.JSON.encode((request).toJson()); 364 _body = convert.JSON.encode((request).toJson());
365 } 365 }
366 if (spreadsheetId == null) { 366 if (spreadsheetId == null) {
367 throw new core.ArgumentError("Parameter spreadsheetId is required."); 367 throw new core.ArgumentError("Parameter spreadsheetId is required.");
368 } 368 }
369 if (range == null) { 369 if (range == null) {
370 throw new core.ArgumentError("Parameter range is required."); 370 throw new core.ArgumentError("Parameter range is required.");
371 } 371 }
372 if (includeValuesInResponse != null) {
373 _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"];
374 }
372 if (responseValueRenderOption != null) { 375 if (responseValueRenderOption != null) {
373 _queryParams["responseValueRenderOption"] = [responseValueRenderOption]; 376 _queryParams["responseValueRenderOption"] = [responseValueRenderOption];
374 } 377 }
378 if (insertDataOption != null) {
379 _queryParams["insertDataOption"] = [insertDataOption];
380 }
375 if (valueInputOption != null) { 381 if (valueInputOption != null) {
376 _queryParams["valueInputOption"] = [valueInputOption]; 382 _queryParams["valueInputOption"] = [valueInputOption];
377 } 383 }
378 if (responseDateTimeRenderOption != null) { 384 if (responseDateTimeRenderOption != null) {
379 _queryParams["responseDateTimeRenderOption"] = [responseDateTimeRenderOpti on]; 385 _queryParams["responseDateTimeRenderOption"] = [responseDateTimeRenderOpti on];
380 } 386 }
381 if (includeValuesInResponse != null) {
382 _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"];
383 }
384 if (insertDataOption != null) {
385 _queryParams["insertDataOption"] = [insertDataOption];
386 }
387 387
388 _url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId') + '/values/' + commons.Escaper.ecapeVariable('$range') + ':append'; 388 _url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId') + '/values/' + commons.Escaper.ecapeVariable('$range') + ':append';
389 389
390 var _response = _requester.request(_url, 390 var _response = _requester.request(_url,
391 "POST", 391 "POST",
392 body: _body, 392 body: _body,
393 queryParams: _queryParams, 393 queryParams: _queryParams,
394 uploadOptions: _uploadOptions, 394 uploadOptions: _uploadOptions,
395 uploadMedia: _uploadMedia, 395 uploadMedia: _uploadMedia,
396 downloadOptions: _downloadOptions); 396 downloadOptions: _downloadOptions);
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 } 445 }
446 446
447 /** 447 /**
448 * Returns one or more ranges of values from a spreadsheet. 448 * Returns one or more ranges of values from a spreadsheet.
449 * The caller must specify the spreadsheet ID and one or more ranges. 449 * The caller must specify the spreadsheet ID and one or more ranges.
450 * 450 *
451 * Request parameters: 451 * Request parameters:
452 * 452 *
453 * [spreadsheetId] - The ID of the spreadsheet to retrieve data from. 453 * [spreadsheetId] - The ID of the spreadsheet to retrieve data from.
454 * 454 *
455 * [ranges] - The A1 notation of the values to retrieve.
456 *
457 * [valueRenderOption] - How values should be represented in the output. 455 * [valueRenderOption] - How values should be represented in the output.
458 * The default render option is ValueRenderOption.FORMATTED_VALUE. 456 * The default render option is ValueRenderOption.FORMATTED_VALUE.
459 * Possible string values are: 457 * Possible string values are:
460 * - "FORMATTED_VALUE" : A FORMATTED_VALUE. 458 * - "FORMATTED_VALUE" : A FORMATTED_VALUE.
461 * - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE. 459 * - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE.
462 * - "FORMULA" : A FORMULA. 460 * - "FORMULA" : A FORMULA.
463 * 461 *
464 * [dateTimeRenderOption] - How dates, times, and durations should be 462 * [dateTimeRenderOption] - How dates, times, and durations should be
465 * represented in the output. 463 * represented in the output.
466 * This is ignored if value_render_option is 464 * This is ignored if value_render_option is
467 * FORMATTED_VALUE. 465 * FORMATTED_VALUE.
468 * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. 466 * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
469 * Possible string values are: 467 * Possible string values are:
470 * - "SERIAL_NUMBER" : A SERIAL_NUMBER. 468 * - "SERIAL_NUMBER" : A SERIAL_NUMBER.
471 * - "FORMATTED_STRING" : A FORMATTED_STRING. 469 * - "FORMATTED_STRING" : A FORMATTED_STRING.
472 * 470 *
471 * [ranges] - The A1 notation of the values to retrieve.
472 *
473 * [majorDimension] - The major dimension that results should use. 473 * [majorDimension] - The major dimension that results should use.
474 * 474 *
475 * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, 475 * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
476 * then requesting `range=A1:B2,majorDimension=ROWS` will return 476 * then requesting `range=A1:B2,majorDimension=ROWS` will return
477 * `[[1,2],[3,4]]`, 477 * `[[1,2],[3,4]]`,
478 * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return 478 * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
479 * `[[1,3],[2,4]]`. 479 * `[[1,3],[2,4]]`.
480 * Possible string values are: 480 * Possible string values are:
481 * - "DIMENSION_UNSPECIFIED" : A DIMENSION_UNSPECIFIED. 481 * - "DIMENSION_UNSPECIFIED" : A DIMENSION_UNSPECIFIED.
482 * - "ROWS" : A ROWS. 482 * - "ROWS" : A ROWS.
483 * - "COLUMNS" : A COLUMNS. 483 * - "COLUMNS" : A COLUMNS.
484 * 484 *
485 * Completes with a [BatchGetValuesResponse]. 485 * Completes with a [BatchGetValuesResponse].
486 * 486 *
487 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 487 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
488 * error. 488 * error.
489 * 489 *
490 * If the used [http.Client] completes with an error when making a REST call, 490 * If the used [http.Client] completes with an error when making a REST call,
491 * this method will complete with the same error. 491 * this method will complete with the same error.
492 */ 492 */
493 async.Future<BatchGetValuesResponse> batchGet(core.String spreadsheetId, {core .List<core.String> ranges, core.String valueRenderOption, core.String dateTimeRe nderOption, core.String majorDimension}) { 493 async.Future<BatchGetValuesResponse> batchGet(core.String spreadsheetId, {core .String valueRenderOption, core.String dateTimeRenderOption, core.List<core.Stri ng> ranges, core.String majorDimension}) {
494 var _url = null; 494 var _url = null;
495 var _queryParams = new core.Map(); 495 var _queryParams = new core.Map();
496 var _uploadMedia = null; 496 var _uploadMedia = null;
497 var _uploadOptions = null; 497 var _uploadOptions = null;
498 var _downloadOptions = commons.DownloadOptions.Metadata; 498 var _downloadOptions = commons.DownloadOptions.Metadata;
499 var _body = null; 499 var _body = null;
500 500
501 if (spreadsheetId == null) { 501 if (spreadsheetId == null) {
502 throw new core.ArgumentError("Parameter spreadsheetId is required."); 502 throw new core.ArgumentError("Parameter spreadsheetId is required.");
503 } 503 }
504 if (ranges != null) {
505 _queryParams["ranges"] = ranges;
506 }
507 if (valueRenderOption != null) { 504 if (valueRenderOption != null) {
508 _queryParams["valueRenderOption"] = [valueRenderOption]; 505 _queryParams["valueRenderOption"] = [valueRenderOption];
509 } 506 }
510 if (dateTimeRenderOption != null) { 507 if (dateTimeRenderOption != null) {
511 _queryParams["dateTimeRenderOption"] = [dateTimeRenderOption]; 508 _queryParams["dateTimeRenderOption"] = [dateTimeRenderOption];
512 } 509 }
510 if (ranges != null) {
511 _queryParams["ranges"] = ranges;
512 }
513 if (majorDimension != null) { 513 if (majorDimension != null) {
514 _queryParams["majorDimension"] = [majorDimension]; 514 _queryParams["majorDimension"] = [majorDimension];
515 } 515 }
516 516
517 _url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId') + '/values:batchGet'; 517 _url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId') + '/values:batchGet';
518 518
519 var _response = _requester.request(_url, 519 var _response = _requester.request(_url,
520 "GET", 520 "GET",
521 body: _body, 521 body: _body,
522 queryParams: _queryParams, 522 queryParams: _queryParams,
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 * a valueInputOption. 713 * a valueInputOption.
714 * 714 *
715 * [request] - The metadata request object. 715 * [request] - The metadata request object.
716 * 716 *
717 * Request parameters: 717 * Request parameters:
718 * 718 *
719 * [spreadsheetId] - The ID of the spreadsheet to update. 719 * [spreadsheetId] - The ID of the spreadsheet to update.
720 * 720 *
721 * [range] - The A1 notation of the values to update. 721 * [range] - The A1 notation of the values to update.
722 * 722 *
723 * [responseValueRenderOption] - Determines how values in the response should
724 * be rendered.
725 * The default render option is ValueRenderOption.FORMATTED_VALUE.
726 * Possible string values are:
727 * - "FORMATTED_VALUE" : A FORMATTED_VALUE.
728 * - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE.
729 * - "FORMULA" : A FORMULA.
730 *
731 * [valueInputOption] - How the input data should be interpreted. 723 * [valueInputOption] - How the input data should be interpreted.
732 * Possible string values are: 724 * Possible string values are:
733 * - "INPUT_VALUE_OPTION_UNSPECIFIED" : A INPUT_VALUE_OPTION_UNSPECIFIED. 725 * - "INPUT_VALUE_OPTION_UNSPECIFIED" : A INPUT_VALUE_OPTION_UNSPECIFIED.
734 * - "RAW" : A RAW. 726 * - "RAW" : A RAW.
735 * - "USER_ENTERED" : A USER_ENTERED. 727 * - "USER_ENTERED" : A USER_ENTERED.
736 * 728 *
737 * [responseDateTimeRenderOption] - Determines how dates, times, and durations 729 * [responseDateTimeRenderOption] - Determines how dates, times, and durations
738 * in the response should be 730 * in the response should be
739 * rendered. This is ignored if response_value_render_option is 731 * rendered. This is ignored if response_value_render_option is
740 * FORMATTED_VALUE. 732 * FORMATTED_VALUE.
741 * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. 733 * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
742 * Possible string values are: 734 * Possible string values are:
743 * - "SERIAL_NUMBER" : A SERIAL_NUMBER. 735 * - "SERIAL_NUMBER" : A SERIAL_NUMBER.
744 * - "FORMATTED_STRING" : A FORMATTED_STRING. 736 * - "FORMATTED_STRING" : A FORMATTED_STRING.
745 * 737 *
746 * [includeValuesInResponse] - Determines if the update response should 738 * [includeValuesInResponse] - Determines if the update response should
747 * include the values 739 * include the values
748 * of the cells that were updated. By default, responses 740 * of the cells that were updated. By default, responses
749 * do not include the updated values. 741 * do not include the updated values.
750 * If the range to write was larger than than the range actually written, 742 * If the range to write was larger than than the range actually written,
751 * the response will include all values in the requested range (excluding 743 * the response will include all values in the requested range (excluding
752 * trailing empty rows and columns). 744 * trailing empty rows and columns).
753 * 745 *
746 * [responseValueRenderOption] - Determines how values in the response should
747 * be rendered.
748 * The default render option is ValueRenderOption.FORMATTED_VALUE.
749 * Possible string values are:
750 * - "FORMATTED_VALUE" : A FORMATTED_VALUE.
751 * - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE.
752 * - "FORMULA" : A FORMULA.
753 *
754 * Completes with a [UpdateValuesResponse]. 754 * Completes with a [UpdateValuesResponse].
755 * 755 *
756 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 756 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
757 * error. 757 * error.
758 * 758 *
759 * If the used [http.Client] completes with an error when making a REST call, 759 * If the used [http.Client] completes with an error when making a REST call,
760 * this method will complete with the same error. 760 * this method will complete with the same error.
761 */ 761 */
762 async.Future<UpdateValuesResponse> update(ValueRange request, core.String spre adsheetId, core.String range, {core.String responseValueRenderOption, core.Strin g valueInputOption, core.String responseDateTimeRenderOption, core.bool includeV aluesInResponse}) { 762 async.Future<UpdateValuesResponse> update(ValueRange request, core.String spre adsheetId, core.String range, {core.String valueInputOption, core.String respons eDateTimeRenderOption, core.bool includeValuesInResponse, core.String responseVa lueRenderOption}) {
763 var _url = null; 763 var _url = null;
764 var _queryParams = new core.Map(); 764 var _queryParams = new core.Map();
765 var _uploadMedia = null; 765 var _uploadMedia = null;
766 var _uploadOptions = null; 766 var _uploadOptions = null;
767 var _downloadOptions = commons.DownloadOptions.Metadata; 767 var _downloadOptions = commons.DownloadOptions.Metadata;
768 var _body = null; 768 var _body = null;
769 769
770 if (request != null) { 770 if (request != null) {
771 _body = convert.JSON.encode((request).toJson()); 771 _body = convert.JSON.encode((request).toJson());
772 } 772 }
773 if (spreadsheetId == null) { 773 if (spreadsheetId == null) {
774 throw new core.ArgumentError("Parameter spreadsheetId is required."); 774 throw new core.ArgumentError("Parameter spreadsheetId is required.");
775 } 775 }
776 if (range == null) { 776 if (range == null) {
777 throw new core.ArgumentError("Parameter range is required."); 777 throw new core.ArgumentError("Parameter range is required.");
778 } 778 }
779 if (responseValueRenderOption != null) {
780 _queryParams["responseValueRenderOption"] = [responseValueRenderOption];
781 }
782 if (valueInputOption != null) { 779 if (valueInputOption != null) {
783 _queryParams["valueInputOption"] = [valueInputOption]; 780 _queryParams["valueInputOption"] = [valueInputOption];
784 } 781 }
785 if (responseDateTimeRenderOption != null) { 782 if (responseDateTimeRenderOption != null) {
786 _queryParams["responseDateTimeRenderOption"] = [responseDateTimeRenderOpti on]; 783 _queryParams["responseDateTimeRenderOption"] = [responseDateTimeRenderOpti on];
787 } 784 }
788 if (includeValuesInResponse != null) { 785 if (includeValuesInResponse != null) {
789 _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"]; 786 _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"];
790 } 787 }
788 if (responseValueRenderOption != null) {
789 _queryParams["responseValueRenderOption"] = [responseValueRenderOption];
790 }
791 791
792 _url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId') + '/values/' + commons.Escaper.ecapeVariable('$range'); 792 _url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId') + '/values/' + commons.Escaper.ecapeVariable('$range');
793 793
794 var _response = _requester.request(_url, 794 var _response = _requester.request(_url,
795 "PUT", 795 "PUT",
796 body: _body, 796 body: _body,
797 queryParams: _queryParams, 797 queryParams: _queryParams,
798 uploadOptions: _uploadOptions, 798 uploadOptions: _uploadOptions,
799 uploadMedia: _uploadMedia, 799 uploadMedia: _uploadMedia,
800 downloadOptions: _downloadOptions); 800 downloadOptions: _downloadOptions);
(...skipping 4016 matching lines...) Expand 10 before | Expand all | Expand 10 after
4817 if (type != null) { 4817 if (type != null) {
4818 _json["type"] = type; 4818 _json["type"] = type;
4819 } 4819 }
4820 if (value != null) { 4820 if (value != null) {
4821 _json["value"] = value; 4821 _json["value"] = value;
4822 } 4822 }
4823 return _json; 4823 return _json;
4824 } 4824 }
4825 } 4825 }
4826 4826
4827 /**
4828 * Settings to control how circular dependencies are resolved with iterative
4829 * calculation.
4830 */
4831 class IterativeCalculationSettings {
4832 /**
4833 * When iterative calculation is enabled, the threshold value such that
4834 * calculation rounds stop when succesive results differ by less.
4835 */
4836 core.double convergenceThreshold;
4837 /**
4838 * When iterative calculation is enabled, the maximum number of calculation
4839 * rounds to perform during iterative calculation.
4840 */
4841 core.int maxIterations;
4842
4843 IterativeCalculationSettings();
4844
4845 IterativeCalculationSettings.fromJson(core.Map _json) {
4846 if (_json.containsKey("convergenceThreshold")) {
4847 convergenceThreshold = _json["convergenceThreshold"];
4848 }
4849 if (_json.containsKey("maxIterations")) {
4850 maxIterations = _json["maxIterations"];
4851 }
4852 }
4853
4854 core.Map toJson() {
4855 var _json = new core.Map();
4856 if (convergenceThreshold != null) {
4857 _json["convergenceThreshold"] = convergenceThreshold;
4858 }
4859 if (maxIterations != null) {
4860 _json["maxIterations"] = maxIterations;
4861 }
4862 return _json;
4863 }
4864 }
4865
4827 /** Merges all cells in the range. */ 4866 /** Merges all cells in the range. */
4828 class MergeCellsRequest { 4867 class MergeCellsRequest {
4829 /** 4868 /**
4830 * How the cells should be merged. 4869 * How the cells should be merged.
4831 * Possible string values are: 4870 * Possible string values are:
4832 * - "MERGE_ALL" : Create a single merge from the range 4871 * - "MERGE_ALL" : Create a single merge from the range
4833 * - "MERGE_COLUMNS" : Create a merge for each column in the range 4872 * - "MERGE_COLUMNS" : Create a merge for each column in the range
4834 * - "MERGE_ROWS" : Create a merge for each row in the range 4873 * - "MERGE_ROWS" : Create a merge for each row in the range
4835 */ 4874 */
4836 core.String mergeType; 4875 core.String mergeType;
(...skipping 1884 matching lines...) Expand 10 before | Expand all | Expand 10 after
6721 */ 6760 */
6722 core.String autoRecalc; 6761 core.String autoRecalc;
6723 /** 6762 /**
6724 * The default format of all cells in the spreadsheet. 6763 * The default format of all cells in the spreadsheet.
6725 * CellData.effectiveFormat will not be set if the 6764 * CellData.effectiveFormat will not be set if the
6726 * cell's format is equal to this default format. 6765 * cell's format is equal to this default format.
6727 * This field is read-only. 6766 * This field is read-only.
6728 */ 6767 */
6729 CellFormat defaultFormat; 6768 CellFormat defaultFormat;
6730 /** 6769 /**
6770 * Determines whether and how circular references are resolved with iterative
6771 * calculation. Absence of this field means that circular references will
6772 * result in calculation errors.
6773 */
6774 IterativeCalculationSettings iterativeCalculationSettings;
6775 /**
6731 * The locale of the spreadsheet in one of the following formats: 6776 * The locale of the spreadsheet in one of the following formats:
6732 * 6777 *
6733 * * an ISO 639-1 language code such as `en` 6778 * * an ISO 639-1 language code such as `en`
6734 * 6779 *
6735 * * an ISO 639-2 language code such as `fil`, if no 639-1 code exists 6780 * * an ISO 639-2 language code such as `fil`, if no 639-1 code exists
6736 * 6781 *
6737 * * a combination of the ISO language code and country code, such as `en_US` 6782 * * a combination of the ISO language code and country code, such as `en_US`
6738 * 6783 *
6739 * Note: when updating this field, not all locales/languages are supported. 6784 * Note: when updating this field, not all locales/languages are supported.
6740 */ 6785 */
6741 core.String locale; 6786 core.String locale;
6742 /** 6787 /**
6743 * The time zone of the spreadsheet, in CLDR format such as 6788 * The time zone of the spreadsheet, in CLDR format such as
6744 * `America/New_York`. If the time zone isn't recognized, this may 6789 * `America/New_York`. If the time zone isn't recognized, this may
6745 * be a custom time zone such as `GMT-07:00`. 6790 * be a custom time zone such as `GMT-07:00`.
6746 */ 6791 */
6747 core.String timeZone; 6792 core.String timeZone;
6748 /** The title of the spreadsheet. */ 6793 /** The title of the spreadsheet. */
6749 core.String title; 6794 core.String title;
6750 6795
6751 SpreadsheetProperties(); 6796 SpreadsheetProperties();
6752 6797
6753 SpreadsheetProperties.fromJson(core.Map _json) { 6798 SpreadsheetProperties.fromJson(core.Map _json) {
6754 if (_json.containsKey("autoRecalc")) { 6799 if (_json.containsKey("autoRecalc")) {
6755 autoRecalc = _json["autoRecalc"]; 6800 autoRecalc = _json["autoRecalc"];
6756 } 6801 }
6757 if (_json.containsKey("defaultFormat")) { 6802 if (_json.containsKey("defaultFormat")) {
6758 defaultFormat = new CellFormat.fromJson(_json["defaultFormat"]); 6803 defaultFormat = new CellFormat.fromJson(_json["defaultFormat"]);
6759 } 6804 }
6805 if (_json.containsKey("iterativeCalculationSettings")) {
6806 iterativeCalculationSettings = new IterativeCalculationSettings.fromJson(_ json["iterativeCalculationSettings"]);
6807 }
6760 if (_json.containsKey("locale")) { 6808 if (_json.containsKey("locale")) {
6761 locale = _json["locale"]; 6809 locale = _json["locale"];
6762 } 6810 }
6763 if (_json.containsKey("timeZone")) { 6811 if (_json.containsKey("timeZone")) {
6764 timeZone = _json["timeZone"]; 6812 timeZone = _json["timeZone"];
6765 } 6813 }
6766 if (_json.containsKey("title")) { 6814 if (_json.containsKey("title")) {
6767 title = _json["title"]; 6815 title = _json["title"];
6768 } 6816 }
6769 } 6817 }
6770 6818
6771 core.Map toJson() { 6819 core.Map toJson() {
6772 var _json = new core.Map(); 6820 var _json = new core.Map();
6773 if (autoRecalc != null) { 6821 if (autoRecalc != null) {
6774 _json["autoRecalc"] = autoRecalc; 6822 _json["autoRecalc"] = autoRecalc;
6775 } 6823 }
6776 if (defaultFormat != null) { 6824 if (defaultFormat != null) {
6777 _json["defaultFormat"] = (defaultFormat).toJson(); 6825 _json["defaultFormat"] = (defaultFormat).toJson();
6778 } 6826 }
6827 if (iterativeCalculationSettings != null) {
6828 _json["iterativeCalculationSettings"] = (iterativeCalculationSettings).toJ son();
6829 }
6779 if (locale != null) { 6830 if (locale != null) {
6780 _json["locale"] = locale; 6831 _json["locale"] = locale;
6781 } 6832 }
6782 if (timeZone != null) { 6833 if (timeZone != null) {
6783 _json["timeZone"] = timeZone; 6834 _json["timeZone"] = timeZone;
6784 } 6835 }
6785 if (title != null) { 6836 if (title != null) {
6786 _json["title"] = title; 6837 _json["title"] = title;
6787 } 6838 }
6788 return _json; 6839 return _json;
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after
7727 } 7778 }
7728 if (range != null) { 7779 if (range != null) {
7729 _json["range"] = range; 7780 _json["range"] = range;
7730 } 7781 }
7731 if (values != null) { 7782 if (values != null) {
7732 _json["values"] = values; 7783 _json["values"] = values;
7733 } 7784 }
7734 return _json; 7785 return _json;
7735 } 7786 }
7736 } 7787 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/serviceuser/v1.dart ('k') | generated/googleapis/lib/slides/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698