| 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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 "scopes": [ | 604 "scopes": [ |
| 605 "https://www.googleapis.com/auth/drive", | 605 "https://www.googleapis.com/auth/drive", |
| 606 "https://www.googleapis.com/auth/spreadsheets" | 606 "https://www.googleapis.com/auth/spreadsheets" |
| 607 ] | 607 ] |
| 608 } | 608 } |
| 609 } | 609 } |
| 610 } | 610 } |
| 611 } | 611 } |
| 612 } | 612 } |
| 613 }, | 613 }, |
| 614 "revision": "20161209", | 614 "revision": "20170117", |
| 615 "rootUrl": "https://sheets.googleapis.com/", | 615 "rootUrl": "https://sheets.googleapis.com/", |
| 616 "schemas": { | 616 "schemas": { |
| 617 "AddNamedRangeResponse": { | 617 "AddNamedRangeResponse": { |
| 618 "description": "The result of adding a named range.", | 618 "description": "The result of adding a named range.", |
| 619 "id": "AddNamedRangeResponse", | 619 "id": "AddNamedRangeResponse", |
| 620 "properties": { | 620 "properties": { |
| 621 "namedRange": { | 621 "namedRange": { |
| 622 "$ref": "NamedRange", | 622 "$ref": "NamedRange", |
| 623 "description": "The named range to add." | 623 "description": "The named range to add." |
| 624 } | 624 } |
| (...skipping 1706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2331 "type": "integer" | 2331 "type": "integer" |
| 2332 }, | 2332 }, |
| 2333 "index": { | 2333 "index": { |
| 2334 "description": "The zero-based index of the rule to be delet
ed.", | 2334 "description": "The zero-based index of the rule to be delet
ed.", |
| 2335 "format": "int32", | 2335 "format": "int32", |
| 2336 "type": "integer" | 2336 "type": "integer" |
| 2337 } | 2337 } |
| 2338 }, | 2338 }, |
| 2339 "type": "object" | 2339 "type": "object" |
| 2340 }, | 2340 }, |
| 2341 "DeleteRangeRequest": { |
| 2342 "description": "Deletes a range of cells, shifting other cells into
the deleted area.", |
| 2343 "id": "DeleteRangeRequest", |
| 2344 "properties": { |
| 2345 "shiftDimension": { |
| 2346 "description": "The dimension from which deleted cells will
be replaced with.\nIf ROWS, existing cells will be shifted upward to\nreplace th
e deleted cells. If COLUMNS, existing cells\nwill be shifted left to replace the
deleted cells.", |
| 2347 "enum": [ |
| 2348 "DIMENSION_UNSPECIFIED", |
| 2349 "ROWS", |
| 2350 "COLUMNS" |
| 2351 ], |
| 2352 "enumDescriptions": [ |
| 2353 "The default value, do not use.", |
| 2354 "Operates on the rows of a sheet.", |
| 2355 "Operates on the columns of a sheet." |
| 2356 ], |
| 2357 "type": "string" |
| 2358 }, |
| 2359 "range": { |
| 2360 "$ref": "GridRange", |
| 2361 "description": "The range of cells to delete." |
| 2362 } |
| 2363 }, |
| 2364 "type": "object" |
| 2365 }, |
| 2366 "InsertRangeRequest": { |
| 2367 "description": "Inserts cells into a range, shifting the existing ce
lls over or down.", |
| 2368 "id": "InsertRangeRequest", |
| 2369 "properties": { |
| 2370 "shiftDimension": { |
| 2371 "description": "The dimension which will be shifted when ins
erting cells.\nIf ROWS, existing cells will be shifted down.\nIf COLUMNS, existi
ng cells will be shifted right.", |
| 2372 "enum": [ |
| 2373 "DIMENSION_UNSPECIFIED", |
| 2374 "ROWS", |
| 2375 "COLUMNS" |
| 2376 ], |
| 2377 "enumDescriptions": [ |
| 2378 "The default value, do not use.", |
| 2379 "Operates on the rows of a sheet.", |
| 2380 "Operates on the columns of a sheet." |
| 2381 ], |
| 2382 "type": "string" |
| 2383 }, |
| 2384 "range": { |
| 2385 "$ref": "GridRange", |
| 2386 "description": "The range to insert new cells into." |
| 2387 } |
| 2388 }, |
| 2389 "type": "object" |
| 2390 }, |
| 2341 "ChartSpec": { | 2391 "ChartSpec": { |
| 2342 "description": "The specifications of a chart.", | 2392 "description": "The specifications of a chart.", |
| 2343 "id": "ChartSpec", | 2393 "id": "ChartSpec", |
| 2344 "properties": { | 2394 "properties": { |
| 2345 "hiddenDimensionStrategy": { | 2395 "hiddenDimensionStrategy": { |
| 2346 "description": "Determines how the charts will use hidden ro
ws or columns.", | 2396 "description": "Determines how the charts will use hidden ro
ws or columns.", |
| 2347 "enum": [ | 2397 "enum": [ |
| 2348 "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED", | 2398 "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED", |
| 2349 "SKIP_HIDDEN_ROWS_AND_COLUMNS", | 2399 "SKIP_HIDDEN_ROWS_AND_COLUMNS", |
| 2350 "SKIP_HIDDEN_ROWS", | 2400 "SKIP_HIDDEN_ROWS", |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3027 "An <a href=\"/chart/interactive/docs/gallery/areachart\
">area chart</a>.", | 3077 "An <a href=\"/chart/interactive/docs/gallery/areachart\
">area chart</a>.", |
| 3028 "A <a href=\"/chart/interactive/docs/gallery/columnchart
\">column chart</a>.", | 3078 "A <a href=\"/chart/interactive/docs/gallery/columnchart
\">column chart</a>.", |
| 3029 "A <a href=\"/chart/interactive/docs/gallery/scatterchar
t\">scatter chart</a>.", | 3079 "A <a href=\"/chart/interactive/docs/gallery/scatterchar
t\">scatter chart</a>.", |
| 3030 "A <a href=\"/chart/interactive/docs/gallery/combochart\
">combo chart</a>." | 3080 "A <a href=\"/chart/interactive/docs/gallery/combochart\
">combo chart</a>." |
| 3031 ], | 3081 ], |
| 3032 "type": "string" | 3082 "type": "string" |
| 3033 } | 3083 } |
| 3034 }, | 3084 }, |
| 3035 "type": "object" | 3085 "type": "object" |
| 3036 }, | 3086 }, |
| 3087 "NamedRange": { |
| 3088 "description": "A named range.", |
| 3089 "id": "NamedRange", |
| 3090 "properties": { |
| 3091 "namedRangeId": { |
| 3092 "description": "The ID of the named range.", |
| 3093 "type": "string" |
| 3094 }, |
| 3095 "range": { |
| 3096 "$ref": "GridRange", |
| 3097 "description": "The range this represents." |
| 3098 }, |
| 3099 "name": { |
| 3100 "description": "The name of the named range.", |
| 3101 "type": "string" |
| 3102 } |
| 3103 }, |
| 3104 "type": "object" |
| 3105 }, |
| 3037 "RepeatCellRequest": { | 3106 "RepeatCellRequest": { |
| 3038 "description": "Updates all cells in the range to the values in the
given Cell object.\nOnly the fields listed in the fields field are updated; othe
rs are\nunchanged.\n\nIf writing a cell with a formula, the formula's ranges wil
l automatically\nincrement for each field in the range.\nFor example, if writing
a cell with formula `=A1` into range B2:C4,\nB2 would be `=A1`, B3 would be `=A
2`, B4 would be `=A3`,\nC2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`.
\n\nTo keep the formula's ranges static, use the `$` indicator.\nFor example, us
e the formula `=$A$1` to prevent both the row and the\ncolumn from incrementing.
", | 3107 "description": "Updates all cells in the range to the values in the
given Cell object.\nOnly the fields listed in the fields field are updated; othe
rs are\nunchanged.\n\nIf writing a cell with a formula, the formula's ranges wil
l automatically\nincrement for each field in the range.\nFor example, if writing
a cell with formula `=A1` into range B2:C4,\nB2 would be `=A1`, B3 would be `=A
2`, B4 would be `=A3`,\nC2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`.
\n\nTo keep the formula's ranges static, use the `$` indicator.\nFor example, us
e the formula `=$A$1` to prevent both the row and the\ncolumn from incrementing.
", |
| 3039 "id": "RepeatCellRequest", | 3108 "id": "RepeatCellRequest", |
| 3040 "properties": { | 3109 "properties": { |
| 3041 "cell": { | 3110 "cell": { |
| 3042 "$ref": "CellData", | 3111 "$ref": "CellData", |
| 3043 "description": "The data to write." | 3112 "description": "The data to write." |
| 3044 }, | 3113 }, |
| 3045 "fields": { | 3114 "fields": { |
| 3046 "description": "The fields that should be updated. At least
one field must be specified.\nThe root `cell` is implied and should not be spec
ified.\nA single `\"*\"` can be used as short-hand for listing every field.", | 3115 "description": "The fields that should be updated. At least
one field must be specified.\nThe root `cell` is implied and should not be spec
ified.\nA single `\"*\"` can be used as short-hand for listing every field.", |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3122 "axis": { | 3191 "axis": { |
| 3123 "description": "The axis on the chart.", | 3192 "description": "The axis on the chart.", |
| 3124 "items": { | 3193 "items": { |
| 3125 "$ref": "BasicChartAxis" | 3194 "$ref": "BasicChartAxis" |
| 3126 }, | 3195 }, |
| 3127 "type": "array" | 3196 "type": "array" |
| 3128 } | 3197 } |
| 3129 }, | 3198 }, |
| 3130 "type": "object" | 3199 "type": "object" |
| 3131 }, | 3200 }, |
| 3132 "NamedRange": { | |
| 3133 "description": "A named range.", | |
| 3134 "id": "NamedRange", | |
| 3135 "properties": { | |
| 3136 "namedRangeId": { | |
| 3137 "description": "The ID of the named range.", | |
| 3138 "type": "string" | |
| 3139 }, | |
| 3140 "range": { | |
| 3141 "$ref": "GridRange", | |
| 3142 "description": "The range this represents." | |
| 3143 }, | |
| 3144 "name": { | |
| 3145 "description": "The name of the named range.", | |
| 3146 "type": "string" | |
| 3147 } | |
| 3148 }, | |
| 3149 "type": "object" | |
| 3150 }, | |
| 3151 "UpdateEmbeddedObjectPositionRequest": { | 3201 "UpdateEmbeddedObjectPositionRequest": { |
| 3152 "description": "Update an embedded object's position (such as a movi
ng or resizing a\nchart or image).", | 3202 "description": "Update an embedded object's position (such as a movi
ng or resizing a\nchart or image).", |
| 3153 "id": "UpdateEmbeddedObjectPositionRequest", | 3203 "id": "UpdateEmbeddedObjectPositionRequest", |
| 3154 "properties": { | 3204 "properties": { |
| 3155 "newPosition": { | 3205 "newPosition": { |
| 3156 "$ref": "EmbeddedObjectPosition", | 3206 "$ref": "EmbeddedObjectPosition", |
| 3157 "description": "An explicit position to move the embedded ob
ject to.\nIf newPosition.sheetId is set,\na new sheet with that ID will be creat
ed.\nIf newPosition.newSheet is set to true,\na new sheet will be created with a
n ID that will be chosen for you." | 3207 "description": "An explicit position to move the embedded ob
ject to.\nIf newPosition.sheetId is set,\na new sheet with that ID will be creat
ed.\nIf newPosition.newSheet is set to true,\na new sheet will be created with a
n ID that will be chosen for you." |
| 3158 }, | 3208 }, |
| 3159 "objectId": { | 3209 "objectId": { |
| 3160 "description": "The ID of the object to moved.", | 3210 "description": "The ID of the object to moved.", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3201 } | 3251 } |
| 3202 }, | 3252 }, |
| 3203 "type": "object" | 3253 "type": "object" |
| 3204 }, | 3254 }, |
| 3205 "BandingProperties": { | 3255 "BandingProperties": { |
| 3206 "description": "Properties referring a single dimension (either row
or column). If both\nBandedRange.row_properties and BandedRange.column_propertie
s are\nset, the fill colors are applied to cells according to the following rule
s:\n\n* header_color and footer_color take priority over band colors.\n* first_b
and_color takes priority over second_band_color.\n* row_properties takes priorit
y over column_properties.\n\nFor example, the first row color takes priority ove
r the first column\ncolor, but the first column color takes priority over the se
cond row color.\nSimilarly, the row header takes priority over the column header
in the\ntop left cell, but the column header takes priority over the first row\
ncolor if the row header is not set.", | 3256 "description": "Properties referring a single dimension (either row
or column). If both\nBandedRange.row_properties and BandedRange.column_propertie
s are\nset, the fill colors are applied to cells according to the following rule
s:\n\n* header_color and footer_color take priority over band colors.\n* first_b
and_color takes priority over second_band_color.\n* row_properties takes priorit
y over column_properties.\n\nFor example, the first row color takes priority ove
r the first column\ncolor, but the first column color takes priority over the se
cond row color.\nSimilarly, the row header takes priority over the column header
in the\ntop left cell, but the column header takes priority over the first row\
ncolor if the row header is not set.", |
| 3207 "id": "BandingProperties", | 3257 "id": "BandingProperties", |
| 3208 "properties": { | 3258 "properties": { |
| 3209 "footerColor": { | 3259 "footerColor": { |
| 3210 "$ref": "Color", | 3260 "$ref": "Color", |
| 3211 "description": "The color of the last row or column. If this
field is not set, the last\nrow or column will be filled with either first_row_
color or\nsecond_row_color, depending on the color of the previous row or\ncolum
n." | 3261 "description": "The color of the last row or column. If this
field is not set, the last\nrow or column will be filled with either first_band
_color or\nsecond_band_color, depending on the color of the previous row or\ncol
umn." |
| 3212 }, | 3262 }, |
| 3213 "headerColor": { | 3263 "headerColor": { |
| 3214 "$ref": "Color", | 3264 "$ref": "Color", |
| 3215 "description": "The color of the first row or column. If thi
s field is set, the first\nrow or column will be filled with this color and the
colors will\nalternate between first_band_color and [second_band_color[] startin
g\nfrom the second row or column. Otherwise, the first row or column will be\nfi
lled with first_band_color and the colors will proceed to alternate\nas they nor
mally would." | 3265 "description": "The color of the first row or column. If thi
s field is set, the first\nrow or column will be filled with this color and the
colors will\nalternate between first_band_color and second_band_color starting\n
from the second row or column. Otherwise, the first row or column will be\nfille
d with first_band_color and the colors will proceed to alternate\nas they normal
ly would." |
| 3216 }, | 3266 }, |
| 3217 "secondBandColor": { | 3267 "secondBandColor": { |
| 3218 "$ref": "Color", | 3268 "$ref": "Color", |
| 3219 "description": "The second color that is alternating. (Requi
red)" | 3269 "description": "The second color that is alternating. (Requi
red)" |
| 3220 }, | 3270 }, |
| 3221 "firstBandColor": { | 3271 "firstBandColor": { |
| 3222 "$ref": "Color", | 3272 "$ref": "Color", |
| 3223 "description": "The first color that is alternating. (Requir
ed)" | 3273 "description": "The first color that is alternating. (Requir
ed)" |
| 3224 } | 3274 } |
| 3225 }, | 3275 }, |
| (...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3845 "description": "Updates the spreadsheet's properties." | 3895 "description": "Updates the spreadsheet's properties." |
| 3846 }, | 3896 }, |
| 3847 "appendDimension": { | 3897 "appendDimension": { |
| 3848 "$ref": "AppendDimensionRequest", | 3898 "$ref": "AppendDimensionRequest", |
| 3849 "description": "Appends dimensions to the end of a sheet." | 3899 "description": "Appends dimensions to the end of a sheet." |
| 3850 }, | 3900 }, |
| 3851 "unmergeCells": { | 3901 "unmergeCells": { |
| 3852 "$ref": "UnmergeCellsRequest", | 3902 "$ref": "UnmergeCellsRequest", |
| 3853 "description": "Unmerges merged cells." | 3903 "description": "Unmerges merged cells." |
| 3854 }, | 3904 }, |
| 3905 "insertRange": { |
| 3906 "$ref": "InsertRangeRequest", |
| 3907 "description": "Inserts new cells in a sheet, shifting the e
xisting cells." |
| 3908 }, |
| 3855 "updateProtectedRange": { | 3909 "updateProtectedRange": { |
| 3856 "$ref": "UpdateProtectedRangeRequest", | 3910 "$ref": "UpdateProtectedRangeRequest", |
| 3857 "description": "Updates a protected range." | 3911 "description": "Updates a protected range." |
| 3858 }, | 3912 }, |
| 3859 "deleteFilterView": { | 3913 "deleteFilterView": { |
| 3860 "$ref": "DeleteFilterViewRequest", | 3914 "$ref": "DeleteFilterViewRequest", |
| 3861 "description": "Deletes a filter view from a sheet." | 3915 "description": "Deletes a filter view from a sheet." |
| 3862 }, | 3916 }, |
| 3863 "clearBasicFilter": { | 3917 "clearBasicFilter": { |
| 3864 "$ref": "ClearBasicFilterRequest", | 3918 "$ref": "ClearBasicFilterRequest", |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3941 "description": "Adds a new banded range" | 3995 "description": "Adds a new banded range" |
| 3942 }, | 3996 }, |
| 3943 "deleteBanding": { | 3997 "deleteBanding": { |
| 3944 "$ref": "DeleteBandingRequest", | 3998 "$ref": "DeleteBandingRequest", |
| 3945 "description": "Removes a banded range" | 3999 "description": "Removes a banded range" |
| 3946 }, | 4000 }, |
| 3947 "updateChartSpec": { | 4001 "updateChartSpec": { |
| 3948 "$ref": "UpdateChartSpecRequest", | 4002 "$ref": "UpdateChartSpecRequest", |
| 3949 "description": "Updates a chart's specifications." | 4003 "description": "Updates a chart's specifications." |
| 3950 }, | 4004 }, |
| 4005 "deleteRange": { |
| 4006 "$ref": "DeleteRangeRequest", |
| 4007 "description": "Deletes a range of cells from a sheet, shift
ing the remaining cells." |
| 4008 }, |
| 3951 "deleteDimension": { | 4009 "deleteDimension": { |
| 3952 "$ref": "DeleteDimensionRequest", | 4010 "$ref": "DeleteDimensionRequest", |
| 3953 "description": "Deletes rows or columns in a sheet." | 4011 "description": "Deletes rows or columns in a sheet." |
| 3954 }, | 4012 }, |
| 3955 "deleteEmbeddedObject": { | 4013 "deleteEmbeddedObject": { |
| 3956 "$ref": "DeleteEmbeddedObjectRequest", | 4014 "$ref": "DeleteEmbeddedObjectRequest", |
| 3957 "description": "Deletes an embedded object (e.g, chart, imag
e) in a sheet." | 4015 "description": "Deletes an embedded object (e.g, chart, imag
e) in a sheet." |
| 3958 }, | 4016 }, |
| 3959 "pasteData": { | 4017 "pasteData": { |
| 3960 "$ref": "PasteDataRequest", | 4018 "$ref": "PasteDataRequest", |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4093 "description": "The rule that was deleted." | 4151 "description": "The rule that was deleted." |
| 4094 } | 4152 } |
| 4095 }, | 4153 }, |
| 4096 "type": "object" | 4154 "type": "object" |
| 4097 } | 4155 } |
| 4098 }, | 4156 }, |
| 4099 "servicePath": "", | 4157 "servicePath": "", |
| 4100 "title": "Google Sheets API", | 4158 "title": "Google Sheets API", |
| 4101 "version": "v4" | 4159 "version": "v4" |
| 4102 } | 4160 } |
| OLD | NEW |