OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/drive.readonly": { | 5 "https://www.googleapis.com/auth/drive.readonly": { |
6 "description": "View the files in your Google Drive" | 6 "description": "View the files in your Google Drive" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/spreadsheets.readonly": { | 8 "https://www.googleapis.com/auth/spreadsheets.readonly": { |
9 "description": "View your Google Spreadsheets" | 9 "description": "View your Google Spreadsheets" |
10 }, | 10 }, |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 "required": true, | 259 "required": true, |
260 "type": "string" | 260 "type": "string" |
261 }, | 261 }, |
262 "ranges": { | 262 "ranges": { |
263 "description": "The A1 notation of the value
s to retrieve.", | 263 "description": "The A1 notation of the value
s to retrieve.", |
264 "location": "query", | 264 "location": "query", |
265 "repeated": true, | 265 "repeated": true, |
266 "type": "string" | 266 "type": "string" |
267 }, | 267 }, |
268 "valueRenderOption": { | 268 "valueRenderOption": { |
269 "description": "How values should be represe
nted in the output.", | 269 "description": "How values should be represe
nted in the output.\nThe default render option is ValueRenderOption.FORMATTED_VA
LUE.", |
270 "enum": [ | 270 "enum": [ |
271 "FORMATTED_VALUE", | 271 "FORMATTED_VALUE", |
272 "UNFORMATTED_VALUE", | 272 "UNFORMATTED_VALUE", |
273 "FORMULA" | 273 "FORMULA" |
274 ], | 274 ], |
275 "location": "query", | 275 "location": "query", |
276 "type": "string" | 276 "type": "string" |
277 }, | 277 }, |
278 "dateTimeRenderOption": { | 278 "dateTimeRenderOption": { |
279 "description": "How dates, times, and durati
ons should be represented in the output.\nThis is ignored if value_render_option
is\nFORMATTED_VALUE.", | 279 "description": "How dates, times, and durati
ons should be represented in the output.\nThis is ignored if value_render_option
is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOpti
on.SERIAL_NUMBER].", |
280 "enum": [ | 280 "enum": [ |
281 "SERIAL_NUMBER", | 281 "SERIAL_NUMBER", |
282 "FORMATTED_STRING" | 282 "FORMATTED_STRING" |
283 ], | 283 ], |
284 "location": "query", | 284 "location": "query", |
285 "type": "string" | 285 "type": "string" |
286 }, | 286 }, |
287 "majorDimension": { | 287 "majorDimension": { |
288 "description": "The major dimension that res
ults should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=
4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4
]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,
3],[2,4]]`.", | 288 "description": "The major dimension that res
ults should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=
4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4
]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,
3],[2,4]]`.", |
289 "enum": [ | 289 "enum": [ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 "range" | 342 "range" |
343 ], | 343 ], |
344 "parameters": { | 344 "parameters": { |
345 "spreadsheetId": { | 345 "spreadsheetId": { |
346 "description": "The ID of the spreadsheet to
retrieve data from.", | 346 "description": "The ID of the spreadsheet to
retrieve data from.", |
347 "location": "path", | 347 "location": "path", |
348 "required": true, | 348 "required": true, |
349 "type": "string" | 349 "type": "string" |
350 }, | 350 }, |
351 "valueRenderOption": { | 351 "valueRenderOption": { |
352 "description": "How values should be represe
nted in the output.", | 352 "description": "How values should be represe
nted in the output.\nThe default render option is ValueRenderOption.FORMATTED_VA
LUE.", |
353 "enum": [ | 353 "enum": [ |
354 "FORMATTED_VALUE", | 354 "FORMATTED_VALUE", |
355 "UNFORMATTED_VALUE", | 355 "UNFORMATTED_VALUE", |
356 "FORMULA" | 356 "FORMULA" |
357 ], | 357 ], |
358 "location": "query", | 358 "location": "query", |
359 "type": "string" | 359 "type": "string" |
360 }, | 360 }, |
361 "dateTimeRenderOption": { | 361 "dateTimeRenderOption": { |
362 "description": "How dates, times, and durati
ons should be represented in the output.\nThis is ignored if value_render_option
is\nFORMATTED_VALUE.", | 362 "description": "How dates, times, and durati
ons should be represented in the output.\nThis is ignored if value_render_option
is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOpti
on.SERIAL_NUMBER].", |
363 "enum": [ | 363 "enum": [ |
364 "SERIAL_NUMBER", | 364 "SERIAL_NUMBER", |
365 "FORMATTED_STRING" | 365 "FORMATTED_STRING" |
366 ], | 366 ], |
367 "location": "query", | 367 "location": "query", |
368 "type": "string" | 368 "type": "string" |
369 }, | 369 }, |
370 "range": { | 370 "range": { |
371 "description": "The A1 notation of the value
s to retrieve.", | 371 "description": "The A1 notation of the value
s to retrieve.", |
372 "location": "path", | 372 "location": "path", |
(...skipping 24 matching lines...) Expand all Loading... |
397 }, | 397 }, |
398 "append": { | 398 "append": { |
399 "description": "Appends values to a spreadsheet. The
input range is used to search for\nexisting data and find a \"table\" within th
at range. Values will be\nappended to the next row of the table, starting with t
he first column of\nthe table. See the\n[guide](/sheets/guides/values#appending_
values)\nand\n[sample code](/sheets/samples/writing#append_values)\nfor specific
details of how tables are detected and data is appended.\n\nThe caller must spe
cify the spreadsheet ID, range, and\na valueInputOption. The `valueInputOption`
only\ncontrols how the input data will be added to the sheet (column-wise or\nr
ow-wise), it does not influence what cell the data starts being written\nto.", | 399 "description": "Appends values to a spreadsheet. The
input range is used to search for\nexisting data and find a \"table\" within th
at range. Values will be\nappended to the next row of the table, starting with t
he first column of\nthe table. See the\n[guide](/sheets/guides/values#appending_
values)\nand\n[sample code](/sheets/samples/writing#append_values)\nfor specific
details of how tables are detected and data is appended.\n\nThe caller must spe
cify the spreadsheet ID, range, and\na valueInputOption. The `valueInputOption`
only\ncontrols how the input data will be added to the sheet (column-wise or\nr
ow-wise), it does not influence what cell the data starts being written\nto.", |
400 "httpMethod": "POST", | 400 "httpMethod": "POST", |
401 "id": "sheets.spreadsheets.values.append", | 401 "id": "sheets.spreadsheets.values.append", |
402 "parameterOrder": [ | 402 "parameterOrder": [ |
403 "spreadsheetId", | 403 "spreadsheetId", |
404 "range" | 404 "range" |
405 ], | 405 ], |
406 "parameters": { | 406 "parameters": { |
| 407 "responseValueRenderOption": { |
| 408 "description": "Determines how values in the
response should be rendered.\nThe default render option is ValueRenderOption.FO
RMATTED_VALUE.", |
| 409 "enum": [ |
| 410 "FORMATTED_VALUE", |
| 411 "UNFORMATTED_VALUE", |
| 412 "FORMULA" |
| 413 ], |
| 414 "location": "query", |
| 415 "type": "string" |
| 416 }, |
407 "valueInputOption": { | 417 "valueInputOption": { |
408 "description": "How the input data should be
interpreted.", | 418 "description": "How the input data should be
interpreted.", |
409 "enum": [ | 419 "enum": [ |
410 "INPUT_VALUE_OPTION_UNSPECIFIED", | 420 "INPUT_VALUE_OPTION_UNSPECIFIED", |
411 "RAW", | 421 "RAW", |
412 "USER_ENTERED" | 422 "USER_ENTERED" |
413 ], | 423 ], |
414 "location": "query", | 424 "location": "query", |
415 "type": "string" | 425 "type": "string" |
416 }, | 426 }, |
| 427 "responseDateTimeRenderOption": { |
| 428 "description": "Determines how dates, times,
and durations in the response should be\nrendered. This is ignored if response_
value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is
[DateTimeRenderOption.SERIAL_NUMBER].", |
| 429 "enum": [ |
| 430 "SERIAL_NUMBER", |
| 431 "FORMATTED_STRING" |
| 432 ], |
| 433 "location": "query", |
| 434 "type": "string" |
| 435 }, |
| 436 "includeValuesInResponse": { |
| 437 "description": "Determines if the update res
ponse should include the values\nof the cells that were appended. By default, re
sponses\ndo not include the updated values.", |
| 438 "location": "query", |
| 439 "type": "boolean" |
| 440 }, |
417 "spreadsheetId": { | 441 "spreadsheetId": { |
418 "description": "The ID of the spreadsheet to
update.", | 442 "description": "The ID of the spreadsheet to
update.", |
419 "location": "path", | 443 "location": "path", |
420 "required": true, | 444 "required": true, |
421 "type": "string" | 445 "type": "string" |
422 }, | 446 }, |
| 447 "range": { |
| 448 "description": "The A1 notation of a range t
o search for a logical table of data.\nValues will be appended after the last ro
w of the table.", |
| 449 "location": "path", |
| 450 "required": true, |
| 451 "type": "string" |
| 452 }, |
423 "insertDataOption": { | 453 "insertDataOption": { |
424 "description": "How the input data should be
inserted.", | 454 "description": "How the input data should be
inserted.", |
425 "enum": [ | 455 "enum": [ |
426 "OVERWRITE", | 456 "OVERWRITE", |
427 "INSERT_ROWS" | 457 "INSERT_ROWS" |
428 ], | 458 ], |
429 "location": "query", | 459 "location": "query", |
430 "type": "string" | 460 "type": "string" |
431 }, | |
432 "range": { | |
433 "description": "The A1 notation of a range t
o search for a logical table of data.\nValues will be appended after the last ro
w of the table.", | |
434 "location": "path", | |
435 "required": true, | |
436 "type": "string" | |
437 } | 461 } |
438 }, | 462 }, |
439 "path": "v4/spreadsheets/{spreadsheetId}/values/{ran
ge}:append", | 463 "path": "v4/spreadsheets/{spreadsheetId}/values/{ran
ge}:append", |
440 "request": { | 464 "request": { |
441 "$ref": "ValueRange" | 465 "$ref": "ValueRange" |
442 }, | 466 }, |
443 "response": { | 467 "response": { |
444 "$ref": "AppendValuesResponse" | 468 "$ref": "AppendValuesResponse" |
445 }, | 469 }, |
446 "scopes": [ | 470 "scopes": [ |
447 "https://www.googleapis.com/auth/drive", | 471 "https://www.googleapis.com/auth/drive", |
448 "https://www.googleapis.com/auth/spreadsheets" | 472 "https://www.googleapis.com/auth/spreadsheets" |
449 ] | 473 ] |
450 }, | 474 }, |
451 "update": { | 475 "update": { |
452 "description": "Sets values in a range of a spreadsh
eet.\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption
.", | 476 "description": "Sets values in a range of a spreadsh
eet.\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption
.", |
453 "httpMethod": "PUT", | 477 "httpMethod": "PUT", |
454 "id": "sheets.spreadsheets.values.update", | 478 "id": "sheets.spreadsheets.values.update", |
455 "parameterOrder": [ | 479 "parameterOrder": [ |
456 "spreadsheetId", | 480 "spreadsheetId", |
457 "range" | 481 "range" |
458 ], | 482 ], |
459 "parameters": { | 483 "parameters": { |
| 484 "responseValueRenderOption": { |
| 485 "description": "Determines how values in the
response should be rendered.\nThe default render option is ValueRenderOption.FO
RMATTED_VALUE.", |
| 486 "enum": [ |
| 487 "FORMATTED_VALUE", |
| 488 "UNFORMATTED_VALUE", |
| 489 "FORMULA" |
| 490 ], |
| 491 "location": "query", |
| 492 "type": "string" |
| 493 }, |
460 "valueInputOption": { | 494 "valueInputOption": { |
461 "description": "How the input data should be
interpreted.", | 495 "description": "How the input data should be
interpreted.", |
462 "enum": [ | 496 "enum": [ |
463 "INPUT_VALUE_OPTION_UNSPECIFIED", | 497 "INPUT_VALUE_OPTION_UNSPECIFIED", |
464 "RAW", | 498 "RAW", |
465 "USER_ENTERED" | 499 "USER_ENTERED" |
466 ], | 500 ], |
467 "location": "query", | 501 "location": "query", |
468 "type": "string" | 502 "type": "string" |
469 }, | 503 }, |
| 504 "responseDateTimeRenderOption": { |
| 505 "description": "Determines how dates, times,
and durations in the response should be\nrendered. This is ignored if response_
value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is
[DateTimeRenderOption.SERIAL_NUMBER].", |
| 506 "enum": [ |
| 507 "SERIAL_NUMBER", |
| 508 "FORMATTED_STRING" |
| 509 ], |
| 510 "location": "query", |
| 511 "type": "string" |
| 512 }, |
| 513 "includeValuesInResponse": { |
| 514 "description": "Determines if the update res
ponse should include the values\nof the cells that were updated. By default, res
ponses\ndo not include the updated values.\nIf the range to write was larger tha
n than the range actually written,\nthe response will include all values in the
requested range (excluding\ntrailing empty rows and columns).", |
| 515 "location": "query", |
| 516 "type": "boolean" |
| 517 }, |
470 "spreadsheetId": { | 518 "spreadsheetId": { |
471 "description": "The ID of the spreadsheet to
update.", | 519 "description": "The ID of the spreadsheet to
update.", |
472 "location": "path", | 520 "location": "path", |
473 "required": true, | 521 "required": true, |
474 "type": "string" | 522 "type": "string" |
475 }, | 523 }, |
476 "range": { | 524 "range": { |
477 "description": "The A1 notation of the value
s to update.", | 525 "description": "The A1 notation of the value
s to update.", |
478 "location": "path", | 526 "location": "path", |
479 "required": true, | 527 "required": true, |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 "scopes": [ | 604 "scopes": [ |
557 "https://www.googleapis.com/auth/drive", | 605 "https://www.googleapis.com/auth/drive", |
558 "https://www.googleapis.com/auth/spreadsheets" | 606 "https://www.googleapis.com/auth/spreadsheets" |
559 ] | 607 ] |
560 } | 608 } |
561 } | 609 } |
562 } | 610 } |
563 } | 611 } |
564 } | 612 } |
565 }, | 613 }, |
566 "revision": "20161021", | 614 "revision": "20161209", |
567 "rootUrl": "https://sheets.googleapis.com/", | 615 "rootUrl": "https://sheets.googleapis.com/", |
568 "schemas": { | 616 "schemas": { |
569 "AddNamedRangeResponse": { | 617 "AddNamedRangeResponse": { |
570 "description": "The result of adding a named range.", | 618 "description": "The result of adding a named range.", |
571 "id": "AddNamedRangeResponse", | 619 "id": "AddNamedRangeResponse", |
572 "properties": { | 620 "properties": { |
573 "namedRange": { | 621 "namedRange": { |
574 "$ref": "NamedRange", | 622 "$ref": "NamedRange", |
575 "description": "The named range to add." | 623 "description": "The named range to add." |
576 } | 624 } |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 "$ref": "NamedRange", | 908 "$ref": "NamedRange", |
861 "description": "The named range to update with the new prope
rties." | 909 "description": "The named range to update with the new prope
rties." |
862 } | 910 } |
863 }, | 911 }, |
864 "type": "object" | 912 "type": "object" |
865 }, | 913 }, |
866 "UpdateValuesResponse": { | 914 "UpdateValuesResponse": { |
867 "description": "The response when updating a range of values in a sp
readsheet.", | 915 "description": "The response when updating a range of values in a sp
readsheet.", |
868 "id": "UpdateValuesResponse", | 916 "id": "UpdateValuesResponse", |
869 "properties": { | 917 "properties": { |
870 "updatedRange": { | |
871 "description": "The range (in A1 notation) that updates were
applied to.", | |
872 "type": "string" | |
873 }, | |
874 "updatedColumns": { | 918 "updatedColumns": { |
875 "description": "The number of columns where at least one cel
l in the column was updated.", | 919 "description": "The number of columns where at least one cel
l in the column was updated.", |
876 "format": "int32", | 920 "format": "int32", |
877 "type": "integer" | 921 "type": "integer" |
878 }, | 922 }, |
| 923 "updatedCells": { |
| 924 "description": "The number of cells updated.", |
| 925 "format": "int32", |
| 926 "type": "integer" |
| 927 }, |
| 928 "updatedData": { |
| 929 "$ref": "ValueRange", |
| 930 "description": "The values of the cells after updates were a
pplied.\nThis is only included if the request's `includeValuesInResponse` field\
nwas `true`." |
| 931 }, |
| 932 "updatedRange": { |
| 933 "description": "The range (in A1 notation) that updates were
applied to.", |
| 934 "type": "string" |
| 935 }, |
879 "spreadsheetId": { | 936 "spreadsheetId": { |
880 "description": "The spreadsheet the updates were applied to.
", | 937 "description": "The spreadsheet the updates were applied to.
", |
881 "type": "string" | 938 "type": "string" |
882 }, | 939 }, |
883 "updatedRows": { | 940 "updatedRows": { |
884 "description": "The number of rows where at least one cell i
n the row was updated.", | 941 "description": "The number of rows where at least one cell i
n the row was updated.", |
885 "format": "int32", | 942 "format": "int32", |
886 "type": "integer" | 943 "type": "integer" |
887 }, | |
888 "updatedCells": { | |
889 "description": "The number of cells updated.", | |
890 "format": "int32", | |
891 "type": "integer" | |
892 } | 944 } |
893 }, | 945 }, |
894 "type": "object" | 946 "type": "object" |
895 }, | 947 }, |
896 "SpreadsheetProperties": { | 948 "SpreadsheetProperties": { |
897 "description": "Properties of a spreadsheet.", | 949 "description": "Properties of a spreadsheet.", |
898 "id": "SpreadsheetProperties", | 950 "id": "SpreadsheetProperties", |
899 "properties": { | 951 "properties": { |
900 "timeZone": { | 952 "timeZone": { |
901 "description": "The time zone of the spreadsheet, in CLDR fo
rmat such as\n`America/New_York`. If the time zone isn't recognized, this may\nb
e a custom time zone such as `GMT-07:00`.", | 953 "description": "The time zone of the spreadsheet, in CLDR fo
rmat such as\n`America/New_York`. If the time zone isn't recognized, this may\nb
e a custom time zone such as `GMT-07:00`.", |
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1523 "The values will be parsed as if the user typed them int
o the UI.\nNumbers will stay as numbers, but strings may be converted to numbers
,\ndates, etc. following the same rules that are applied when entering\ntext int
o a cell via the Google Sheets UI." | 1575 "The values will be parsed as if the user typed them int
o the UI.\nNumbers will stay as numbers, but strings may be converted to numbers
,\ndates, etc. following the same rules that are applied when entering\ntext int
o a cell via the Google Sheets UI." |
1524 ], | 1576 ], |
1525 "type": "string" | 1577 "type": "string" |
1526 }, | 1578 }, |
1527 "data": { | 1579 "data": { |
1528 "description": "The new values to apply to the spreadsheet."
, | 1580 "description": "The new values to apply to the spreadsheet."
, |
1529 "items": { | 1581 "items": { |
1530 "$ref": "ValueRange" | 1582 "$ref": "ValueRange" |
1531 }, | 1583 }, |
1532 "type": "array" | 1584 "type": "array" |
| 1585 }, |
| 1586 "responseValueRenderOption": { |
| 1587 "description": "Determines how values in the response should
be rendered.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.", |
| 1588 "enum": [ |
| 1589 "FORMATTED_VALUE", |
| 1590 "UNFORMATTED_VALUE", |
| 1591 "FORMULA" |
| 1592 ], |
| 1593 "enumDescriptions": [ |
| 1594 "Values will be calculated & formatted in the reply acco
rding to the\ncell's formatting. Formatting is based on the spreadsheet's local
e,\nnot the requesting user's locale.\nFor example, if `A1` is `1.23` and `A2` i
s `=A1` and formatted as currency,\nthen `A2` would return `\"$1.23\"`.", |
| 1595 "Values will be calculated, but not formatted in the rep
ly.\nFor example, if `A1` is `1.23` and `A2` is `=A1` and formatted as currency,
\nthen `A2` would return the number `1.23`.", |
| 1596 "Values will not be calculated. The reply will include
the formulas.\nFor example, if `A1` is `1.23` and `A2` is `=A1` and formatted as
currency,\nthen A2 would return `\"=A1\"`." |
| 1597 ], |
| 1598 "type": "string" |
| 1599 }, |
| 1600 "responseDateTimeRenderOption": { |
| 1601 "description": "Determines how dates, times, and durations i
n the response should be\nrendered. This is ignored if response_value_render_opt
ion is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderO
ption.SERIAL_NUMBER].", |
| 1602 "enum": [ |
| 1603 "SERIAL_NUMBER", |
| 1604 "FORMATTED_STRING" |
| 1605 ], |
| 1606 "enumDescriptions": [ |
| 1607 "Instructs date, time, datetime, and duration fields to
be output\nas doubles in \"serial number\" format, as popularized by Lotus 1-2-3
.\nDays are counted from December 31st 1899 and are incremented by 1,\nand times
are fractions of a day. For example, January 1st 1900 at noon\nwould be 1.5, 1
because it's 1 day offset from December 31st 1899,\nand .5 because noon is half
a day. February 1st 1900 at 3pm would\nbe 32.625. This correctly treats the ye
ar 1900 as not a leap year.", |
| 1608 "Instructs date, time, datetime, and duration fields to
be output\nas strings in their given number format (which is dependent\non the s
preadsheet locale)." |
| 1609 ], |
| 1610 "type": "string" |
| 1611 }, |
| 1612 "includeValuesInResponse": { |
| 1613 "description": "Determines if the update response should inc
lude the values\nof the cells that were updated. By default, responses\ndo not i
nclude the updated values. The `updatedData` field within\neach of the BatchUpda
teValuesResponse.responses will contain\nthe updated values. If the range to wri
te was larger than than the range\nactually written, the response will include a
ll values in the requested\nrange (excluding trailing empty rows and columns).", |
| 1614 "type": "boolean" |
1533 } | 1615 } |
1534 }, | 1616 }, |
1535 "type": "object" | 1617 "type": "object" |
1536 }, | 1618 }, |
1537 "ClearBasicFilterRequest": { | 1619 "ClearBasicFilterRequest": { |
1538 "description": "Clears the basic filter, if any exists on the sheet.
", | 1620 "description": "Clears the basic filter, if any exists on the sheet.
", |
1539 "id": "ClearBasicFilterRequest", | 1621 "id": "ClearBasicFilterRequest", |
1540 "properties": { | 1622 "properties": { |
1541 "sheetId": { | 1623 "sheetId": { |
1542 "description": "The sheet ID on which the basic filter shoul
d be cleared.", | 1624 "description": "The sheet ID on which the basic filter shoul
d be cleared.", |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2107 "format": "int32", | 2189 "format": "int32", |
2108 "type": "integer" | 2190 "type": "integer" |
2109 } | 2191 } |
2110 }, | 2192 }, |
2111 "type": "object" | 2193 "type": "object" |
2112 }, | 2194 }, |
2113 "BatchUpdateSpreadsheetRequest": { | 2195 "BatchUpdateSpreadsheetRequest": { |
2114 "description": "The request for updating any aspect of a spreadsheet
.", | 2196 "description": "The request for updating any aspect of a spreadsheet
.", |
2115 "id": "BatchUpdateSpreadsheetRequest", | 2197 "id": "BatchUpdateSpreadsheetRequest", |
2116 "properties": { | 2198 "properties": { |
| 2199 "includeSpreadsheetInResponse": { |
| 2200 "description": "Determines if the update response should inc
lude the spreadsheet\nresource.", |
| 2201 "type": "boolean" |
| 2202 }, |
2117 "requests": { | 2203 "requests": { |
2118 "description": "A list of updates to apply to the spreadshee
t.", | 2204 "description": "A list of updates to apply to the spreadshee
t.", |
2119 "items": { | 2205 "items": { |
2120 "$ref": "Request" | 2206 "$ref": "Request" |
2121 }, | 2207 }, |
2122 "type": "array" | 2208 "type": "array" |
| 2209 }, |
| 2210 "responseRanges": { |
| 2211 "description": "Limits the ranges included in the response s
preadsheet.\nMeaningful only if include_spreadsheet_response is 'true'.", |
| 2212 "items": { |
| 2213 "type": "string" |
| 2214 }, |
| 2215 "type": "array" |
| 2216 }, |
| 2217 "responseIncludeGridData": { |
| 2218 "description": "True if grid data should be returned. Meanin
gful only if\nif include_spreadsheet_response is 'true'.\nThis parameter is igno
red if a field mask was set in the request.", |
| 2219 "type": "boolean" |
2123 } | 2220 } |
2124 }, | 2221 }, |
2125 "type": "object" | 2222 "type": "object" |
2126 }, | 2223 }, |
2127 "SheetProperties": { | 2224 "SheetProperties": { |
2128 "description": "Properties of a sheet.", | 2225 "description": "Properties of a sheet.", |
2129 "id": "SheetProperties", | 2226 "id": "SheetProperties", |
2130 "properties": { | 2227 "properties": { |
2131 "title": { | 2228 "title": { |
2132 "description": "The name of the sheet.", | 2229 "description": "The name of the sheet.", |
2133 "type": "string" | 2230 "type": "string" |
2134 }, | 2231 }, |
2135 "index": { | 2232 "index": { |
2136 "description": "The index of the sheet within the spreadshee
t.\nWhen adding or updating sheet properties, if this field\nis excluded then th
e sheet will be added or moved to the end\nof the sheet list.", | 2233 "description": "The index of the sheet within the spreadshee
t.\nWhen adding or updating sheet properties, if this field\nis excluded then th
e sheet will be added or moved to the end\nof the sheet list. When updating shee
t indices or inserting\nsheets, movement is considered in \"before the move\" in
dexes.\nFor example, if there were 3 sheets (S1, S2, S3) in order to\nmove S1 ah
ead of S2 the index would have to be set to 2. A sheet\nindex update request wil
l be ignored if the requested index is\nidentical to the sheets current index or
if the requested new\nindex is equal to the current sheet index + 1.", |
2137 "format": "int32", | 2234 "format": "int32", |
2138 "type": "integer" | 2235 "type": "integer" |
2139 }, | 2236 }, |
2140 "hidden": { | 2237 "hidden": { |
2141 "description": "True if the sheet is hidden in the UI, false
if it's visible.", | 2238 "description": "True if the sheet is hidden in the UI, false
if it's visible.", |
2142 "type": "boolean" | 2239 "type": "boolean" |
2143 }, | 2240 }, |
2144 "gridProperties": { | 2241 "gridProperties": { |
2145 "$ref": "GridProperties", | 2242 "$ref": "GridProperties", |
2146 "description": "Additional properties of the sheet if this s
heet is a grid.\n(If the sheet is an object sheet, containing a chart or image,
then\nthis field will be absent.)\nWhen writing it is an error to set any grid p
roperties on non-grid sheets." | 2243 "description": "Additional properties of the sheet if this s
heet is a grid.\n(If the sheet is an object sheet, containing a chart or image,
then\nthis field will be absent.)\nWhen writing it is an error to set any grid p
roperties on non-grid sheets." |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2568 "id": "Spreadsheet", | 2665 "id": "Spreadsheet", |
2569 "properties": { | 2666 "properties": { |
2570 "spreadsheetId": { | 2667 "spreadsheetId": { |
2571 "description": "The ID of the spreadsheet.\nThis field is re
ad-only.", | 2668 "description": "The ID of the spreadsheet.\nThis field is re
ad-only.", |
2572 "type": "string" | 2669 "type": "string" |
2573 }, | 2670 }, |
2574 "properties": { | 2671 "properties": { |
2575 "$ref": "SpreadsheetProperties", | 2672 "$ref": "SpreadsheetProperties", |
2576 "description": "Overall properties of a spreadsheet." | 2673 "description": "Overall properties of a spreadsheet." |
2577 }, | 2674 }, |
| 2675 "spreadsheetUrl": { |
| 2676 "description": "The url of the spreadsheet.\nThis field is r
ead-only.", |
| 2677 "type": "string" |
| 2678 }, |
2578 "sheets": { | 2679 "sheets": { |
2579 "description": "The sheets that are part of a spreadsheet.", | 2680 "description": "The sheets that are part of a spreadsheet.", |
2580 "items": { | 2681 "items": { |
2581 "$ref": "Sheet" | 2682 "$ref": "Sheet" |
2582 }, | 2683 }, |
2583 "type": "array" | 2684 "type": "array" |
2584 }, | 2685 }, |
2585 "namedRanges": { | 2686 "namedRanges": { |
2586 "description": "The named ranges defined in a spreadsheet.", | 2687 "description": "The named ranges defined in a spreadsheet.", |
2587 "items": { | 2688 "items": { |
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3405 "type": "object" | 3506 "type": "object" |
3406 }, | 3507 }, |
3407 "BatchUpdateSpreadsheetResponse": { | 3508 "BatchUpdateSpreadsheetResponse": { |
3408 "description": "The reply for batch updating a spreadsheet.", | 3509 "description": "The reply for batch updating a spreadsheet.", |
3409 "id": "BatchUpdateSpreadsheetResponse", | 3510 "id": "BatchUpdateSpreadsheetResponse", |
3410 "properties": { | 3511 "properties": { |
3411 "spreadsheetId": { | 3512 "spreadsheetId": { |
3412 "description": "The spreadsheet the updates were applied to.
", | 3513 "description": "The spreadsheet the updates were applied to.
", |
3413 "type": "string" | 3514 "type": "string" |
3414 }, | 3515 }, |
| 3516 "updatedSpreadsheet": { |
| 3517 "$ref": "Spreadsheet", |
| 3518 "description": "The spreadsheet after updates were applied.
This is only set if\n[BatchUpdateSpreadsheetRequest.include_spreadsheet_in_respo
nse] is `true`." |
| 3519 }, |
3415 "replies": { | 3520 "replies": { |
3416 "description": "The reply of the updates. This maps 1:1 wit
h the updates, although\nreplies to some requests may be empty.", | 3521 "description": "The reply of the updates. This maps 1:1 wit
h the updates, although\nreplies to some requests may be empty.", |
3417 "items": { | 3522 "items": { |
3418 "$ref": "Response" | 3523 "$ref": "Response" |
3419 }, | 3524 }, |
3420 "type": "array" | 3525 "type": "array" |
3421 } | 3526 } |
3422 }, | 3527 }, |
3423 "type": "object" | 3528 "type": "object" |
3424 }, | 3529 }, |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3988 "description": "The rule that was deleted." | 4093 "description": "The rule that was deleted." |
3989 } | 4094 } |
3990 }, | 4095 }, |
3991 "type": "object" | 4096 "type": "object" |
3992 } | 4097 } |
3993 }, | 4098 }, |
3994 "servicePath": "", | 4099 "servicePath": "", |
3995 "title": "Google Sheets API", | 4100 "title": "Google Sheets API", |
3996 "version": "v4" | 4101 "version": "v4" |
3997 } | 4102 } |
OLD | NEW |