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

Side by Side Diff: discovery/googleapis/sheets__v4.json

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
« no previous file with comments | « discovery/googleapis/servicemanagement__v1.json ('k') | discovery/googleapis/storage__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 }, 204 },
205 "scopes": [ 205 "scopes": [
206 "https://www.googleapis.com/auth/drive", 206 "https://www.googleapis.com/auth/drive",
207 "https://www.googleapis.com/auth/spreadsheets" 207 "https://www.googleapis.com/auth/spreadsheets"
208 ] 208 ]
209 } 209 }
210 }, 210 },
211 "resources": { 211 "resources": {
212 "values": { 212 "values": {
213 "methods": { 213 "methods": {
214 "append": {
215 "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.",
216 "httpMethod": "POST",
217 "id": "sheets.spreadsheets.values.append",
218 "parameterOrder": [
219 "spreadsheetId",
220 "range"
221 ],
222 "parameters": {
223 "valueInputOption": {
224 "description": "How the input data should be interpreted.",
225 "enum": [
226 "INPUT_VALUE_OPTION_UNSPECIFIED",
227 "RAW",
228 "USER_ENTERED"
229 ],
230 "location": "query",
231 "type": "string"
232 },
233 "spreadsheetId": {
234 "description": "The ID of the spreadsheet to update.",
235 "location": "path",
236 "required": true,
237 "type": "string"
238 },
239 "insertDataOption": {
240 "description": "How the input data should be inserted.",
241 "enum": [
242 "OVERWRITE",
243 "INSERT_ROWS"
244 ],
245 "location": "query",
246 "type": "string"
247 },
248 "range": {
249 "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.",
250 "location": "path",
251 "required": true,
252 "type": "string"
253 }
254 },
255 "path": "v4/spreadsheets/{spreadsheetId}/values/{ran ge}:append",
256 "request": {
257 "$ref": "ValueRange"
258 },
259 "response": {
260 "$ref": "AppendValuesResponse"
261 },
262 "scopes": [
263 "https://www.googleapis.com/auth/drive",
264 "https://www.googleapis.com/auth/spreadsheets"
265 ]
266 },
214 "update": { 267 "update": {
215 "description": "Sets values in a range of a spreadsh eet.\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption .", 268 "description": "Sets values in a range of a spreadsh eet.\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption .",
216 "httpMethod": "PUT", 269 "httpMethod": "PUT",
217 "id": "sheets.spreadsheets.values.update", 270 "id": "sheets.spreadsheets.values.update",
218 "parameterOrder": [ 271 "parameterOrder": [
219 "spreadsheetId", 272 "spreadsheetId",
220 "range" 273 "range"
221 ], 274 ],
222 "parameters": { 275 "parameters": {
223 "valueInputOption": { 276 "valueInputOption": {
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 "scopes": [ 495 "scopes": [
443 "https://www.googleapis.com/auth/drive", 496 "https://www.googleapis.com/auth/drive",
444 "https://www.googleapis.com/auth/spreadsheets" 497 "https://www.googleapis.com/auth/spreadsheets"
445 ] 498 ]
446 } 499 }
447 } 500 }
448 } 501 }
449 } 502 }
450 } 503 }
451 }, 504 },
452 "revision": "20160708", 505 "revision": "20160804",
453 "rootUrl": "https://sheets.googleapis.com/", 506 "rootUrl": "https://sheets.googleapis.com/",
454 "schemas": { 507 "schemas": {
455 "AddNamedRangeResponse": { 508 "AddNamedRangeResponse": {
456 "description": "The result of adding a named range.", 509 "description": "The result of adding a named range.",
457 "id": "AddNamedRangeResponse", 510 "id": "AddNamedRangeResponse",
458 "properties": { 511 "properties": {
459 "namedRange": { 512 "namedRange": {
460 "$ref": "NamedRange", 513 "$ref": "NamedRange",
461 "description": "The named range to add." 514 "description": "The named range to add."
462 } 515 }
463 }, 516 },
464 "type": "object" 517 "type": "object"
465 }, 518 },
466 "UpdateProtectedRangeRequest": { 519 "UpdateProtectedRangeRequest": {
467 "description": "Updates an existing protected range with the specifi ed\nprotectedRangeId.", 520 "description": "Updates an existing protected range with the specifi ed\nprotectedRangeId.",
468 "id": "UpdateProtectedRangeRequest", 521 "id": "UpdateProtectedRangeRequest",
469 "properties": { 522 "properties": {
470 "protectedRange": { 523 "protectedRange": {
471 "$ref": "ProtectedRange", 524 "$ref": "ProtectedRange",
472 "description": "The protected range to update with the new p roperties. If a nonzero\nprotectedRangeId is\nspecified, the protected range wil l use that ID. (It is an error to\nspecify the ID of a protected range that alre ady exists.)" 525 "description": "The protected range to update with the new p roperties."
473 }, 526 },
474 "fields": { 527 "fields": {
475 "description": "The fields that should be updated. At least one field must be specified.\nThe root `protectedRange` is implied and should n ot be specified.\nA single `\"*\"` can be used as short-hand for listing every f ield.", 528 "description": "The fields that should be updated. At least one field must be specified.\nThe root `protectedRange` is implied and should n ot be specified.\nA single `\"*\"` can be used as short-hand for listing every f ield.",
476 "format": "google-fieldmask", 529 "format": "google-fieldmask",
477 "type": "string" 530 "type": "string"
478 } 531 }
479 }, 532 },
480 "type": "object" 533 "type": "object"
481 }, 534 },
482 "Padding": { 535 "Padding": {
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 } 1595 }
1543 }, 1596 },
1544 "type": "object" 1597 "type": "object"
1545 }, 1598 },
1546 "AddSheetRequest": { 1599 "AddSheetRequest": {
1547 "description": "Adds a new sheet.\nWhen a sheet is added at a given index,\nall subsequent sheets' indexes are incremented.\nTo add an object sheet, use AddChartRequest instead and specify\nEmbeddedObjectPosition.sheetId or\nEmb eddedObjectPosition.newSheet.", 1600 "description": "Adds a new sheet.\nWhen a sheet is added at a given index,\nall subsequent sheets' indexes are incremented.\nTo add an object sheet, use AddChartRequest instead and specify\nEmbeddedObjectPosition.sheetId or\nEmb eddedObjectPosition.newSheet.",
1548 "id": "AddSheetRequest", 1601 "id": "AddSheetRequest",
1549 "properties": { 1602 "properties": {
1550 "properties": { 1603 "properties": {
1551 "$ref": "SheetProperties", 1604 "$ref": "SheetProperties",
1552 "description": "The properties the new sheet should have.\nA ll properties are optional.\nIf a sheetId\nis specified, the sheet will use that ID.\n(It is an error to specify the ID of a sheet that already exists.)" 1605 "description": "The properties the new sheet should have.\nA ll properties are optional.\nThe sheetId field is optional; if one is not\nset, an id will be randomly generated. (It is an error to specify the ID\nof a sheet that already exists.)"
1553 } 1606 }
1554 }, 1607 },
1555 "type": "object" 1608 "type": "object"
1556 }, 1609 },
1557 "AddProtectedRangeRequest": { 1610 "AddProtectedRangeRequest": {
1558 "description": "Adds a new protected range.", 1611 "description": "Adds a new protected range.",
1559 "id": "AddProtectedRangeRequest", 1612 "id": "AddProtectedRangeRequest",
1560 "properties": { 1613 "properties": {
1561 "protectedRange": { 1614 "protectedRange": {
1562 "$ref": "ProtectedRange", 1615 "$ref": "ProtectedRange",
1563 "description": "The protected range to be added." 1616 "description": "The protected range to be added. The\nprotec tedRangeId field is optional; if\none is not set, an id will be randomly generat ed. (It is an error to\nspecify the ID of a range that already exists.)"
1564 } 1617 }
1565 }, 1618 },
1566 "type": "object" 1619 "type": "object"
1567 }, 1620 },
1568 "ValueRange": { 1621 "ValueRange": {
1569 "description": "Data within a range of the spreadsheet.", 1622 "description": "Data within a range of the spreadsheet.",
1570 "id": "ValueRange", 1623 "id": "ValueRange",
1571 "properties": { 1624 "properties": {
1572 "values": { 1625 "values": {
1573 "description": "The data that was read or to be written. Th is is an array of arrays,\nthe outer array representing all the data and each in ner array\nrepresenting a major dimension. Each item in the inner array\ncorresp onds with one cell.\n\nFor output, empty trailing rows and columns will not be i ncluded.\n\nFor input, supported value types are: bool, string, and double.\nNul l values will be skipped.\nTo set a cell to an empty value, set the string value to an empty string.", 1626 "description": "The data that was read or to be written. Th is is an array of arrays,\nthe outer array representing all the data and each in ner array\nrepresenting a major dimension. Each item in the inner array\ncorresp onds with one cell.\n\nFor output, empty trailing rows and columns will not be i ncluded.\n\nFor input, supported value types are: bool, string, and double.\nNul l values will be skipped.\nTo set a cell to an empty value, set the string value to an empty string.",
1574 "items": { 1627 "items": {
1575 "items": { 1628 "items": {
1576 "type": "any" 1629 "type": "any"
1577 }, 1630 },
1578 "type": "array" 1631 "type": "array"
1579 }, 1632 },
1580 "type": "array" 1633 "type": "array"
1581 }, 1634 },
1582 "range": { 1635 "range": {
1583 "description": "The range the values cover, in A1 notation.\ nFor output, this range indicates the entire requested range,\neven though the v alues will exclude trailing rows and columns.", 1636 "description": "The range the values cover, in A1 notation.\ nFor output, this range indicates the entire requested range,\neven though the v alues will exclude trailing rows and columns.\nWhen appending values, this field represents the range to search for a\ntable, after which values will be appende d.",
1584 "type": "string" 1637 "type": "string"
1585 }, 1638 },
1586 "majorDimension": { 1639 "majorDimension": {
1587 "description": "The major dimension of the values.\n\nFor ou tput, 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 `r ange=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.\n\nFor input, w ith `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]`\nwill set `A1=1,B1=2, A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS`\nthen `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`.\n\nWhen writing, if this field is not set, it defaul ts to ROWS.", 1640 "description": "The major dimension of the values.\n\nFor ou tput, 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 `r ange=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.\n\nFor input, w ith `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]`\nwill set `A1=1,B1=2, A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS`\nthen `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`.\n\nWhen writing, if this field is not set, it defaul ts to ROWS.",
1588 "enum": [ 1641 "enum": [
1589 "DIMENSION_UNSPECIFIED", 1642 "DIMENSION_UNSPECIFIED",
1590 "ROWS", 1643 "ROWS",
1591 "COLUMNS" 1644 "COLUMNS"
1592 ], 1645 ],
1593 "enumDescriptions": [ 1646 "enumDescriptions": [
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1625 "type": "integer" 1678 "type": "integer"
1626 }, 1679 },
1627 "sheetsChanged": { 1680 "sheetsChanged": {
1628 "description": "The number of sheets changed.", 1681 "description": "The number of sheets changed.",
1629 "format": "int32", 1682 "format": "int32",
1630 "type": "integer" 1683 "type": "integer"
1631 } 1684 }
1632 }, 1685 },
1633 "type": "object" 1686 "type": "object"
1634 }, 1687 },
1688 "AppendValuesResponse": {
1689 "description": "The response when updating a range of values in a sp readsheet.",
1690 "id": "AppendValuesResponse",
1691 "properties": {
1692 "spreadsheetId": {
1693 "description": "The spreadsheet the updates were applied to. ",
1694 "type": "string"
1695 },
1696 "tableRange": {
1697 "description": "The range (in A1 notation) of the table that values are being appended to\n(before the values were appended).\nEmpty if no t able was found.",
1698 "type": "string"
1699 },
1700 "updates": {
1701 "$ref": "UpdateValuesResponse",
1702 "description": "Information about the updates that were appl ied."
1703 }
1704 },
1705 "type": "object"
1706 },
1635 "CellFormat": { 1707 "CellFormat": {
1636 "description": "The format of a cell.", 1708 "description": "The format of a cell.",
1637 "id": "CellFormat", 1709 "id": "CellFormat",
1638 "properties": { 1710 "properties": {
1639 "horizontalAlignment": { 1711 "horizontalAlignment": {
1640 "description": "The horizontal alignment of the value in the cell.", 1712 "description": "The horizontal alignment of the value in the cell.",
1641 "enum": [ 1713 "enum": [
1642 "HORIZONTAL_ALIGN_UNSPECIFIED", 1714 "HORIZONTAL_ALIGN_UNSPECIFIED",
1643 "LEFT", 1715 "LEFT",
1644 "CENTER", 1716 "CENTER",
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
2595 } 2667 }
2596 }, 2668 },
2597 "type": "object" 2669 "type": "object"
2598 }, 2670 },
2599 "AddNamedRangeRequest": { 2671 "AddNamedRangeRequest": {
2600 "description": "Adds a named range to the spreadsheet.", 2672 "description": "Adds a named range to the spreadsheet.",
2601 "id": "AddNamedRangeRequest", 2673 "id": "AddNamedRangeRequest",
2602 "properties": { 2674 "properties": {
2603 "namedRange": { 2675 "namedRange": {
2604 "$ref": "NamedRange", 2676 "$ref": "NamedRange",
2605 "description": "The named range to add. If a non-empty\nname dRangeId is specified, the named range\nwill use that ID. (It is an error to spe cify the ID of a named\nrange that already exists.)" 2677 "description": "The named range to add. The namedRangeId\nfi eld is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a range that already exists.)"
2606 } 2678 }
2607 }, 2679 },
2608 "type": "object" 2680 "type": "object"
2609 }, 2681 },
2610 "AddChartResponse": { 2682 "AddChartResponse": {
2611 "description": "The result of adding a chart to a spreadsheet.", 2683 "description": "The result of adding a chart to a spreadsheet.",
2612 "id": "AddChartResponse", 2684 "id": "AddChartResponse",
2613 "properties": { 2685 "properties": {
2614 "chart": { 2686 "chart": {
2615 "$ref": "EmbeddedChart", 2687 "$ref": "EmbeddedChart",
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
3361 } 3433 }
3362 }, 3434 },
3363 "type": "object" 3435 "type": "object"
3364 }, 3436 },
3365 "AddFilterViewRequest": { 3437 "AddFilterViewRequest": {
3366 "description": "Adds a filter view.", 3438 "description": "Adds a filter view.",
3367 "id": "AddFilterViewRequest", 3439 "id": "AddFilterViewRequest",
3368 "properties": { 3440 "properties": {
3369 "filter": { 3441 "filter": {
3370 "$ref": "FilterView", 3442 "$ref": "FilterView",
3371 "description": "The filter to add." 3443 "description": "The filter to add. The filterViewId\nfield i s optional; if one is not set, an id will be randomly generated. (It\nis an erro r to specify the ID of a filter that already exists.)"
3372 } 3444 }
3373 }, 3445 },
3374 "type": "object" 3446 "type": "object"
3375 }, 3447 },
3376 "GridProperties": { 3448 "GridProperties": {
3377 "description": "Properties of a grid.", 3449 "description": "Properties of a grid.",
3378 "id": "GridProperties", 3450 "id": "GridProperties",
3379 "properties": { 3451 "properties": {
3380 "rowCount": { 3452 "rowCount": {
3381 "description": "The number of rows in the grid.", 3453 "description": "The number of rows in the grid.",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
3414 } 3486 }
3415 }, 3487 },
3416 "type": "object" 3488 "type": "object"
3417 }, 3489 },
3418 "AddChartRequest": { 3490 "AddChartRequest": {
3419 "description": "Adds a chart to a sheet in the spreadsheet.", 3491 "description": "Adds a chart to a sheet in the spreadsheet.",
3420 "id": "AddChartRequest", 3492 "id": "AddChartRequest",
3421 "properties": { 3493 "properties": {
3422 "chart": { 3494 "chart": {
3423 "$ref": "EmbeddedChart", 3495 "$ref": "EmbeddedChart",
3424 "description": "The chart that should be added to the spread sheet, including the position\nwhere it should be placed." 3496 "description": "The chart that should be added to the spread sheet, including the position\nwhere it should be placed. The chartId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a chart that already exists.)"
3425 } 3497 }
3426 }, 3498 },
3427 "type": "object" 3499 "type": "object"
3428 }, 3500 },
3429 "SetDataValidationRequest": { 3501 "SetDataValidationRequest": {
3430 "description": "Sets a data validation rule to every cell in the ran ge.\nTo clear validation in a range, call this with no rule specified.", 3502 "description": "Sets a data validation rule to every cell in the ran ge.\nTo clear validation in a range, call this with no rule specified.",
3431 "id": "SetDataValidationRequest", 3503 "id": "SetDataValidationRequest",
3432 "properties": { 3504 "properties": {
3433 "rule": { 3505 "rule": {
3434 "$ref": "DataValidationRule", 3506 "$ref": "DataValidationRule",
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
3678 "description": "The rule that was deleted." 3750 "description": "The rule that was deleted."
3679 } 3751 }
3680 }, 3752 },
3681 "type": "object" 3753 "type": "object"
3682 } 3754 }
3683 }, 3755 },
3684 "servicePath": "", 3756 "servicePath": "",
3685 "title": "Google Sheets API", 3757 "title": "Google Sheets API",
3686 "version": "v4" 3758 "version": "v4"
3687 } 3759 }
OLDNEW
« no previous file with comments | « discovery/googleapis/servicemanagement__v1.json ('k') | discovery/googleapis/storage__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698