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

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

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/drive.file": { 5 "https://www.googleapis.com/auth/drive.file": {
6 "description": "View and manage Google Drive files and folde rs that you have opened or created with this app" 6 "description": "View and manage Google Drive files and folde rs that you have opened or created with this app"
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 19 matching lines...) Expand all
30 "icons": { 30 "icons": {
31 "x16": "http://www.google.com/images/icons/product/search-16.gif", 31 "x16": "http://www.google.com/images/icons/product/search-16.gif",
32 "x32": "http://www.google.com/images/icons/product/search-32.gif" 32 "x32": "http://www.google.com/images/icons/product/search-32.gif"
33 }, 33 },
34 "id": "sheets:v4", 34 "id": "sheets:v4",
35 "kind": "discovery#restDescription", 35 "kind": "discovery#restDescription",
36 "name": "sheets", 36 "name": "sheets",
37 "ownerDomain": "google.com", 37 "ownerDomain": "google.com",
38 "ownerName": "Google", 38 "ownerName": "Google",
39 "parameters": { 39 "parameters": {
40 "alt": {
41 "default": "json",
42 "description": "Data format for response.",
43 "enum": [
44 "json",
45 "media",
46 "proto"
47 ],
48 "enumDescriptions": [
49 "Responses with Content-Type of application/json",
50 "Media download with context-dependent Content-Type",
51 "Responses with Content-Type of application/x-protobuf"
52 ],
53 "location": "query",
54 "type": "string"
55 },
56 "access_token": {
57 "description": "OAuth access token.",
58 "location": "query",
59 "type": "string"
60 },
61 "key": {
62 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
63 "location": "query",
64 "type": "string"
65 },
66 "quotaUser": {
67 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
68 "location": "query",
69 "type": "string"
70 },
40 "pp": { 71 "pp": {
41 "default": "true", 72 "default": "true",
42 "description": "Pretty-print response.", 73 "description": "Pretty-print response.",
43 "location": "query", 74 "location": "query",
44 "type": "boolean" 75 "type": "boolean"
45 }, 76 },
46 "bearer_token": { 77 "bearer_token": {
47 "description": "OAuth bearer token.", 78 "description": "OAuth bearer token.",
48 "location": "query", 79 "location": "query",
49 "type": "string" 80 "type": "string"
50 }, 81 },
51 "oauth_token": { 82 "oauth_token": {
52 "description": "OAuth 2.0 token for the current user.", 83 "description": "OAuth 2.0 token for the current user.",
53 "location": "query", 84 "location": "query",
54 "type": "string" 85 "type": "string"
55 }, 86 },
56 "upload_protocol": { 87 "upload_protocol": {
57 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 88 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
58 "location": "query", 89 "location": "query",
59 "type": "string" 90 "type": "string"
60 }, 91 },
61 "prettyPrint": { 92 "prettyPrint": {
62 "default": "true", 93 "default": "true",
63 "description": "Returns response with indentations and line breaks." , 94 "description": "Returns response with indentations and line breaks." ,
64 "location": "query", 95 "location": "query",
65 "type": "boolean" 96 "type": "boolean"
66 }, 97 },
98 "uploadType": {
99 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
100 "location": "query",
101 "type": "string"
102 },
67 "fields": { 103 "fields": {
68 "description": "Selector specifying which fields to include in a par tial response.", 104 "description": "Selector specifying which fields to include in a par tial response.",
69 "location": "query", 105 "location": "query",
70 "type": "string" 106 "type": "string"
71 }, 107 },
72 "uploadType": { 108 "callback": {
73 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 109 "description": "JSONP",
74 "location": "query", 110 "location": "query",
75 "type": "string" 111 "type": "string"
76 }, 112 },
77 "$.xgafv": { 113 "$.xgafv": {
78 "description": "V1 error format.", 114 "description": "V1 error format.",
79 "enum": [ 115 "enum": [
80 "1", 116 "1",
81 "2" 117 "2"
82 ], 118 ],
83 "enumDescriptions": [ 119 "enumDescriptions": [
84 "v1 error format", 120 "v1 error format",
85 "v2 error format" 121 "v2 error format"
86 ], 122 ],
87 "location": "query", 123 "location": "query",
88 "type": "string" 124 "type": "string"
89 },
90 "callback": {
91 "description": "JSONP",
92 "location": "query",
93 "type": "string"
94 },
95 "alt": {
96 "default": "json",
97 "description": "Data format for response.",
98 "enum": [
99 "json",
100 "media",
101 "proto"
102 ],
103 "enumDescriptions": [
104 "Responses with Content-Type of application/json",
105 "Media download with context-dependent Content-Type",
106 "Responses with Content-Type of application/x-protobuf"
107 ],
108 "location": "query",
109 "type": "string"
110 },
111 "key": {
112 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
113 "location": "query",
114 "type": "string"
115 },
116 "access_token": {
117 "description": "OAuth access token.",
118 "location": "query",
119 "type": "string"
120 },
121 "quotaUser": {
122 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
123 "location": "query",
124 "type": "string"
125 } 125 }
126 }, 126 },
127 "protocol": "rest", 127 "protocol": "rest",
128 "resources": { 128 "resources": {
129 "spreadsheets": { 129 "spreadsheets": {
130 "methods": { 130 "methods": {
131 "get": { 131 "get": {
132 "description": "Returns the spreadsheet at the given ID.\nTh e caller must specify the spreadsheet ID.\n\nBy default, data within grids will not be returned.\nYou can include grid data one of two ways:\n\n* Specify a fiel d mask listing your desired fields using the `fields` URL\nparameter in HTTP\n\n * Set the includeGridData\nURL parameter to true. If a field mask is set, the ` includeGridData`\nparameter is ignored\n\nFor large spreadsheets, it is recommen ded to retrieve only the specific\nfields of the spreadsheet that you want.\n\nT o retrieve only subsets of the spreadsheet, use the\nranges URL parameter.\nMult iple ranges can be specified. Limiting the range will\nreturn only the portions of the spreadsheet that intersect the requested\nranges. Ranges are specified u sing A1 notation.", 132 "description": "Returns the spreadsheet at the given ID.\nTh e caller must specify the spreadsheet ID.\n\nBy default, data within grids will not be returned.\nYou can include grid data one of two ways:\n\n* Specify a fiel d mask listing your desired fields using the `fields` URL\nparameter in HTTP\n\n * Set the includeGridData\nURL parameter to true. If a field mask is set, the ` includeGridData`\nparameter is ignored\n\nFor large spreadsheets, it is recommen ded to retrieve only the specific\nfields of the spreadsheet that you want.\n\nT o retrieve only subsets of the spreadsheet, use the\nranges URL parameter.\nMult iple ranges can be specified. Limiting the range will\nreturn only the portions of the spreadsheet that intersect the requested\nranges. Ranges are specified u sing A1 notation.",
133 "httpMethod": "GET", 133 "httpMethod": "GET",
134 "id": "sheets.spreadsheets.get", 134 "id": "sheets.spreadsheets.get",
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 "scopes": [ 210 "scopes": [
211 "https://www.googleapis.com/auth/drive", 211 "https://www.googleapis.com/auth/drive",
212 "https://www.googleapis.com/auth/drive.file", 212 "https://www.googleapis.com/auth/drive.file",
213 "https://www.googleapis.com/auth/spreadsheets" 213 "https://www.googleapis.com/auth/spreadsheets"
214 ] 214 ]
215 } 215 }
216 }, 216 },
217 "resources": { 217 "resources": {
218 "values": { 218 "values": {
219 "methods": { 219 "methods": {
220 "clear": {
221 "description": "Clears values from a spreadsheet.\nT he caller must specify the spreadsheet ID and range.\nOnly values are cleared -- all other properties of the cell (such as\nformatting, data validation, etc..) are kept.",
222 "httpMethod": "POST",
223 "id": "sheets.spreadsheets.values.clear",
224 "parameterOrder": [
225 "spreadsheetId",
226 "range"
227 ],
228 "parameters": {
229 "spreadsheetId": {
230 "description": "The ID of the spreadsheet to update.",
231 "location": "path",
232 "required": true,
233 "type": "string"
234 },
235 "range": {
236 "description": "The A1 notation of the value s to clear.",
237 "location": "path",
238 "required": true,
239 "type": "string"
240 }
241 },
242 "path": "v4/spreadsheets/{spreadsheetId}/values/{ran ge}:clear",
243 "request": {
244 "$ref": "ClearValuesRequest"
245 },
246 "response": {
247 "$ref": "ClearValuesResponse"
248 },
249 "scopes": [
250 "https://www.googleapis.com/auth/drive",
251 "https://www.googleapis.com/auth/drive.file",
252 "https://www.googleapis.com/auth/spreadsheets"
253 ]
254 },
255 "batchGet": {
256 "description": "Returns one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.",
257 "httpMethod": "GET",
258 "id": "sheets.spreadsheets.values.batchGet",
259 "parameterOrder": [
260 "spreadsheetId"
261 ],
262 "parameters": {
263 "majorDimension": {
264 "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]]`.",
265 "enum": [
266 "DIMENSION_UNSPECIFIED",
267 "ROWS",
268 "COLUMNS"
269 ],
270 "location": "query",
271 "type": "string"
272 },
273 "ranges": {
274 "description": "The A1 notation of the value s to retrieve.",
275 "location": "query",
276 "repeated": true,
277 "type": "string"
278 },
279 "spreadsheetId": {
280 "description": "The ID of the spreadsheet to retrieve data from.",
281 "location": "path",
282 "required": true,
283 "type": "string"
284 },
285 "dateTimeRenderOption": {
286 "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].",
287 "enum": [
288 "SERIAL_NUMBER",
289 "FORMATTED_STRING"
290 ],
291 "location": "query",
292 "type": "string"
293 },
294 "valueRenderOption": {
295 "description": "How values should be represe nted in the output.\nThe default render option is ValueRenderOption.FORMATTED_VA LUE.",
296 "enum": [
297 "FORMATTED_VALUE",
298 "UNFORMATTED_VALUE",
299 "FORMULA"
300 ],
301 "location": "query",
302 "type": "string"
303 }
304 },
305 "path": "v4/spreadsheets/{spreadsheetId}/values:batc hGet",
306 "response": {
307 "$ref": "BatchGetValuesResponse"
308 },
309 "scopes": [
310 "https://www.googleapis.com/auth/drive",
311 "https://www.googleapis.com/auth/drive.file",
312 "https://www.googleapis.com/auth/drive.readonly" ,
313 "https://www.googleapis.com/auth/spreadsheets",
314 "https://www.googleapis.com/auth/spreadsheets.re adonly"
315 ]
316 },
317 "append": { 220 "append": {
318 "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/api/guides/values#append ing_values)\nand\n[sample code](/sheets/api/samples/writing#append_values)\nfor specific details of how tables are detected and data is appended.\n\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption. The `valueInpu tOption` only\ncontrols how the input data will be added to the sheet (column-wi se or\nrow-wise), it does not influence what cell the data starts being written\ nto.", 221 "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/api/guides/values#append ing_values)\nand\n[sample code](/sheets/api/samples/writing#append_values)\nfor specific details of how tables are detected and data is appended.\n\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption. The `valueInpu tOption` only\ncontrols how the input data will be added to the sheet (column-wi se or\nrow-wise), it does not influence what cell the data starts being written\ nto.",
319 "httpMethod": "POST", 222 "httpMethod": "POST",
320 "id": "sheets.spreadsheets.values.append", 223 "id": "sheets.spreadsheets.values.append",
321 "parameterOrder": [ 224 "parameterOrder": [
322 "spreadsheetId", 225 "spreadsheetId",
323 "range" 226 "range"
324 ], 227 ],
325 "parameters": { 228 "parameters": {
326 "includeValuesInResponse": { 229 "includeValuesInResponse": {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 }, 325 },
423 "get": { 326 "get": {
424 "description": "Returns a range of values from a spr eadsheet.\nThe caller must specify the spreadsheet ID and a range.", 327 "description": "Returns a range of values from a spr eadsheet.\nThe caller must specify the spreadsheet ID and a range.",
425 "httpMethod": "GET", 328 "httpMethod": "GET",
426 "id": "sheets.spreadsheets.values.get", 329 "id": "sheets.spreadsheets.values.get",
427 "parameterOrder": [ 330 "parameterOrder": [
428 "spreadsheetId", 331 "spreadsheetId",
429 "range" 332 "range"
430 ], 333 ],
431 "parameters": { 334 "parameters": {
335 "spreadsheetId": {
336 "description": "The ID of the spreadsheet to retrieve data from.",
337 "location": "path",
338 "required": true,
339 "type": "string"
340 },
432 "range": { 341 "range": {
433 "description": "The A1 notation of the value s to retrieve.", 342 "description": "The A1 notation of the value s to retrieve.",
434 "location": "path", 343 "location": "path",
435 "required": true, 344 "required": true,
436 "type": "string" 345 "type": "string"
437 }, 346 },
438 "dateTimeRenderOption": { 347 "dateTimeRenderOption": {
439 "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].", 348 "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].",
440 "enum": [ 349 "enum": [
441 "SERIAL_NUMBER", 350 "SERIAL_NUMBER",
(...skipping 14 matching lines...) Expand all
456 }, 365 },
457 "majorDimension": { 366 "majorDimension": {
458 "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]]`.", 367 "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]]`.",
459 "enum": [ 368 "enum": [
460 "DIMENSION_UNSPECIFIED", 369 "DIMENSION_UNSPECIFIED",
461 "ROWS", 370 "ROWS",
462 "COLUMNS" 371 "COLUMNS"
463 ], 372 ],
464 "location": "query", 373 "location": "query",
465 "type": "string" 374 "type": "string"
466 },
467 "spreadsheetId": {
468 "description": "The ID of the spreadsheet to retrieve data from.",
469 "location": "path",
470 "required": true,
471 "type": "string"
472 } 375 }
473 }, 376 },
474 "path": "v4/spreadsheets/{spreadsheetId}/values/{ran ge}", 377 "path": "v4/spreadsheets/{spreadsheetId}/values/{ran ge}",
475 "response": { 378 "response": {
476 "$ref": "ValueRange" 379 "$ref": "ValueRange"
477 }, 380 },
478 "scopes": [ 381 "scopes": [
479 "https://www.googleapis.com/auth/drive", 382 "https://www.googleapis.com/auth/drive",
480 "https://www.googleapis.com/auth/drive.file", 383 "https://www.googleapis.com/auth/drive.file",
481 "https://www.googleapis.com/auth/drive.readonly" , 384 "https://www.googleapis.com/auth/drive.readonly" ,
482 "https://www.googleapis.com/auth/spreadsheets", 385 "https://www.googleapis.com/auth/spreadsheets",
483 "https://www.googleapis.com/auth/spreadsheets.re adonly" 386 "https://www.googleapis.com/auth/spreadsheets.re adonly"
484 ] 387 ]
485 }, 388 },
486 "update": { 389 "update": {
487 "description": "Sets values in a range of a spreadsh eet.\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption .", 390 "description": "Sets values in a range of a spreadsh eet.\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption .",
488 "httpMethod": "PUT", 391 "httpMethod": "PUT",
489 "id": "sheets.spreadsheets.values.update", 392 "id": "sheets.spreadsheets.values.update",
490 "parameterOrder": [ 393 "parameterOrder": [
491 "spreadsheetId", 394 "spreadsheetId",
492 "range" 395 "range"
493 ], 396 ],
494 "parameters": { 397 "parameters": {
398 "spreadsheetId": {
399 "description": "The ID of the spreadsheet to update.",
400 "location": "path",
401 "required": true,
402 "type": "string"
403 },
495 "responseValueRenderOption": { 404 "responseValueRenderOption": {
496 "description": "Determines how values in the response should be rendered.\nThe default render option is ValueRenderOption.FO RMATTED_VALUE.", 405 "description": "Determines how values in the response should be rendered.\nThe default render option is ValueRenderOption.FO RMATTED_VALUE.",
497 "enum": [ 406 "enum": [
498 "FORMATTED_VALUE", 407 "FORMATTED_VALUE",
499 "UNFORMATTED_VALUE", 408 "UNFORMATTED_VALUE",
500 "FORMULA" 409 "FORMULA"
501 ], 410 ],
502 "location": "query", 411 "location": "query",
503 "type": "string" 412 "type": "string"
504 }, 413 },
505 "valueInputOption": { 414 "valueInputOption": {
506 "description": "How the input data should be interpreted.", 415 "description": "How the input data should be interpreted.",
507 "enum": [ 416 "enum": [
508 "INPUT_VALUE_OPTION_UNSPECIFIED", 417 "INPUT_VALUE_OPTION_UNSPECIFIED",
509 "RAW", 418 "RAW",
510 "USER_ENTERED" 419 "USER_ENTERED"
511 ], 420 ],
512 "location": "query", 421 "location": "query",
513 "type": "string" 422 "type": "string"
514 }, 423 },
515 "responseDateTimeRenderOption": { 424 "responseDateTimeRenderOption": {
516 "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].", 425 "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].",
517 "enum": [ 426 "enum": [
518 "SERIAL_NUMBER", 427 "SERIAL_NUMBER",
519 "FORMATTED_STRING" 428 "FORMATTED_STRING"
520 ], 429 ],
521 "location": "query", 430 "location": "query",
522 "type": "string" 431 "type": "string"
523 }, 432 },
524 "includeValuesInResponse": {
525 "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).",
526 "location": "query",
527 "type": "boolean"
528 },
529 "range": { 433 "range": {
530 "description": "The A1 notation of the value s to update.", 434 "description": "The A1 notation of the value s to update.",
531 "location": "path", 435 "location": "path",
532 "required": true, 436 "required": true,
533 "type": "string" 437 "type": "string"
534 }, 438 },
535 "spreadsheetId": { 439 "includeValuesInResponse": {
536 "description": "The ID of the spreadsheet to update.", 440 "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).",
537 "location": "path", 441 "location": "query",
538 "required": true, 442 "type": "boolean"
539 "type": "string"
540 } 443 }
541 }, 444 },
542 "path": "v4/spreadsheets/{spreadsheetId}/values/{ran ge}", 445 "path": "v4/spreadsheets/{spreadsheetId}/values/{ran ge}",
543 "request": { 446 "request": {
544 "$ref": "ValueRange" 447 "$ref": "ValueRange"
545 }, 448 },
546 "response": { 449 "response": {
547 "$ref": "UpdateValuesResponse" 450 "$ref": "UpdateValuesResponse"
548 }, 451 },
549 "scopes": [ 452 "scopes": [
(...skipping 22 matching lines...) Expand all
572 "$ref": "BatchUpdateValuesRequest" 475 "$ref": "BatchUpdateValuesRequest"
573 }, 476 },
574 "response": { 477 "response": {
575 "$ref": "BatchUpdateValuesResponse" 478 "$ref": "BatchUpdateValuesResponse"
576 }, 479 },
577 "scopes": [ 480 "scopes": [
578 "https://www.googleapis.com/auth/drive", 481 "https://www.googleapis.com/auth/drive",
579 "https://www.googleapis.com/auth/drive.file", 482 "https://www.googleapis.com/auth/drive.file",
580 "https://www.googleapis.com/auth/spreadsheets" 483 "https://www.googleapis.com/auth/spreadsheets"
581 ] 484 ]
485 },
486 "clear": {
487 "description": "Clears values from a spreadsheet.\nT he caller must specify the spreadsheet ID and range.\nOnly values are cleared -- all other properties of the cell (such as\nformatting, data validation, etc..) are kept.",
488 "httpMethod": "POST",
489 "id": "sheets.spreadsheets.values.clear",
490 "parameterOrder": [
491 "spreadsheetId",
492 "range"
493 ],
494 "parameters": {
495 "spreadsheetId": {
496 "description": "The ID of the spreadsheet to update.",
497 "location": "path",
498 "required": true,
499 "type": "string"
500 },
501 "range": {
502 "description": "The A1 notation of the value s to clear.",
503 "location": "path",
504 "required": true,
505 "type": "string"
506 }
507 },
508 "path": "v4/spreadsheets/{spreadsheetId}/values/{ran ge}:clear",
509 "request": {
510 "$ref": "ClearValuesRequest"
511 },
512 "response": {
513 "$ref": "ClearValuesResponse"
514 },
515 "scopes": [
516 "https://www.googleapis.com/auth/drive",
517 "https://www.googleapis.com/auth/drive.file",
518 "https://www.googleapis.com/auth/spreadsheets"
519 ]
520 },
521 "batchGet": {
522 "description": "Returns one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.",
523 "httpMethod": "GET",
524 "id": "sheets.spreadsheets.values.batchGet",
525 "parameterOrder": [
526 "spreadsheetId"
527 ],
528 "parameters": {
529 "majorDimension": {
530 "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]]`.",
531 "enum": [
532 "DIMENSION_UNSPECIFIED",
533 "ROWS",
534 "COLUMNS"
535 ],
536 "location": "query",
537 "type": "string"
538 },
539 "ranges": {
540 "description": "The A1 notation of the value s to retrieve.",
541 "location": "query",
542 "repeated": true,
543 "type": "string"
544 },
545 "spreadsheetId": {
546 "description": "The ID of the spreadsheet to retrieve data from.",
547 "location": "path",
548 "required": true,
549 "type": "string"
550 },
551 "dateTimeRenderOption": {
552 "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].",
553 "enum": [
554 "SERIAL_NUMBER",
555 "FORMATTED_STRING"
556 ],
557 "location": "query",
558 "type": "string"
559 },
560 "valueRenderOption": {
561 "description": "How values should be represe nted in the output.\nThe default render option is ValueRenderOption.FORMATTED_VA LUE.",
562 "enum": [
563 "FORMATTED_VALUE",
564 "UNFORMATTED_VALUE",
565 "FORMULA"
566 ],
567 "location": "query",
568 "type": "string"
569 }
570 },
571 "path": "v4/spreadsheets/{spreadsheetId}/values:batc hGet",
572 "response": {
573 "$ref": "BatchGetValuesResponse"
574 },
575 "scopes": [
576 "https://www.googleapis.com/auth/drive",
577 "https://www.googleapis.com/auth/drive.file",
578 "https://www.googleapis.com/auth/drive.readonly" ,
579 "https://www.googleapis.com/auth/spreadsheets",
580 "https://www.googleapis.com/auth/spreadsheets.re adonly"
581 ]
582 } 582 }
583 } 583 }
584 }, 584 },
585 "sheets": { 585 "sheets": {
586 "methods": { 586 "methods": {
587 "copyTo": { 587 "copyTo": {
588 "description": "Copies a single sheet from a spreads heet to another spreadsheet.\nReturns the properties of the newly created sheet. ", 588 "description": "Copies a single sheet from a spreads heet to another spreadsheet.\nReturns the properties of the newly created sheet. ",
589 "httpMethod": "POST", 589 "httpMethod": "POST",
590 "id": "sheets.spreadsheets.sheets.copyTo", 590 "id": "sheets.spreadsheets.sheets.copyTo",
591 "parameterOrder": [ 591 "parameterOrder": [
592 "spreadsheetId", 592 "spreadsheetId",
593 "sheetId" 593 "sheetId"
594 ], 594 ],
595 "parameters": { 595 "parameters": {
596 "spreadsheetId": {
597 "description": "The ID of the spreadsheet co ntaining the sheet to copy.",
598 "location": "path",
599 "required": true,
600 "type": "string"
601 },
602 "sheetId": { 596 "sheetId": {
603 "description": "The ID of the sheet to copy. ", 597 "description": "The ID of the sheet to copy. ",
604 "format": "int32", 598 "format": "int32",
605 "location": "path", 599 "location": "path",
606 "required": true, 600 "required": true,
607 "type": "integer" 601 "type": "integer"
602 },
603 "spreadsheetId": {
604 "description": "The ID of the spreadsheet co ntaining the sheet to copy.",
605 "location": "path",
606 "required": true,
607 "type": "string"
608 } 608 }
609 }, 609 },
610 "path": "v4/spreadsheets/{spreadsheetId}/sheets/{she etId}:copyTo", 610 "path": "v4/spreadsheets/{spreadsheetId}/sheets/{she etId}:copyTo",
611 "request": { 611 "request": {
612 "$ref": "CopySheetToAnotherSpreadsheetRequest" 612 "$ref": "CopySheetToAnotherSpreadsheetRequest"
613 }, 613 },
614 "response": { 614 "response": {
615 "$ref": "SheetProperties" 615 "$ref": "SheetProperties"
616 }, 616 },
617 "scopes": [ 617 "scopes": [
618 "https://www.googleapis.com/auth/drive", 618 "https://www.googleapis.com/auth/drive",
619 "https://www.googleapis.com/auth/drive.file", 619 "https://www.googleapis.com/auth/drive.file",
620 "https://www.googleapis.com/auth/spreadsheets" 620 "https://www.googleapis.com/auth/spreadsheets"
621 ] 621 ]
622 } 622 }
623 } 623 }
624 } 624 }
625 } 625 }
626 } 626 }
627 }, 627 },
628 "revision": "20170801", 628 "revision": "20170831",
629 "rootUrl": "https://sheets.googleapis.com/", 629 "rootUrl": "https://sheets.googleapis.com/",
630 "schemas": { 630 "schemas": {
631 "DeleteProtectedRangeRequest": {
632 "description": "Deletes the protected range with the given ID.",
633 "id": "DeleteProtectedRangeRequest",
634 "properties": {
635 "protectedRangeId": {
636 "description": "The ID of the protected range to delete.",
637 "format": "int32",
638 "type": "integer"
639 }
640 },
641 "type": "object"
642 },
643 "AutoFillRequest": {
644 "description": "Fills in more data based on existing data.",
645 "id": "AutoFillRequest",
646 "properties": {
647 "range": {
648 "$ref": "GridRange",
649 "description": "The range to autofill. This will examine the range and detect\nthe location that has data and automatically fill that data\n in to the rest of the range."
650 },
651 "useAlternateSeries": {
652 "description": "True if we should generate data with the \"a lternate\" series.\nThis differs based on the type and amount of source data.",
653 "type": "boolean"
654 },
655 "sourceAndDestination": {
656 "$ref": "SourceAndDestination",
657 "description": "The source and destination areas to autofill .\nThis explicitly lists the source of the autofill and where to\nextend that da ta."
658 }
659 },
660 "type": "object"
661 },
662 "GradientRule": {
663 "description": "A rule that applies a gradient color scale format, b ased on\nthe interpolation points listed. The format of a cell will vary\nbased on its contents as compared to the values of the interpolation\npoints.",
664 "id": "GradientRule",
665 "properties": {
666 "maxpoint": {
667 "$ref": "InterpolationPoint",
668 "description": "The final interpolation point."
669 },
670 "minpoint": {
671 "$ref": "InterpolationPoint",
672 "description": "The starting interpolation point."
673 },
674 "midpoint": {
675 "$ref": "InterpolationPoint",
676 "description": "An optional midway interpolation point."
677 }
678 },
679 "type": "object"
680 },
681 "SetBasicFilterRequest": {
682 "description": "Sets the basic filter associated with a sheet.",
683 "id": "SetBasicFilterRequest",
684 "properties": {
685 "filter": {
686 "$ref": "BasicFilter",
687 "description": "The filter to set."
688 }
689 },
690 "type": "object"
691 },
692 "ClearValuesRequest": {
693 "description": "The request for clearing a range of values in a spre adsheet.",
694 "id": "ClearValuesRequest",
695 "properties": {},
696 "type": "object"
697 },
698 "InterpolationPoint": {
699 "description": "A single interpolation point on a gradient condition al format.\nThese pin the gradient color scale according to the color,\ntype and value chosen.",
700 "id": "InterpolationPoint",
701 "properties": {
702 "color": {
703 "$ref": "Color",
704 "description": "The color this interpolation point should us e."
705 },
706 "type": {
707 "description": "How the value should be interpreted.",
708 "enum": [
709 "INTERPOLATION_POINT_TYPE_UNSPECIFIED",
710 "MIN",
711 "MAX",
712 "NUMBER",
713 "PERCENT",
714 "PERCENTILE"
715 ],
716 "enumDescriptions": [
717 "The default value, do not use.",
718 "The interpolation point will use the minimum value in t he\ncells over the range of the conditional format.",
719 "The interpolation point will use the maximum value in t he\ncells over the range of the conditional format.",
720 "The interpolation point will use exactly the value in\n InterpolationPoint.value.",
721 "The interpolation point will be the given percentage ov er\nall the cells in the range of the conditional format.\nThis is equivalent to NUMBER if the value was:\n`=(MAX(FLATTEN(range)) * (value / 100))\n + (MIN(FLA TTEN(range)) * (1 - (value / 100)))`\n(where errors in the range are ignored whe n flattening).",
722 "The interpolation point will be the given percentile\no ver all the cells in the range of the conditional format.\nThis is equivalent to NUMBER if the value was:\n`=PERCENTILE(FLATTEN(range), value / 100)`\n(where er rors in the range are ignored when flattening)."
723 ],
724 "type": "string"
725 },
726 "value": {
727 "description": "The value this interpolation point uses. Ma y be a formula.\nUnused if type is MIN or\nMAX.",
728 "type": "string"
729 }
730 },
731 "type": "object"
732 },
733 "DeleteEmbeddedObjectRequest": {
734 "description": "Deletes the embedded object with the given ID.",
735 "id": "DeleteEmbeddedObjectRequest",
736 "properties": {
737 "objectId": {
738 "description": "The ID of the embedded object to delete.",
739 "format": "int32",
740 "type": "integer"
741 }
742 },
743 "type": "object"
744 },
745 "FindReplaceResponse": {
746 "description": "The result of the find/replace.",
747 "id": "FindReplaceResponse",
748 "properties": {
749 "occurrencesChanged": {
750 "description": "The number of occurrences (possibly multiple within a cell) changed.\nFor example, if replacing `\"e\"` with `\"o\"` in `\"G oogle Sheets\"`, this would\nbe `\"3\"` because `\"Google Sheets\"` -> `\"Googlo Shoots\"`.",
751 "format": "int32",
752 "type": "integer"
753 },
754 "rowsChanged": {
755 "description": "The number of rows changed.",
756 "format": "int32",
757 "type": "integer"
758 },
759 "sheetsChanged": {
760 "description": "The number of sheets changed.",
761 "format": "int32",
762 "type": "integer"
763 },
764 "formulasChanged": {
765 "description": "The number of formula cells changed.",
766 "format": "int32",
767 "type": "integer"
768 },
769 "valuesChanged": {
770 "description": "The number of non-formula cells changed.",
771 "format": "int32",
772 "type": "integer"
773 }
774 },
775 "type": "object"
776 },
777 "DeleteSheetRequest": {
778 "description": "Deletes the requested sheet.",
779 "id": "DeleteSheetRequest",
780 "properties": {
781 "sheetId": {
782 "description": "The ID of the sheet to delete.",
783 "format": "int32",
784 "type": "integer"
785 }
786 },
787 "type": "object"
788 },
789 "DuplicateFilterViewRequest": {
790 "description": "Duplicates a particular filter view.",
791 "id": "DuplicateFilterViewRequest",
792 "properties": {
793 "filterId": {
794 "description": "The ID of the filter being duplicated.",
795 "format": "int32",
796 "type": "integer"
797 }
798 },
799 "type": "object"
800 },
631 "UpdateConditionalFormatRuleResponse": { 801 "UpdateConditionalFormatRuleResponse": {
632 "description": "The result of updating a conditional format rule.", 802 "description": "The result of updating a conditional format rule.",
633 "id": "UpdateConditionalFormatRuleResponse", 803 "id": "UpdateConditionalFormatRuleResponse",
634 "properties": { 804 "properties": {
635 "oldRule": { 805 "oldRule": {
636 "$ref": "ConditionalFormatRule", 806 "$ref": "ConditionalFormatRule",
637 "description": "The old (deleted) rule. Not set if a rule wa s moved\n(because it is the same as new_rule)." 807 "description": "The old (deleted) rule. Not set if a rule wa s moved\n(because it is the same as new_rule)."
638 }, 808 },
639 "newIndex": { 809 "newIndex": {
640 "description": "The index of the new rule.", 810 "description": "The index of the new rule.",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 ], 853 ],
684 "type": "string" 854 "type": "string"
685 } 855 }
686 }, 856 },
687 "type": "object" 857 "type": "object"
688 }, 858 },
689 "DuplicateSheetRequest": { 859 "DuplicateSheetRequest": {
690 "description": "Duplicates the contents of a sheet.", 860 "description": "Duplicates the contents of a sheet.",
691 "id": "DuplicateSheetRequest", 861 "id": "DuplicateSheetRequest",
692 "properties": { 862 "properties": {
863 "newSheetId": {
864 "description": "If set, the ID of the new sheet. If not set, an ID is chosen.\nIf set, the ID must not conflict with any existing sheet ID.\ nIf set, it must be non-negative.",
865 "format": "int32",
866 "type": "integer"
867 },
868 "insertSheetIndex": {
869 "description": "The zero-based index where the new sheet sho uld be inserted.\nThe index of all sheets after this are incremented.",
870 "format": "int32",
871 "type": "integer"
872 },
693 "newSheetName": { 873 "newSheetName": {
694 "description": "The name of the new sheet. If empty, a new name is chosen for you.", 874 "description": "The name of the new sheet. If empty, a new name is chosen for you.",
695 "type": "string" 875 "type": "string"
696 }, 876 },
697 "sourceSheetId": { 877 "sourceSheetId": {
698 "description": "The sheet to duplicate.", 878 "description": "The sheet to duplicate.",
699 "format": "int32", 879 "format": "int32",
700 "type": "integer" 880 "type": "integer"
701 },
702 "newSheetId": {
703 "description": "If set, the ID of the new sheet. If not set, an ID is chosen.\nIf set, the ID must not conflict with any existing sheet ID.\ nIf set, it must be non-negative.",
704 "format": "int32",
705 "type": "integer"
706 },
707 "insertSheetIndex": {
708 "description": "The zero-based index where the new sheet sho uld be inserted.\nThe index of all sheets after this are incremented.",
709 "format": "int32",
710 "type": "integer"
711 } 881 }
712 }, 882 },
713 "type": "object" 883 "type": "object"
714 }, 884 },
715 "ExtendedValue": { 885 "ExtendedValue": {
716 "description": "The kinds of value that a cell in a spreadsheet can have.", 886 "description": "The kinds of value that a cell in a spreadsheet can have.",
717 "id": "ExtendedValue", 887 "id": "ExtendedValue",
718 "properties": { 888 "properties": {
889 "numberValue": {
890 "description": "Represents a double value.\nNote: Dates, Tim es and DateTimes are represented as doubles in\n\"serial number\" format.",
891 "format": "double",
892 "type": "number"
893 },
894 "errorValue": {
895 "$ref": "ErrorValue",
896 "description": "Represents an error.\nThis field is read-onl y."
897 },
719 "formulaValue": { 898 "formulaValue": {
720 "description": "Represents a formula.", 899 "description": "Represents a formula.",
721 "type": "string" 900 "type": "string"
722 }, 901 },
723 "boolValue": { 902 "boolValue": {
724 "description": "Represents a boolean value.", 903 "description": "Represents a boolean value.",
725 "type": "boolean" 904 "type": "boolean"
726 }, 905 },
727 "stringValue": { 906 "stringValue": {
728 "description": "Represents a string value.\nLeading single q uotes are not included. For example, if the user typed\n`'123` into the UI, this would be represented as a `stringValue` of\n`\"123\"`.", 907 "description": "Represents a string value.\nLeading single q uotes are not included. For example, if the user typed\n`'123` into the UI, this would be represented as a `stringValue` of\n`\"123\"`.",
729 "type": "string" 908 "type": "string"
730 },
731 "numberValue": {
732 "description": "Represents a double value.\nNote: Dates, Tim es and DateTimes are represented as doubles in\n\"serial number\" format.",
733 "format": "double",
734 "type": "number"
735 },
736 "errorValue": {
737 "$ref": "ErrorValue",
738 "description": "Represents an error.\nThis field is read-onl y."
739 } 909 }
740 }, 910 },
741 "type": "object" 911 "type": "object"
742 }, 912 },
743 "AddChartRequest": { 913 "BandedRange": {
744 "description": "Adds a chart to a sheet in the spreadsheet.", 914 "description": "A banded (alternating colors) range in a sheet.",
745 "id": "AddChartRequest", 915 "id": "BandedRange",
746 "properties": { 916 "properties": {
747 "chart": { 917 "range": {
748 "$ref": "EmbeddedChart", 918 "$ref": "GridRange",
749 "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.)" 919 "description": "The range over which these properties are ap plied."
920 },
921 "bandedRangeId": {
922 "description": "The id of the banded range.",
923 "format": "int32",
924 "type": "integer"
925 },
926 "columnProperties": {
927 "$ref": "BandingProperties",
928 "description": "Properties for column bands. These propertie s will be applied on a column-\nby-column basis throughout all the columns in th e range. At least one of\nrow_properties or column_properties must be specified. "
929 },
930 "rowProperties": {
931 "$ref": "BandingProperties",
932 "description": "Properties for row bands. These properties w ill be applied on a row-by-row\nbasis throughout all the rows in the range. At l east one of\nrow_properties or column_properties must be specified."
750 } 933 }
751 }, 934 },
752 "type": "object" 935 "type": "object"
936 },
937 "HistogramSeries": {
938 "description": "A histogram series containing the series color and d ata.",
939 "id": "HistogramSeries",
940 "properties": {
941 "data": {
942 "$ref": "ChartData",
943 "description": "The data for this histogram series."
944 },
945 "barColor": {
946 "$ref": "Color",
947 "description": "The color of the column representing this se ries in each bucket.\nThis field is optional."
948 }
949 },
950 "type": "object"
951 },
952 "BatchClearValuesResponse": {
953 "description": "The response when clearing a range of values in a sp readsheet.",
954 "id": "BatchClearValuesResponse",
955 "properties": {
956 "clearedRanges": {
957 "description": "The ranges that were cleared, in A1 notation .\n(If the requests were for an unbounded range or a ranger larger\n than the bo unds of the sheet, this will be the actual ranges\n that were cleared, bounded t o the sheet's limits.)",
958 "items": {
959 "type": "string"
960 },
961 "type": "array"
962 },
963 "spreadsheetId": {
964 "description": "The spreadsheet the updates were applied to. ",
965 "type": "string"
966 }
967 },
968 "type": "object"
753 }, 969 },
754 "Spreadsheet": { 970 "Spreadsheet": {
755 "description": "Resource that represents a spreadsheet.", 971 "description": "Resource that represents a spreadsheet.",
756 "id": "Spreadsheet", 972 "id": "Spreadsheet",
757 "properties": { 973 "properties": {
758 "spreadsheetUrl": {
759 "description": "The url of the spreadsheet.\nThis field is r ead-only.",
760 "type": "string"
761 },
762 "properties": { 974 "properties": {
763 "$ref": "SpreadsheetProperties", 975 "$ref": "SpreadsheetProperties",
764 "description": "Overall properties of a spreadsheet." 976 "description": "Overall properties of a spreadsheet."
765 }, 977 },
766 "namedRanges": { 978 "namedRanges": {
767 "description": "The named ranges defined in a spreadsheet.", 979 "description": "The named ranges defined in a spreadsheet.",
768 "items": { 980 "items": {
769 "$ref": "NamedRange" 981 "$ref": "NamedRange"
770 }, 982 },
771 "type": "array" 983 "type": "array"
772 }, 984 },
773 "sheets": { 985 "sheets": {
774 "description": "The sheets that are part of a spreadsheet.", 986 "description": "The sheets that are part of a spreadsheet.",
775 "items": { 987 "items": {
776 "$ref": "Sheet" 988 "$ref": "Sheet"
777 }, 989 },
778 "type": "array" 990 "type": "array"
779 }, 991 },
780 "spreadsheetId": { 992 "spreadsheetId": {
781 "description": "The ID of the spreadsheet.\nThis field is re ad-only.", 993 "description": "The ID of the spreadsheet.\nThis field is re ad-only.",
782 "type": "string" 994 "type": "string"
995 },
996 "spreadsheetUrl": {
997 "description": "The url of the spreadsheet.\nThis field is r ead-only.",
998 "type": "string"
783 } 999 }
784 }, 1000 },
785 "type": "object" 1001 "type": "object"
786 }, 1002 },
787 "BatchClearValuesResponse": { 1003 "AddChartRequest": {
788 "description": "The response when clearing a range of values in a sp readsheet.", 1004 "description": "Adds a chart to a sheet in the spreadsheet.",
789 "id": "BatchClearValuesResponse", 1005 "id": "AddChartRequest",
790 "properties": { 1006 "properties": {
791 "clearedRanges": { 1007 "chart": {
792 "description": "The ranges that were cleared, in A1 notation .\n(If the requests were for an unbounded range or a ranger larger\n than the bo unds of the sheet, this will be the actual ranges\n that were cleared, bounded t o the sheet's limits.)", 1008 "$ref": "EmbeddedChart",
793 "items": { 1009 "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.)"
794 "type": "string"
795 },
796 "type": "array"
797 },
798 "spreadsheetId": {
799 "description": "The spreadsheet the updates were applied to. ",
800 "type": "string"
801 } 1010 }
802 }, 1011 },
803 "type": "object" 1012 "type": "object"
804 },
805 "HistogramSeries": {
806 "description": "A histogram series containing the series color and d ata.",
807 "id": "HistogramSeries",
808 "properties": {
809 "barColor": {
810 "$ref": "Color",
811 "description": "The color of the column representing this se ries in each bucket.\nThis field is optional."
812 },
813 "data": {
814 "$ref": "ChartData",
815 "description": "The data for this histogram series."
816 }
817 },
818 "type": "object"
819 },
820 "BandedRange": {
821 "description": "A banded (alternating colors) range in a sheet.",
822 "id": "BandedRange",
823 "properties": {
824 "range": {
825 "$ref": "GridRange",
826 "description": "The range over which these properties are ap plied."
827 },
828 "bandedRangeId": {
829 "description": "The id of the banded range.",
830 "format": "int32",
831 "type": "integer"
832 },
833 "columnProperties": {
834 "$ref": "BandingProperties",
835 "description": "Properties for column bands. These propertie s will be applied on a column-\nby-column basis throughout all the columns in th e range. At least one of\nrow_properties or column_properties must be specified. "
836 },
837 "rowProperties": {
838 "$ref": "BandingProperties",
839 "description": "Properties for row bands. These properties w ill be applied on a row-by-row\nbasis throughout all the rows in the range. At l east one of\nrow_properties or column_properties must be specified."
840 }
841 },
842 "type": "object"
843 }, 1013 },
844 "UpdateProtectedRangeRequest": { 1014 "UpdateProtectedRangeRequest": {
845 "description": "Updates an existing protected range with the specifi ed\nprotectedRangeId.", 1015 "description": "Updates an existing protected range with the specifi ed\nprotectedRangeId.",
846 "id": "UpdateProtectedRangeRequest", 1016 "id": "UpdateProtectedRangeRequest",
847 "properties": { 1017 "properties": {
848 "fields": { 1018 "fields": {
849 "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.", 1019 "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.",
850 "format": "google-fieldmask", 1020 "format": "google-fieldmask",
851 "type": "string" 1021 "type": "string"
852 }, 1022 },
853 "protectedRange": { 1023 "protectedRange": {
854 "$ref": "ProtectedRange", 1024 "$ref": "ProtectedRange",
855 "description": "The protected range to update with the new p roperties." 1025 "description": "The protected range to update with the new p roperties."
856 } 1026 }
857 }, 1027 },
858 "type": "object" 1028 "type": "object"
859 }, 1029 },
860 "TextFormat": { 1030 "TextFormat": {
861 "description": "The format of a run of text in a cell.\nAbsent value s indicate that the field isn't specified.", 1031 "description": "The format of a run of text in a cell.\nAbsent value s indicate that the field isn't specified.",
862 "id": "TextFormat", 1032 "id": "TextFormat",
863 "properties": { 1033 "properties": {
864 "bold": { 1034 "underline": {
865 "description": "True if the text is bold.", 1035 "description": "True if the text is underlined.",
866 "type": "boolean" 1036 "type": "boolean"
867 }, 1037 },
868 "foregroundColor": { 1038 "foregroundColor": {
869 "$ref": "Color", 1039 "$ref": "Color",
870 "description": "The foreground color of the text." 1040 "description": "The foreground color of the text."
871 }, 1041 },
1042 "bold": {
1043 "description": "True if the text is bold.",
1044 "type": "boolean"
1045 },
872 "fontFamily": { 1046 "fontFamily": {
873 "description": "The font family.", 1047 "description": "The font family.",
874 "type": "string" 1048 "type": "string"
875 }, 1049 },
876 "italic": { 1050 "italic": {
877 "description": "True if the text is italicized.", 1051 "description": "True if the text is italicized.",
878 "type": "boolean" 1052 "type": "boolean"
879 }, 1053 },
880 "strikethrough": { 1054 "strikethrough": {
881 "description": "True if the text has a strikethrough.", 1055 "description": "True if the text has a strikethrough.",
882 "type": "boolean" 1056 "type": "boolean"
883 }, 1057 },
884 "fontSize": { 1058 "fontSize": {
885 "description": "The size of the font.", 1059 "description": "The size of the font.",
886 "format": "int32", 1060 "format": "int32",
887 "type": "integer" 1061 "type": "integer"
888 },
889 "underline": {
890 "description": "True if the text is underlined.",
891 "type": "boolean"
892 } 1062 }
893 }, 1063 },
894 "type": "object" 1064 "type": "object"
895 }, 1065 },
896 "AddSheetResponse": { 1066 "AddSheetResponse": {
897 "description": "The result of adding a sheet.", 1067 "description": "The result of adding a sheet.",
898 "id": "AddSheetResponse", 1068 "id": "AddSheetResponse",
899 "properties": { 1069 "properties": {
900 "properties": { 1070 "properties": {
901 "$ref": "SheetProperties", 1071 "$ref": "SheetProperties",
(...skipping 10 matching lines...) Expand all
912 "$ref": "FilterView", 1082 "$ref": "FilterView",
913 "description": "The newly added filter view." 1083 "description": "The newly added filter view."
914 } 1084 }
915 }, 1085 },
916 "type": "object" 1086 "type": "object"
917 }, 1087 },
918 "IterativeCalculationSettings": { 1088 "IterativeCalculationSettings": {
919 "description": "Settings to control how circular dependencies are re solved with iterative\ncalculation.", 1089 "description": "Settings to control how circular dependencies are re solved with iterative\ncalculation.",
920 "id": "IterativeCalculationSettings", 1090 "id": "IterativeCalculationSettings",
921 "properties": { 1091 "properties": {
1092 "convergenceThreshold": {
1093 "description": "When iterative calculation is enabled and su ccessive results differ by\nless than this threshold value, the calculation roun ds stop.",
1094 "format": "double",
1095 "type": "number"
1096 },
922 "maxIterations": { 1097 "maxIterations": {
923 "description": "When iterative calculation is enabled, the m aximum number of calculation\nrounds to perform.", 1098 "description": "When iterative calculation is enabled, the m aximum number of calculation\nrounds to perform.",
924 "format": "int32", 1099 "format": "int32",
925 "type": "integer" 1100 "type": "integer"
926 },
927 "convergenceThreshold": {
928 "description": "When iterative calculation is enabled and su ccessive results differ by\nless than this threshold value, the calculation roun ds stop.",
929 "format": "double",
930 "type": "number"
931 } 1101 }
932 }, 1102 },
933 "type": "object" 1103 "type": "object"
934 }, 1104 },
935 "SpreadsheetProperties": { 1105 "SpreadsheetProperties": {
936 "description": "Properties of a spreadsheet.", 1106 "description": "Properties of a spreadsheet.",
937 "id": "SpreadsheetProperties", 1107 "id": "SpreadsheetProperties",
938 "properties": { 1108 "properties": {
939 "autoRecalc": {
940 "description": "The amount of time to wait before volatile f unctions are recalculated.",
941 "enum": [
942 "RECALCULATION_INTERVAL_UNSPECIFIED",
943 "ON_CHANGE",
944 "MINUTE",
945 "HOUR"
946 ],
947 "enumDescriptions": [
948 "Default value. This value must not be used.",
949 "Volatile functions are updated on every change.",
950 "Volatile functions are updated on every change and ever y minute.",
951 "Volatile functions are updated on every change and hour ly."
952 ],
953 "type": "string"
954 },
955 "defaultFormat": {
956 "$ref": "CellFormat",
957 "description": "The default format of all cells in the sprea dsheet.\nCellData.effectiveFormat will not be set if the\ncell's format is equal to this default format.\nThis field is read-only."
958 },
959 "title": { 1109 "title": {
960 "description": "The title of the spreadsheet.", 1110 "description": "The title of the spreadsheet.",
961 "type": "string" 1111 "type": "string"
962 }, 1112 },
963 "timeZone": { 1113 "timeZone": {
964 "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`.", 1114 "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`.",
965 "type": "string" 1115 "type": "string"
966 }, 1116 },
967 "locale": { 1117 "locale": {
968 "description": "The locale of the spreadsheet in one of the following formats:\n\n* an ISO 639-1 language code such as `en`\n\n* an ISO 639- 2 language code such as `fil`, if no 639-1 code exists\n\n* a combination of the ISO language code and country code, such as `en_US`\n\nNote: when updating this field, not all locales/languages are supported.", 1118 "description": "The locale of the spreadsheet in one of the following formats:\n\n* an ISO 639-1 language code such as `en`\n\n* an ISO 639- 2 language code such as `fil`, if no 639-1 code exists\n\n* a combination of the ISO language code and country code, such as `en_US`\n\nNote: when updating this field, not all locales/languages are supported.",
969 "type": "string" 1119 "type": "string"
970 }, 1120 },
971 "iterativeCalculationSettings": { 1121 "iterativeCalculationSettings": {
972 "$ref": "IterativeCalculationSettings", 1122 "$ref": "IterativeCalculationSettings",
973 "description": "Determines whether and how circular referenc es are resolved with iterative\ncalculation. Absence of this field means that c ircular references will\nresult in calculation errors." 1123 "description": "Determines whether and how circular referenc es are resolved with iterative\ncalculation. Absence of this field means that c ircular references will\nresult in calculation errors."
1124 },
1125 "defaultFormat": {
1126 "$ref": "CellFormat",
1127 "description": "The default format of all cells in the sprea dsheet.\nCellData.effectiveFormat will not be set if the\ncell's format is equal to this default format.\nThis field is read-only."
1128 },
1129 "autoRecalc": {
1130 "description": "The amount of time to wait before volatile f unctions are recalculated.",
1131 "enum": [
1132 "RECALCULATION_INTERVAL_UNSPECIFIED",
1133 "ON_CHANGE",
1134 "MINUTE",
1135 "HOUR"
1136 ],
1137 "enumDescriptions": [
1138 "Default value. This value must not be used.",
1139 "Volatile functions are updated on every change.",
1140 "Volatile functions are updated on every change and ever y minute.",
1141 "Volatile functions are updated on every change and hour ly."
1142 ],
1143 "type": "string"
974 } 1144 }
975 }, 1145 },
976 "type": "object" 1146 "type": "object"
977 }, 1147 },
978 "OverlayPosition": { 1148 "OverlayPosition": {
979 "description": "The location an object is overlaid on top of a grid. ", 1149 "description": "The location an object is overlaid on top of a grid. ",
980 "id": "OverlayPosition", 1150 "id": "OverlayPosition",
981 "properties": { 1151 "properties": {
982 "widthPixels": {
983 "description": "The width of the object, in pixels. Defaults to 600.",
984 "format": "int32",
985 "type": "integer"
986 },
987 "offsetXPixels": { 1152 "offsetXPixels": {
988 "description": "The horizontal offset, in pixels, that the o bject is offset\nfrom the anchor cell.", 1153 "description": "The horizontal offset, in pixels, that the o bject is offset\nfrom the anchor cell.",
989 "format": "int32", 1154 "format": "int32",
990 "type": "integer" 1155 "type": "integer"
991 }, 1156 },
992 "anchorCell": { 1157 "anchorCell": {
993 "$ref": "GridCoordinate", 1158 "$ref": "GridCoordinate",
994 "description": "The cell the object is anchored to." 1159 "description": "The cell the object is anchored to."
995 }, 1160 },
996 "heightPixels": { 1161 "heightPixels": {
997 "description": "The height of the object, in pixels. Default s to 371.", 1162 "description": "The height of the object, in pixels. Default s to 371.",
998 "format": "int32", 1163 "format": "int32",
999 "type": "integer" 1164 "type": "integer"
1000 }, 1165 },
1001 "offsetYPixels": { 1166 "offsetYPixels": {
1002 "description": "The vertical offset, in pixels, that the obj ect is offset\nfrom the anchor cell.", 1167 "description": "The vertical offset, in pixels, that the obj ect is offset\nfrom the anchor cell.",
1003 "format": "int32", 1168 "format": "int32",
1004 "type": "integer" 1169 "type": "integer"
1170 },
1171 "widthPixels": {
1172 "description": "The width of the object, in pixels. Defaults to 600.",
1173 "format": "int32",
1174 "type": "integer"
1005 } 1175 }
1006 }, 1176 },
1007 "type": "object" 1177 "type": "object"
1008 }, 1178 },
1009 "RepeatCellRequest": { 1179 "RepeatCellRequest": {
1010 "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. ", 1180 "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. ",
1011 "id": "RepeatCellRequest", 1181 "id": "RepeatCellRequest",
1012 "properties": { 1182 "properties": {
1013 "range": { 1183 "range": {
1014 "$ref": "GridRange", 1184 "$ref": "GridRange",
(...skipping 19 matching lines...) Expand all
1034 "$ref": "EmbeddedChart", 1204 "$ref": "EmbeddedChart",
1035 "description": "The newly added chart." 1205 "description": "The newly added chart."
1036 } 1206 }
1037 }, 1207 },
1038 "type": "object" 1208 "type": "object"
1039 }, 1209 },
1040 "InsertDimensionRequest": { 1210 "InsertDimensionRequest": {
1041 "description": "Inserts rows or columns in a sheet at a particular i ndex.", 1211 "description": "Inserts rows or columns in a sheet at a particular i ndex.",
1042 "id": "InsertDimensionRequest", 1212 "id": "InsertDimensionRequest",
1043 "properties": { 1213 "properties": {
1214 "range": {
1215 "$ref": "DimensionRange",
1216 "description": "The dimensions to insert. Both the start an d end indexes must be bounded."
1217 },
1044 "inheritFromBefore": { 1218 "inheritFromBefore": {
1045 "description": "Whether dimension properties should be exten ded from the dimensions\nbefore or after the newly inserted dimensions.\nTrue to inherit from the dimensions before (in which case the start\nindex must be grea ter than 0), and false to inherit from the dimensions\nafter.\n\nFor example, if row index 0 has red background and row index 1\nhas a green background, then in serting 2 rows at index 1 can inherit\neither the green or red background. If ` inheritFromBefore` is true,\nthe two new rows will be red (because the row befor e the insertion point\nwas red), whereas if `inheritFromBefore` is false, the tw o new rows will\nbe green (because the row after the insertion point was green). ", 1219 "description": "Whether dimension properties should be exten ded from the dimensions\nbefore or after the newly inserted dimensions.\nTrue to inherit from the dimensions before (in which case the start\nindex must be grea ter than 0), and false to inherit from the dimensions\nafter.\n\nFor example, if row index 0 has red background and row index 1\nhas a green background, then in serting 2 rows at index 1 can inherit\neither the green or red background. If ` inheritFromBefore` is true,\nthe two new rows will be red (because the row befor e the insertion point\nwas red), whereas if `inheritFromBefore` is false, the tw o new rows will\nbe green (because the row after the insertion point was green). ",
1046 "type": "boolean" 1220 "type": "boolean"
1047 },
1048 "range": {
1049 "$ref": "DimensionRange",
1050 "description": "The dimensions to insert. Both the start an d end indexes must be bounded."
1051 } 1221 }
1052 }, 1222 },
1053 "type": "object" 1223 "type": "object"
1054 }, 1224 },
1055 "UpdateSpreadsheetPropertiesRequest": { 1225 "UpdateSpreadsheetPropertiesRequest": {
1056 "description": "Updates properties of a spreadsheet.", 1226 "description": "Updates properties of a spreadsheet.",
1057 "id": "UpdateSpreadsheetPropertiesRequest", 1227 "id": "UpdateSpreadsheetPropertiesRequest",
1058 "properties": { 1228 "properties": {
1229 "properties": {
1230 "$ref": "SpreadsheetProperties",
1231 "description": "The properties to update."
1232 },
1059 "fields": { 1233 "fields": {
1060 "description": "The fields that should be updated. At least one field must be specified.\nThe root 'properties' is implied and should not b e specified.\nA single `\"*\"` can be used as short-hand for listing every field .", 1234 "description": "The fields that should be updated. At least one field must be specified.\nThe root 'properties' is implied and should not b e specified.\nA single `\"*\"` can be used as short-hand for listing every field .",
1061 "format": "google-fieldmask", 1235 "format": "google-fieldmask",
1062 "type": "string" 1236 "type": "string"
1063 },
1064 "properties": {
1065 "$ref": "SpreadsheetProperties",
1066 "description": "The properties to update."
1067 } 1237 }
1068 }, 1238 },
1069 "type": "object" 1239 "type": "object"
1070 }, 1240 },
1071 "BatchUpdateValuesRequest": { 1241 "BatchUpdateValuesRequest": {
1072 "description": "The request for updating more than one range of valu es in a spreadsheet.", 1242 "description": "The request for updating more than one range of valu es in a spreadsheet.",
1073 "id": "BatchUpdateValuesRequest", 1243 "id": "BatchUpdateValuesRequest",
1074 "properties": { 1244 "properties": {
1075 "responseValueRenderOption": { 1245 "responseValueRenderOption": {
1076 "description": "Determines how values in the response should be rendered.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.", 1246 "description": "Determines how values in the response should be rendered.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1123 ], 1293 ],
1124 "type": "string" 1294 "type": "string"
1125 } 1295 }
1126 }, 1296 },
1127 "type": "object" 1297 "type": "object"
1128 }, 1298 },
1129 "ProtectedRange": { 1299 "ProtectedRange": {
1130 "description": "A protected range.", 1300 "description": "A protected range.",
1131 "id": "ProtectedRange", 1301 "id": "ProtectedRange",
1132 "properties": { 1302 "properties": {
1133 "editors": {
1134 "$ref": "Editors",
1135 "description": "The users and groups with edit access to the protected range.\nThis field is only visible to users with edit access to the p rotected\nrange and the document.\nEditors are not supported with warning_only p rotection."
1136 },
1137 "range": {
1138 "$ref": "GridRange",
1139 "description": "The range that is being protected.\nThe rang e may be fully unbounded, in which case this is considered\na protected sheet.\n \nWhen writing, only one of range or named_range_id\nmay be set."
1140 },
1141 "description": {
1142 "description": "The description of this protected range.",
1143 "type": "string"
1144 },
1145 "unprotectedRanges": { 1303 "unprotectedRanges": {
1146 "description": "The list of unprotected ranges within a prot ected sheet.\nUnprotected ranges are only supported on protected sheets.", 1304 "description": "The list of unprotected ranges within a prot ected sheet.\nUnprotected ranges are only supported on protected sheets.",
1147 "items": { 1305 "items": {
1148 "$ref": "GridRange" 1306 "$ref": "GridRange"
1149 }, 1307 },
1150 "type": "array" 1308 "type": "array"
1151 }, 1309 },
1152 "namedRangeId": { 1310 "namedRangeId": {
1153 "description": "The named range this protected range is back ed by, if any.\n\nWhen writing, only one of range or named_range_id\nmay be set. ", 1311 "description": "The named range this protected range is back ed by, if any.\n\nWhen writing, only one of range or named_range_id\nmay be set. ",
1154 "type": "string" 1312 "type": "string"
1155 }, 1313 },
1156 "protectedRangeId": { 1314 "protectedRangeId": {
1157 "description": "The ID of the protected range.\nThis field i s read-only.", 1315 "description": "The ID of the protected range.\nThis field i s read-only.",
1158 "format": "int32", 1316 "format": "int32",
1159 "type": "integer" 1317 "type": "integer"
1160 }, 1318 },
1161 "warningOnly": { 1319 "warningOnly": {
1162 "description": "True if this protected range will show a war ning when editing.\nWarning-based protection means that every user can edit data in the\nprotected range, except editing will prompt a warning asking the user\n to confirm the edit.\n\nWhen writing: if this field is true, then editors is ign ored.\nAdditionally, if this field is changed from true to false and the\n`edito rs` field is not set (nor included in the field mask), then\nthe editors will be set to all the editors in the document.", 1320 "description": "True if this protected range will show a war ning when editing.\nWarning-based protection means that every user can edit data in the\nprotected range, except editing will prompt a warning asking the user\n to confirm the edit.\n\nWhen writing: if this field is true, then editors is ign ored.\nAdditionally, if this field is changed from true to false and the\n`edito rs` field is not set (nor included in the field mask), then\nthe editors will be set to all the editors in the document.",
1163 "type": "boolean" 1321 "type": "boolean"
1164 }, 1322 },
1165 "requestingUserCanEdit": { 1323 "requestingUserCanEdit": {
1166 "description": "True if the user who requested this protecte d range can edit the\nprotected area.\nThis field is read-only.", 1324 "description": "True if the user who requested this protecte d range can edit the\nprotected area.\nThis field is read-only.",
1167 "type": "boolean" 1325 "type": "boolean"
1326 },
1327 "editors": {
1328 "$ref": "Editors",
1329 "description": "The users and groups with edit access to the protected range.\nThis field is only visible to users with edit access to the p rotected\nrange and the document.\nEditors are not supported with warning_only p rotection."
1330 },
1331 "range": {
1332 "$ref": "GridRange",
1333 "description": "The range that is being protected.\nThe rang e may be fully unbounded, in which case this is considered\na protected sheet.\n \nWhen writing, only one of range or named_range_id\nmay be set."
1334 },
1335 "description": {
1336 "description": "The description of this protected range.",
1337 "type": "string"
1168 } 1338 }
1169 }, 1339 },
1170 "type": "object" 1340 "type": "object"
1171 }, 1341 },
1172 "DimensionProperties": { 1342 "DimensionProperties": {
1173 "description": "Properties about a dimension.", 1343 "description": "Properties about a dimension.",
1174 "id": "DimensionProperties", 1344 "id": "DimensionProperties",
1175 "properties": { 1345 "properties": {
1176 "pixelSize": { 1346 "pixelSize": {
1177 "description": "The height (if a row) or width (if a column) of the dimension in pixels.", 1347 "description": "The height (if a row) or width (if a column) of the dimension in pixels.",
1178 "format": "int32", 1348 "format": "int32",
1179 "type": "integer" 1349 "type": "integer"
1180 }, 1350 },
1181 "hiddenByUser": { 1351 "hiddenByUser": {
1182 "description": "True if this dimension is explicitly hidden. ", 1352 "description": "True if this dimension is explicitly hidden. ",
1183 "type": "boolean" 1353 "type": "boolean"
1184 }, 1354 },
1185 "hiddenByFilter": { 1355 "hiddenByFilter": {
1186 "description": "True if this dimension is being filtered.\nT his field is read-only.", 1356 "description": "True if this dimension is being filtered.\nT his field is read-only.",
1187 "type": "boolean" 1357 "type": "boolean"
1188 } 1358 }
1189 }, 1359 },
1190 "type": "object" 1360 "type": "object"
1191 }, 1361 },
1192 "NamedRange": { 1362 "NamedRange": {
1193 "description": "A named range.", 1363 "description": "A named range.",
1194 "id": "NamedRange", 1364 "id": "NamedRange",
1195 "properties": { 1365 "properties": {
1196 "name": {
1197 "description": "The name of the named range.",
1198 "type": "string"
1199 },
1200 "namedRangeId": { 1366 "namedRangeId": {
1201 "description": "The ID of the named range.", 1367 "description": "The ID of the named range.",
1202 "type": "string" 1368 "type": "string"
1203 }, 1369 },
1204 "range": { 1370 "range": {
1205 "$ref": "GridRange", 1371 "$ref": "GridRange",
1206 "description": "The range this represents." 1372 "description": "The range this represents."
1373 },
1374 "name": {
1375 "description": "The name of the named range.",
1376 "type": "string"
1207 } 1377 }
1208 }, 1378 },
1209 "type": "object" 1379 "type": "object"
1210 }, 1380 },
1211 "DimensionRange": { 1381 "DimensionRange": {
1212 "description": "A range along a single dimension on a sheet.\nAll in dexes are zero-based.\nIndexes are half open: the start index is inclusive\nand the end index is exclusive.\nMissing indexes indicate the range is unbounded on that side.", 1382 "description": "A range along a single dimension on a sheet.\nAll in dexes are zero-based.\nIndexes are half open: the start index is inclusive\nand the end index is exclusive.\nMissing indexes indicate the range is unbounded on that side.",
1213 "id": "DimensionRange", 1383 "id": "DimensionRange",
1214 "properties": { 1384 "properties": {
1385 "dimension": {
1386 "description": "The dimension of the span.",
1387 "enum": [
1388 "DIMENSION_UNSPECIFIED",
1389 "ROWS",
1390 "COLUMNS"
1391 ],
1392 "enumDescriptions": [
1393 "The default value, do not use.",
1394 "Operates on the rows of a sheet.",
1395 "Operates on the columns of a sheet."
1396 ],
1397 "type": "string"
1398 },
1215 "endIndex": { 1399 "endIndex": {
1216 "description": "The end (exclusive) of the span, or not set if unbounded.", 1400 "description": "The end (exclusive) of the span, or not set if unbounded.",
1217 "format": "int32", 1401 "format": "int32",
1218 "type": "integer" 1402 "type": "integer"
1219 }, 1403 },
1220 "startIndex": { 1404 "startIndex": {
1221 "description": "The start (inclusive) of the span, or not se t if unbounded.", 1405 "description": "The start (inclusive) of the span, or not se t if unbounded.",
1222 "format": "int32", 1406 "format": "int32",
1223 "type": "integer" 1407 "type": "integer"
1224 }, 1408 },
1225 "sheetId": { 1409 "sheetId": {
1226 "description": "The sheet this span is on.", 1410 "description": "The sheet this span is on.",
1227 "format": "int32", 1411 "format": "int32",
1228 "type": "integer" 1412 "type": "integer"
1229 },
1230 "dimension": {
1231 "description": "The dimension of the span.",
1232 "enum": [
1233 "DIMENSION_UNSPECIFIED",
1234 "ROWS",
1235 "COLUMNS"
1236 ],
1237 "enumDescriptions": [
1238 "The default value, do not use.",
1239 "Operates on the rows of a sheet.",
1240 "Operates on the columns of a sheet."
1241 ],
1242 "type": "string"
1243 } 1413 }
1244 }, 1414 },
1245 "type": "object" 1415 "type": "object"
1246 }, 1416 },
1247 "CutPasteRequest": { 1417 "CutPasteRequest": {
1248 "description": "Moves data from the source to the destination.", 1418 "description": "Moves data from the source to the destination.",
1249 "id": "CutPasteRequest", 1419 "id": "CutPasteRequest",
1250 "properties": { 1420 "properties": {
1251 "destination": { 1421 "destination": {
1252 "$ref": "GridCoordinate", 1422 "$ref": "GridCoordinate",
(...skipping 25 matching lines...) Expand all
1278 "$ref": "GridRange", 1448 "$ref": "GridRange",
1279 "description": "The source data to cut." 1449 "description": "The source data to cut."
1280 } 1450 }
1281 }, 1451 },
1282 "type": "object" 1452 "type": "object"
1283 }, 1453 },
1284 "Borders": { 1454 "Borders": {
1285 "description": "The borders of the cell.", 1455 "description": "The borders of the cell.",
1286 "id": "Borders", 1456 "id": "Borders",
1287 "properties": { 1457 "properties": {
1288 "right": {
1289 "$ref": "Border",
1290 "description": "The right border of the cell."
1291 },
1292 "bottom": { 1458 "bottom": {
1293 "$ref": "Border", 1459 "$ref": "Border",
1294 "description": "The bottom border of the cell." 1460 "description": "The bottom border of the cell."
1295 }, 1461 },
1296 "top": { 1462 "top": {
1297 "$ref": "Border", 1463 "$ref": "Border",
1298 "description": "The top border of the cell." 1464 "description": "The top border of the cell."
1299 }, 1465 },
1300 "left": { 1466 "left": {
1301 "$ref": "Border", 1467 "$ref": "Border",
1302 "description": "The left border of the cell." 1468 "description": "The left border of the cell."
1469 },
1470 "right": {
1471 "$ref": "Border",
1472 "description": "The right border of the cell."
1303 } 1473 }
1304 }, 1474 },
1305 "type": "object" 1475 "type": "object"
1306 }, 1476 },
1307 "BasicChartSeries": { 1477 "BasicChartSeries": {
1308 "description": "A single series of data in a chart.\nFor example, if charting stock prices over time, multiple series may exist,\none for the \"Open Price\", \"High Price\", \"Low Price\" and \"Close Price\".", 1478 "description": "A single series of data in a chart.\nFor example, if charting stock prices over time, multiple series may exist,\none for the \"Open Price\", \"High Price\", \"Low Price\" and \"Close Price\".",
1309 "id": "BasicChartSeries", 1479 "id": "BasicChartSeries",
1310 "properties": { 1480 "properties": {
1311 "type": { 1481 "type": {
1312 "description": "The type of this series. Valid only if the\n chartType is\nCOMBO.\nDifferent types will change the way the series is visualiz ed.\nOnly LINE, AREA,\nand COLUMN are supported.", 1482 "description": "The type of this series. Valid only if the\n chartType is\nCOMBO.\nDifferent types will change the way the series is visualiz ed.\nOnly LINE, AREA,\nand COLUMN are supported.",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
1354 } 1524 }
1355 }, 1525 },
1356 "type": "object" 1526 "type": "object"
1357 }, 1527 },
1358 "AutoResizeDimensionsRequest": { 1528 "AutoResizeDimensionsRequest": {
1359 "description": "Automatically resizes one or more dimensions based o n the contents\nof the cells in that dimension.", 1529 "description": "Automatically resizes one or more dimensions based o n the contents\nof the cells in that dimension.",
1360 "id": "AutoResizeDimensionsRequest", 1530 "id": "AutoResizeDimensionsRequest",
1361 "properties": { 1531 "properties": {
1362 "dimensions": { 1532 "dimensions": {
1363 "$ref": "DimensionRange", 1533 "$ref": "DimensionRange",
1364 "description": "The dimensions to automatically resize.\nOnl y COLUMNS are supported." 1534 "description": "The dimensions to automatically resize."
1365 } 1535 }
1366 }, 1536 },
1367 "type": "object" 1537 "type": "object"
1368 }, 1538 },
1369 "UpdateBordersRequest": { 1539 "UpdateBordersRequest": {
1370 "description": "Updates the borders of a range.\nIf a field is not s et in the request, that means the border remains as-is.\nFor example, with two s ubsequent UpdateBordersRequest:\n\n 1. range: A1:A5 `{ top: RED, bottom: WHITE } `\n 2. range: A1:A5 `{ left: BLUE }`\n\nThat would result in A1:A5 having a bord ers of\n`{ top: RED, bottom: WHITE, left: BLUE }`.\nIf you want to clear a borde r, explicitly set the style to\nNONE.", 1540 "description": "Updates the borders of a range.\nIf a field is not s et in the request, that means the border remains as-is.\nFor example, with two s ubsequent UpdateBordersRequest:\n\n 1. range: A1:A5 `{ top: RED, bottom: WHITE } `\n 2. range: A1:A5 `{ left: BLUE }`\n\nThat would result in A1:A5 having a bord ers of\n`{ top: RED, bottom: WHITE, left: BLUE }`.\nIf you want to clear a borde r, explicitly set the style to\nNONE.",
1371 "id": "UpdateBordersRequest", 1541 "id": "UpdateBordersRequest",
1372 "properties": { 1542 "properties": {
1543 "left": {
1544 "$ref": "Border",
1545 "description": "The border to put at the left of the range."
1546 },
1373 "bottom": { 1547 "bottom": {
1374 "$ref": "Border", 1548 "$ref": "Border",
1375 "description": "The border to put at the bottom of the range ." 1549 "description": "The border to put at the bottom of the range ."
1376 }, 1550 },
1377 "innerVertical": { 1551 "innerVertical": {
1378 "$ref": "Border", 1552 "$ref": "Border",
1379 "description": "The vertical border to put within the range. " 1553 "description": "The vertical border to put within the range. "
1380 }, 1554 },
1381 "right": { 1555 "right": {
1382 "$ref": "Border", 1556 "$ref": "Border",
1383 "description": "The border to put at the right of the range. " 1557 "description": "The border to put at the right of the range. "
1384 }, 1558 },
1385 "range": { 1559 "range": {
1386 "$ref": "GridRange", 1560 "$ref": "GridRange",
1387 "description": "The range whose borders should be updated." 1561 "description": "The range whose borders should be updated."
1388 }, 1562 },
1389 "innerHorizontal": { 1563 "innerHorizontal": {
1390 "$ref": "Border", 1564 "$ref": "Border",
1391 "description": "The horizontal border to put within the rang e." 1565 "description": "The horizontal border to put within the rang e."
1392 }, 1566 },
1393 "top": { 1567 "top": {
1394 "$ref": "Border", 1568 "$ref": "Border",
1395 "description": "The border to put at the top of the range." 1569 "description": "The border to put at the top of the range."
1396 },
1397 "left": {
1398 "$ref": "Border",
1399 "description": "The border to put at the left of the range."
1400 } 1570 }
1401 }, 1571 },
1402 "type": "object" 1572 "type": "object"
1403 }, 1573 },
1404 "CellFormat": { 1574 "CellFormat": {
1405 "description": "The format of a cell.", 1575 "description": "The format of a cell.",
1406 "id": "CellFormat", 1576 "id": "CellFormat",
1407 "properties": { 1577 "properties": {
1408 "hyperlinkDisplayType": { 1578 "numberFormat": {
1409 "description": "How a hyperlink, if it exists, should be dis played in the cell.", 1579 "$ref": "NumberFormat",
1410 "enum": [ 1580 "description": "A format describing how number values should be represented to the user."
1411 "HYPERLINK_DISPLAY_TYPE_UNSPECIFIED",
1412 "LINKED",
1413 "PLAIN_TEXT"
1414 ],
1415 "enumDescriptions": [
1416 "The default value: the hyperlink is rendered. Do not us e this.",
1417 "A hyperlink should be explicitly rendered.",
1418 "A hyperlink should not be rendered."
1419 ],
1420 "type": "string"
1421 }, 1581 },
1422 "horizontalAlignment": { 1582 "horizontalAlignment": {
1423 "description": "The horizontal alignment of the value in the cell.", 1583 "description": "The horizontal alignment of the value in the cell.",
1424 "enum": [ 1584 "enum": [
1425 "HORIZONTAL_ALIGN_UNSPECIFIED", 1585 "HORIZONTAL_ALIGN_UNSPECIFIED",
1426 "LEFT", 1586 "LEFT",
1427 "CENTER", 1587 "CENTER",
1428 "RIGHT" 1588 "RIGHT"
1429 ], 1589 ],
1430 "enumDescriptions": [ 1590 "enumDescriptions": [
1431 "The horizontal alignment is not specified. Do not use t his.", 1591 "The horizontal alignment is not specified. Do not use t his.",
1432 "The text is explicitly aligned to the left of the cell. ", 1592 "The text is explicitly aligned to the left of the cell. ",
1433 "The text is explicitly aligned to the center of the cel l.", 1593 "The text is explicitly aligned to the center of the cel l.",
1434 "The text is explicitly aligned to the right of the cell ." 1594 "The text is explicitly aligned to the right of the cell ."
1435 ], 1595 ],
1436 "type": "string" 1596 "type": "string"
1437 }, 1597 },
1598 "hyperlinkDisplayType": {
1599 "description": "How a hyperlink, if it exists, should be dis played in the cell.",
1600 "enum": [
1601 "HYPERLINK_DISPLAY_TYPE_UNSPECIFIED",
1602 "LINKED",
1603 "PLAIN_TEXT"
1604 ],
1605 "enumDescriptions": [
1606 "The default value: the hyperlink is rendered. Do not us e this.",
1607 "A hyperlink should be explicitly rendered.",
1608 "A hyperlink should not be rendered."
1609 ],
1610 "type": "string"
1611 },
1438 "textFormat": { 1612 "textFormat": {
1439 "$ref": "TextFormat", 1613 "$ref": "TextFormat",
1440 "description": "The format of the text in the cell (unless o verridden by a format run)." 1614 "description": "The format of the text in the cell (unless o verridden by a format run)."
1441 }, 1615 },
1442 "backgroundColor": { 1616 "backgroundColor": {
1443 "$ref": "Color", 1617 "$ref": "Color",
1444 "description": "The background color of the cell." 1618 "description": "The background color of the cell."
1445 }, 1619 },
1620 "padding": {
1621 "$ref": "Padding",
1622 "description": "The padding of the cell."
1623 },
1446 "verticalAlignment": { 1624 "verticalAlignment": {
1447 "description": "The vertical alignment of the value in the c ell.", 1625 "description": "The vertical alignment of the value in the c ell.",
1448 "enum": [ 1626 "enum": [
1449 "VERTICAL_ALIGN_UNSPECIFIED", 1627 "VERTICAL_ALIGN_UNSPECIFIED",
1450 "TOP", 1628 "TOP",
1451 "MIDDLE", 1629 "MIDDLE",
1452 "BOTTOM" 1630 "BOTTOM"
1453 ], 1631 ],
1454 "enumDescriptions": [ 1632 "enumDescriptions": [
1455 "The vertical alignment is not specified. Do not use th is.", 1633 "The vertical alignment is not specified. Do not use th is.",
1456 "The text is explicitly aligned to the top of the cell." , 1634 "The text is explicitly aligned to the top of the cell." ,
1457 "The text is explicitly aligned to the middle of the cel l.", 1635 "The text is explicitly aligned to the middle of the cel l.",
1458 "The text is explicitly aligned to the bottom of the cel l." 1636 "The text is explicitly aligned to the bottom of the cel l."
1459 ], 1637 ],
1460 "type": "string" 1638 "type": "string"
1461 }, 1639 },
1462 "padding": {
1463 "$ref": "Padding",
1464 "description": "The padding of the cell."
1465 },
1466 "textDirection": { 1640 "textDirection": {
1467 "description": "The direction of the text in the cell.", 1641 "description": "The direction of the text in the cell.",
1468 "enum": [ 1642 "enum": [
1469 "TEXT_DIRECTION_UNSPECIFIED", 1643 "TEXT_DIRECTION_UNSPECIFIED",
1470 "LEFT_TO_RIGHT", 1644 "LEFT_TO_RIGHT",
1471 "RIGHT_TO_LEFT" 1645 "RIGHT_TO_LEFT"
1472 ], 1646 ],
1473 "enumDescriptions": [ 1647 "enumDescriptions": [
1474 "The text direction is not specified. Do not use this.", 1648 "The text direction is not specified. Do not use this.",
1475 "The text direction of left-to-right was set by the user .", 1649 "The text direction of left-to-right was set by the user .",
1476 "The text direction of right-to-left was set by the user ." 1650 "The text direction of right-to-left was set by the user ."
1477 ], 1651 ],
1478 "type": "string" 1652 "type": "string"
1479 }, 1653 },
1480 "borders": { 1654 "borders": {
1481 "$ref": "Borders", 1655 "$ref": "Borders",
1482 "description": "The borders of the cell." 1656 "description": "The borders of the cell."
1483 }, 1657 },
1484 "textRotation": {
1485 "$ref": "TextRotation",
1486 "description": "The rotation applied to text in a cell"
1487 },
1488 "wrapStrategy": { 1658 "wrapStrategy": {
1489 "description": "The wrap strategy for the value in the cell. ", 1659 "description": "The wrap strategy for the value in the cell. ",
1490 "enum": [ 1660 "enum": [
1491 "WRAP_STRATEGY_UNSPECIFIED", 1661 "WRAP_STRATEGY_UNSPECIFIED",
1492 "OVERFLOW_CELL", 1662 "OVERFLOW_CELL",
1493 "LEGACY_WRAP", 1663 "LEGACY_WRAP",
1494 "CLIP", 1664 "CLIP",
1495 "WRAP" 1665 "WRAP"
1496 ], 1666 ],
1497 "enumDescriptions": [ 1667 "enumDescriptions": [
1498 "The default value, do not use.", 1668 "The default value, do not use.",
1499 "Lines that are longer than the cell width will be writt en in the next\ncell over, so long as that cell is empty. If the next cell over is\nnon-empty, this behaves the same as CLIP. The text will never wrap\nto the n ext line unless the user manually inserts a new line.\nExample:\n\n | First s entence. |\n | Manual newline that is very long. <- Text continues into next cell\n | Next newline. |", 1669 "Lines that are longer than the cell width will be writt en in the next\ncell over, so long as that cell is empty. If the next cell over is\nnon-empty, this behaves the same as CLIP. The text will never wrap\nto the n ext line unless the user manually inserts a new line.\nExample:\n\n | First s entence. |\n | Manual newline that is very long. <- Text continues into next cell\n | Next newline. |",
1500 "This wrap strategy represents the old Google Sheets wra p strategy where\nwords that are longer than a line are clipped rather than brok en. This\nstrategy is not supported on all platforms and is being phased out.\nE xample:\n\n | Cell has a |\n | loooooooooo| <- Word is clipped.\n | wor d. |", 1670 "This wrap strategy represents the old Google Sheets wra p strategy where\nwords that are longer than a line are clipped rather than brok en. This\nstrategy is not supported on all platforms and is being phased out.\nE xample:\n\n | Cell has a |\n | loooooooooo| <- Word is clipped.\n | wor d. |",
1501 "Lines that are longer than the cell width will be clipp ed.\nThe text will never wrap to the next line unless the user manually\ninserts a new line.\nExample:\n\n | First sentence. |\n | Manual newline t| <- Te xt is clipped\n | Next newline. |", 1671 "Lines that are longer than the cell width will be clipp ed.\nThe text will never wrap to the next line unless the user manually\ninserts a new line.\nExample:\n\n | First sentence. |\n | Manual newline t| <- Te xt is clipped\n | Next newline. |",
1502 "Words that are longer than a line are wrapped at the ch aracter level\nrather than clipped.\nExample:\n\n | Cell has a |\n | loooo oooooo| <- Word is broken.\n | ong word. |" 1672 "Words that are longer than a line are wrapped at the ch aracter level\nrather than clipped.\nExample:\n\n | Cell has a |\n | loooo oooooo| <- Word is broken.\n | ong word. |"
1503 ], 1673 ],
1504 "type": "string" 1674 "type": "string"
1505 }, 1675 },
1506 "numberFormat": { 1676 "textRotation": {
1507 "$ref": "NumberFormat", 1677 "$ref": "TextRotation",
1508 "description": "A format describing how number values should be represented to the user." 1678 "description": "The rotation applied to text in a cell"
1509 } 1679 }
1510 }, 1680 },
1511 "type": "object" 1681 "type": "object"
1512 }, 1682 },
1513 "ClearValuesResponse": { 1683 "ClearValuesResponse": {
1514 "description": "The response when clearing a range of values in a sp readsheet.", 1684 "description": "The response when clearing a range of values in a sp readsheet.",
1515 "id": "ClearValuesResponse", 1685 "id": "ClearValuesResponse",
1516 "properties": { 1686 "properties": {
1687 "clearedRange": {
1688 "description": "The range (in A1 notation) that was cleared. \n(If the request was for an unbounded range or a ranger larger\n than the bound s of the sheet, this will be the actual range\n that was cleared, bounded to the sheet's limits.)",
1689 "type": "string"
1690 },
1517 "spreadsheetId": { 1691 "spreadsheetId": {
1518 "description": "The spreadsheet the updates were applied to. ", 1692 "description": "The spreadsheet the updates were applied to. ",
1519 "type": "string" 1693 "type": "string"
1520 },
1521 "clearedRange": {
1522 "description": "The range (in A1 notation) that was cleared. \n(If the request was for an unbounded range or a ranger larger\n than the bound s of the sheet, this will be the actual range\n that was cleared, bounded to the sheet's limits.)",
1523 "type": "string"
1524 } 1694 }
1525 }, 1695 },
1526 "type": "object" 1696 "type": "object"
1527 }, 1697 },
1528 "DeleteConditionalFormatRuleRequest": { 1698 "DeleteConditionalFormatRuleRequest": {
1529 "description": "Deletes a conditional format rule at the given index .\nAll subsequent rules' indexes are decremented.", 1699 "description": "Deletes a conditional format rule at the given index .\nAll subsequent rules' indexes are decremented.",
1530 "id": "DeleteConditionalFormatRuleRequest", 1700 "id": "DeleteConditionalFormatRuleRequest",
1531 "properties": { 1701 "properties": {
1532 "index": { 1702 "index": {
1533 "description": "The zero-based index of the rule to be delet ed.", 1703 "description": "The zero-based index of the rule to be delet ed.",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 "$ref": "ChartSourceRange", 1742 "$ref": "ChartSourceRange",
1573 "description": "The source ranges of the data." 1743 "description": "The source ranges of the data."
1574 } 1744 }
1575 }, 1745 },
1576 "type": "object" 1746 "type": "object"
1577 }, 1747 },
1578 "BatchGetValuesResponse": { 1748 "BatchGetValuesResponse": {
1579 "description": "The response when retrieving more than one range of values in a spreadsheet.", 1749 "description": "The response when retrieving more than one range of values in a spreadsheet.",
1580 "id": "BatchGetValuesResponse", 1750 "id": "BatchGetValuesResponse",
1581 "properties": { 1751 "properties": {
1582 "spreadsheetId": {
1583 "description": "The ID of the spreadsheet the data was retri eved from.",
1584 "type": "string"
1585 },
1586 "valueRanges": { 1752 "valueRanges": {
1587 "description": "The requested values. The order of the Value Ranges is the same as the\norder of the requested ranges.", 1753 "description": "The requested values. The order of the Value Ranges is the same as the\norder of the requested ranges.",
1588 "items": { 1754 "items": {
1589 "$ref": "ValueRange" 1755 "$ref": "ValueRange"
1590 }, 1756 },
1591 "type": "array" 1757 "type": "array"
1758 },
1759 "spreadsheetId": {
1760 "description": "The ID of the spreadsheet the data was retri eved from.",
1761 "type": "string"
1592 } 1762 }
1593 }, 1763 },
1594 "type": "object" 1764 "type": "object"
1595 }, 1765 },
1596 "UpdateBandingRequest": { 1766 "UpdateBandingRequest": {
1597 "description": "Updates properties of the supplied banded range.", 1767 "description": "Updates properties of the supplied banded range.",
1598 "id": "UpdateBandingRequest", 1768 "id": "UpdateBandingRequest",
1599 "properties": { 1769 "properties": {
1600 "fields": { 1770 "fields": {
1601 "description": "The fields that should be updated. At least one field must be specified.\nThe root `bandedRange` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every fiel d.", 1771 "description": "The fields that should be updated. At least one field must be specified.\nThe root `bandedRange` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every fiel d.",
1602 "format": "google-fieldmask", 1772 "format": "google-fieldmask",
1603 "type": "string" 1773 "type": "string"
1604 }, 1774 },
1605 "bandedRange": { 1775 "bandedRange": {
1606 "$ref": "BandedRange", 1776 "$ref": "BandedRange",
1607 "description": "The banded range to update with the new prop erties." 1777 "description": "The banded range to update with the new prop erties."
1608 } 1778 }
1609 }, 1779 },
1610 "type": "object" 1780 "type": "object"
1611 }, 1781 },
1612 "Color": { 1782 "Color": {
1613 "description": "Represents a color in the RGBA color space. This rep resentation is designed\nfor simplicity of conversion to/from color representati ons in various\nlanguages over compactness; for example, the fields of this repr esentation\ncan be trivially provided to the constructor of \"java.awt.Color\" i n Java; it\ncan also be trivially provided to UIColor's \"+colorWithRed:green:bl ue:alpha\"\nmethod in iOS; and, with just a little work, it can be easily format ted into\na CSS \"rgba()\" string in JavaScript, as well. Here are some examples :\n\nExample (Java):\n\n import com.google.type.Color;\n\n // ...\n public static java.awt.Color fromProto(Color protocolor) {\n float alpha = protocolor.hasAlpha()\n ? protocolor.getAlpha().getValue()\n : 1.0;\n\n return new java.awt.Color(\n protocolor.getRed(),\n protocolor.getGreen(),\n protocolor.getBlue(),\n alpha);\n }\n\n public static Color toProto(java.awt.Color color) {\n float red = (float) color.getRed();\n float green = (float) color.getG reen();\n float blue = (float) color.getBlue();\n float denominator = 255.0;\n Color.Builder resultBuilder =\n Color\n .newBuilder()\n .setRed(red / denominator)\n .setGr een(green / denominator)\n .setBlue(blue / denominator);\n i nt alpha = color.getAlpha();\n if (alpha != 255) {\n result.setAlp ha(\n FloatValue\n .newBuilder()\n . setValue(((float) alpha) / denominator)\n .build());\n }\n return resultBuilder.build();\n }\n // ...\n\nExample (iOS / Obj- C):\n\n // ...\n static UIColor* fromProto(Color* protocolor) {\n float red = [protocolor red];\n float green = [protocolor green];\n float blue = [protocolor blue];\n FloatValue* alpha_wrapper = [protoco lor alpha];\n float alpha = 1.0;\n if (alpha_wrapper != nil) {\n alpha = [alpha_wrapper value];\n }\n return [UIColor color WithRed:red green:green blue:blue alpha:alpha];\n }\n\n static Color* to Proto(UIColor* color) {\n CGFloat red, green, blue, alpha;\n if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {\n return nil;\n }\n Color* result = [Color alloc] init];\n [resu lt setRed:red];\n [result setGreen:green];\n [result setBlue:blu e];\n if (alpha <= 0.9999) {\n [result setAlpha:floatWrapperWi thValue(alpha)];\n }\n [result autorelease];\n return re sult;\n }\n // ...\n\n Example (JavaScript):\n\n // ...\n\n var prot oToCssColor = function(rgb_color) {\n var redFrac = rgb_color.red || 0.0;\ n var greenFrac = rgb_color.green || 0.0;\n var blueFrac = rgb_color .blue || 0.0;\n var red = Math.floor(redFrac * 255);\n var green = M ath.floor(greenFrac * 255);\n var blue = Math.floor(blueFrac * 255);\n\n if (!('alpha' in rgb_color)) {\n return rgbToCssColor_(red, green, blue);\n }\n\n var alphaFrac = rgb_color.alpha.value || 0.0;\n var rgbParams = [red, green, blue].join(',');\n return ['rgba(', rgbPara ms, ',', alphaFrac, ')'].join('');\n };\n\n var rgbToCssColor_ = function( red, green, blue) {\n var rgbNumber = new Number((red << 16) | (green << 8) | blue);\n var hexString = rgbNumber.toString(16);\n var missingZeros = 6 - hexString.length;\n var resultBuilder = ['#'];\n for (var i = 0 ; i < missingZeros; i++) {\n resultBuilder.push('0');\n }\n re sultBuilder.push(hexString);\n return resultBuilder.join('');\n };\n\n // ...", 1783 "description": "Represents a color in the RGBA color space. This rep resentation is designed\nfor simplicity of conversion to/from color representati ons in various\nlanguages over compactness; for example, the fields of this repr esentation\ncan be trivially provided to the constructor of \"java.awt.Color\" i n Java; it\ncan also be trivially provided to UIColor's \"+colorWithRed:green:bl ue:alpha\"\nmethod in iOS; and, with just a little work, it can be easily format ted into\na CSS \"rgba()\" string in JavaScript, as well. Here are some examples :\n\nExample (Java):\n\n import com.google.type.Color;\n\n // ...\n public static java.awt.Color fromProto(Color protocolor) {\n float alpha = protocolor.hasAlpha()\n ? protocolor.getAlpha().getValue()\n : 1.0;\n\n return new java.awt.Color(\n protocolor.getRed(),\n protocolor.getGreen(),\n protocolor.getBlue(),\n alpha);\n }\n\n public static Color toProto(java.awt.Color color) {\n float red = (float) color.getRed();\n float green = (float) color.getG reen();\n float blue = (float) color.getBlue();\n float denominator = 255.0;\n Color.Builder resultBuilder =\n Color\n .newBuilder()\n .setRed(red / denominator)\n .setGr een(green / denominator)\n .setBlue(blue / denominator);\n i nt alpha = color.getAlpha();\n if (alpha != 255) {\n result.setAlp ha(\n FloatValue\n .newBuilder()\n . setValue(((float) alpha) / denominator)\n .build());\n }\n return resultBuilder.build();\n }\n // ...\n\nExample (iOS / Obj- C):\n\n // ...\n static UIColor* fromProto(Color* protocolor) {\n float red = [protocolor red];\n float green = [protocolor green];\n float blue = [protocolor blue];\n FloatValue* alpha_wrapper = [protoco lor alpha];\n float alpha = 1.0;\n if (alpha_wrapper != nil) {\n alpha = [alpha_wrapper value];\n }\n return [UIColor color WithRed:red green:green blue:blue alpha:alpha];\n }\n\n static Color* to Proto(UIColor* color) {\n CGFloat red, green, blue, alpha;\n if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {\n return nil;\n }\n Color* result = [Color alloc] init];\n [resu lt setRed:red];\n [result setGreen:green];\n [result setBlue:blu e];\n if (alpha <= 0.9999) {\n [result setAlpha:floatWrapperWi thValue(alpha)];\n }\n [result autorelease];\n return re sult;\n }\n // ...\n\n Example (JavaScript):\n\n // ...\n\n var prot oToCssColor = function(rgb_color) {\n var redFrac = rgb_color.red || 0.0;\ n var greenFrac = rgb_color.green || 0.0;\n var blueFrac = rgb_color .blue || 0.0;\n var red = Math.floor(redFrac * 255);\n var green = M ath.floor(greenFrac * 255);\n var blue = Math.floor(blueFrac * 255);\n\n if (!('alpha' in rgb_color)) {\n return rgbToCssColor_(red, green, blue);\n }\n\n var alphaFrac = rgb_color.alpha.value || 0.0;\n var rgbParams = [red, green, blue].join(',');\n return ['rgba(', rgbPara ms, ',', alphaFrac, ')'].join('');\n };\n\n var rgbToCssColor_ = function( red, green, blue) {\n var rgbNumber = new Number((red << 16) | (green << 8) | blue);\n var hexString = rgbNumber.toString(16);\n var missingZeros = 6 - hexString.length;\n var resultBuilder = ['#'];\n for (var i = 0 ; i < missingZeros; i++) {\n resultBuilder.push('0');\n }\n re sultBuilder.push(hexString);\n return resultBuilder.join('');\n };\n\n // ...",
1614 "id": "Color", 1784 "id": "Color",
1615 "properties": { 1785 "properties": {
1616 "red": {
1617 "description": "The amount of red in the color as a value in the interval [0, 1].",
1618 "format": "float",
1619 "type": "number"
1620 },
1621 "alpha": { 1786 "alpha": {
1622 "description": "The fraction of this color that should be ap plied to the pixel. That is,\nthe final pixel color is defined by the equation:\ n\n pixel color = alpha * (this color) + (1.0 - alpha) * (background color)\n\n This means that a value of 1.0 corresponds to a solid color, whereas\na value of 0.0 corresponds to a completely transparent color. This\nuses a wrapper message rather than a simple float scalar so that it is\npossible to distinguish betwee n a default value and the value being unset.\nIf omitted, this color object is t o be rendered as a solid color\n(as if the alpha value had been explicitly given with a value of 1.0).", 1787 "description": "The fraction of this color that should be ap plied to the pixel. That is,\nthe final pixel color is defined by the equation:\ n\n pixel color = alpha * (this color) + (1.0 - alpha) * (background color)\n\n This means that a value of 1.0 corresponds to a solid color, whereas\na value of 0.0 corresponds to a completely transparent color. This\nuses a wrapper message rather than a simple float scalar so that it is\npossible to distinguish betwee n a default value and the value being unset.\nIf omitted, this color object is t o be rendered as a solid color\n(as if the alpha value had been explicitly given with a value of 1.0).",
1623 "format": "float", 1788 "format": "float",
1624 "type": "number" 1789 "type": "number"
1625 }, 1790 },
1626 "blue": { 1791 "blue": {
1627 "description": "The amount of blue in the color as a value i n the interval [0, 1].", 1792 "description": "The amount of blue in the color as a value i n the interval [0, 1].",
1628 "format": "float", 1793 "format": "float",
1629 "type": "number" 1794 "type": "number"
1630 }, 1795 },
1631 "green": { 1796 "green": {
1632 "description": "The amount of green in the color as a value in the interval [0, 1].", 1797 "description": "The amount of green in the color as a value in the interval [0, 1].",
1633 "format": "float", 1798 "format": "float",
1634 "type": "number" 1799 "type": "number"
1800 },
1801 "red": {
1802 "description": "The amount of red in the color as a value in the interval [0, 1].",
1803 "format": "float",
1804 "type": "number"
1635 } 1805 }
1636 }, 1806 },
1637 "type": "object" 1807 "type": "object"
1638 }, 1808 },
1639 "PivotGroup": { 1809 "PivotGroup": {
1640 "description": "A single grouping (either row or column) in a pivot table.", 1810 "description": "A single grouping (either row or column) in a pivot table.",
1641 "id": "PivotGroup", 1811 "id": "PivotGroup",
1642 "properties": { 1812 "properties": {
1813 "valueBucket": {
1814 "$ref": "PivotGroupSortValueBucket",
1815 "description": "The bucket of the opposite pivot group to so rt by.\nIf not specified, sorting is alphabetical by this group's values."
1816 },
1643 "valueMetadata": { 1817 "valueMetadata": {
1644 "description": "Metadata about values in the grouping.", 1818 "description": "Metadata about values in the grouping.",
1645 "items": { 1819 "items": {
1646 "$ref": "PivotGroupValueMetadata" 1820 "$ref": "PivotGroupValueMetadata"
1647 }, 1821 },
1648 "type": "array" 1822 "type": "array"
1649 }, 1823 },
1650 "showTotals": { 1824 "showTotals": {
1651 "description": "True if the pivot table should include the t otals for this grouping.", 1825 "description": "True if the pivot table should include the t otals for this grouping.",
1652 "type": "boolean" 1826 "type": "boolean"
1653 }, 1827 },
1654 "sourceColumnOffset": { 1828 "sourceColumnOffset": {
1655 "description": "The column offset of the source range that t his grouping is based on.\n\nFor example, if the source was `C10:E15`, a `source ColumnOffset` of `0`\nmeans this group refers to column `C`, whereas the offset `1` would refer\nto column `D`.", 1829 "description": "The column offset of the source range that t his grouping is based on.\n\nFor example, if the source was `C10:E15`, a `source ColumnOffset` of `0`\nmeans this group refers to column `C`, whereas the offset `1` would refer\nto column `D`.",
1656 "format": "int32", 1830 "format": "int32",
1657 "type": "integer" 1831 "type": "integer"
1658 }, 1832 },
1659 "sortOrder": { 1833 "sortOrder": {
1660 "description": "The order the values in this group should be sorted.", 1834 "description": "The order the values in this group should be sorted.",
1661 "enum": [ 1835 "enum": [
1662 "SORT_ORDER_UNSPECIFIED", 1836 "SORT_ORDER_UNSPECIFIED",
1663 "ASCENDING", 1837 "ASCENDING",
1664 "DESCENDING" 1838 "DESCENDING"
1665 ], 1839 ],
1666 "enumDescriptions": [ 1840 "enumDescriptions": [
1667 "Default value, do not use this.", 1841 "Default value, do not use this.",
1668 "Sort ascending.", 1842 "Sort ascending.",
1669 "Sort descending." 1843 "Sort descending."
1670 ], 1844 ],
1671 "type": "string" 1845 "type": "string"
1672 },
1673 "valueBucket": {
1674 "$ref": "PivotGroupSortValueBucket",
1675 "description": "The bucket of the opposite pivot group to so rt by.\nIf not specified, sorting is alphabetical by this group's values."
1676 } 1846 }
1677 }, 1847 },
1678 "type": "object" 1848 "type": "object"
1679 }, 1849 },
1680 "PivotTable": { 1850 "PivotTable": {
1681 "description": "A pivot table.", 1851 "description": "A pivot table.",
1682 "id": "PivotTable", 1852 "id": "PivotTable",
1683 "properties": { 1853 "properties": {
1684 "valueLayout": { 1854 "valueLayout": {
1685 "description": "Whether values should be listed horizontally (as columns)\nor vertically (as rows).", 1855 "description": "Whether values should be listed horizontally (as columns)\nor vertically (as rows).",
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1809 "$ref": "BandedRange", 1979 "$ref": "BandedRange",
1810 "description": "The banded range to add. The bandedRangeId\n field 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.)" 1980 "description": "The banded range to add. The bandedRangeId\n field 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.)"
1811 } 1981 }
1812 }, 1982 },
1813 "type": "object" 1983 "type": "object"
1814 }, 1984 },
1815 "Response": { 1985 "Response": {
1816 "description": "A single response from an update.", 1986 "description": "A single response from an update.",
1817 "id": "Response", 1987 "id": "Response",
1818 "properties": { 1988 "properties": {
1819 "duplicateSheet": {
1820 "$ref": "DuplicateSheetResponse",
1821 "description": "A reply from duplicating a sheet."
1822 },
1823 "updateEmbeddedObjectPosition": { 1989 "updateEmbeddedObjectPosition": {
1824 "$ref": "UpdateEmbeddedObjectPositionResponse", 1990 "$ref": "UpdateEmbeddedObjectPositionResponse",
1825 "description": "A reply from updating an embedded object's p osition." 1991 "description": "A reply from updating an embedded object's p osition."
1826 }, 1992 },
1827 "deleteConditionalFormatRule": { 1993 "deleteConditionalFormatRule": {
1828 "$ref": "DeleteConditionalFormatRuleResponse", 1994 "$ref": "DeleteConditionalFormatRuleResponse",
1829 "description": "A reply from deleting a conditional format r ule." 1995 "description": "A reply from deleting a conditional format r ule."
1830 }, 1996 },
1831 "duplicateFilterView": { 1997 "duplicateFilterView": {
1832 "$ref": "DuplicateFilterViewResponse", 1998 "$ref": "DuplicateFilterViewResponse",
(...skipping 23 matching lines...) Expand all
1856 "$ref": "AddFilterViewResponse", 2022 "$ref": "AddFilterViewResponse",
1857 "description": "A reply from adding a filter view." 2023 "description": "A reply from adding a filter view."
1858 }, 2024 },
1859 "addBanding": { 2025 "addBanding": {
1860 "$ref": "AddBandingResponse", 2026 "$ref": "AddBandingResponse",
1861 "description": "A reply from adding a banded range." 2027 "description": "A reply from adding a banded range."
1862 }, 2028 },
1863 "addProtectedRange": { 2029 "addProtectedRange": {
1864 "$ref": "AddProtectedRangeResponse", 2030 "$ref": "AddProtectedRangeResponse",
1865 "description": "A reply from adding a protected range." 2031 "description": "A reply from adding a protected range."
2032 },
2033 "duplicateSheet": {
2034 "$ref": "DuplicateSheetResponse",
2035 "description": "A reply from duplicating a sheet."
1866 } 2036 }
1867 }, 2037 },
1868 "type": "object" 2038 "type": "object"
1869 }, 2039 },
1870 "EmbeddedChart": { 2040 "EmbeddedChart": {
1871 "description": "A chart embedded in a sheet.", 2041 "description": "A chart embedded in a sheet.",
1872 "id": "EmbeddedChart", 2042 "id": "EmbeddedChart",
1873 "properties": { 2043 "properties": {
2044 "spec": {
2045 "$ref": "ChartSpec",
2046 "description": "The specification of the chart."
2047 },
1874 "chartId": { 2048 "chartId": {
1875 "description": "The ID of the chart.", 2049 "description": "The ID of the chart.",
1876 "format": "int32", 2050 "format": "int32",
1877 "type": "integer" 2051 "type": "integer"
1878 }, 2052 },
1879 "position": { 2053 "position": {
1880 "$ref": "EmbeddedObjectPosition", 2054 "$ref": "EmbeddedObjectPosition",
1881 "description": "The position of the chart." 2055 "description": "The position of the chart."
1882 },
1883 "spec": {
1884 "$ref": "ChartSpec",
1885 "description": "The specification of the chart."
1886 } 2056 }
1887 }, 2057 },
1888 "type": "object" 2058 "type": "object"
1889 }, 2059 },
1890 "TextFormatRun": { 2060 "TextFormatRun": {
1891 "description": "A run of a text format. The format of this run conti nues until the start\nindex of the next run.\nWhen updating, all fields must be set.", 2061 "description": "A run of a text format. The format of this run conti nues until the start\nindex of the next run.\nWhen updating, all fields must be set.",
1892 "id": "TextFormatRun", 2062 "id": "TextFormatRun",
1893 "properties": { 2063 "properties": {
1894 "startIndex": { 2064 "startIndex": {
1895 "description": "The character index where this run starts.", 2065 "description": "The character index where this run starts.",
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
1946 "values": { 2116 "values": {
1947 "description": "The values in the row, one per column.", 2117 "description": "The values in the row, one per column.",
1948 "items": { 2118 "items": {
1949 "$ref": "CellData" 2119 "$ref": "CellData"
1950 }, 2120 },
1951 "type": "array" 2121 "type": "array"
1952 } 2122 }
1953 }, 2123 },
1954 "type": "object" 2124 "type": "object"
1955 }, 2125 },
2126 "GridData": {
2127 "description": "Data in the grid, as well as metadata about the dime nsions.",
2128 "id": "GridData",
2129 "properties": {
2130 "startRow": {
2131 "description": "The first row this GridData refers to, zero- based.",
2132 "format": "int32",
2133 "type": "integer"
2134 },
2135 "columnMetadata": {
2136 "description": "Metadata about the requested columns in the grid, starting with the column\nin start_column.",
2137 "items": {
2138 "$ref": "DimensionProperties"
2139 },
2140 "type": "array"
2141 },
2142 "startColumn": {
2143 "description": "The first column this GridData refers to, ze ro-based.",
2144 "format": "int32",
2145 "type": "integer"
2146 },
2147 "rowMetadata": {
2148 "description": "Metadata about the requested rows in the gri d, starting with the row\nin start_row.",
2149 "items": {
2150 "$ref": "DimensionProperties"
2151 },
2152 "type": "array"
2153 },
2154 "rowData": {
2155 "description": "The data in the grid, one entry per row,\nst arting with the row in startRow.\nThe values in RowData will correspond to colum ns starting\nat start_column.",
2156 "items": {
2157 "$ref": "RowData"
2158 },
2159 "type": "array"
2160 }
2161 },
2162 "type": "object"
2163 },
1956 "Border": { 2164 "Border": {
1957 "description": "A border along a cell.", 2165 "description": "A border along a cell.",
1958 "id": "Border", 2166 "id": "Border",
1959 "properties": { 2167 "properties": {
1960 "width": {
1961 "description": "The width of the border, in pixels.\nDepreca ted; the width is determined by the \"style\" field.",
1962 "format": "int32",
1963 "type": "integer"
1964 },
1965 "style": { 2168 "style": {
1966 "description": "The style of the border.", 2169 "description": "The style of the border.",
1967 "enum": [ 2170 "enum": [
1968 "STYLE_UNSPECIFIED", 2171 "STYLE_UNSPECIFIED",
1969 "DOTTED", 2172 "DOTTED",
1970 "DASHED", 2173 "DASHED",
1971 "SOLID", 2174 "SOLID",
1972 "SOLID_MEDIUM", 2175 "SOLID_MEDIUM",
1973 "SOLID_THICK", 2176 "SOLID_THICK",
1974 "NONE", 2177 "NONE",
1975 "DOUBLE" 2178 "DOUBLE"
1976 ], 2179 ],
1977 "enumDescriptions": [ 2180 "enumDescriptions": [
1978 "The style is not specified. Do not use this.", 2181 "The style is not specified. Do not use this.",
1979 "The border is dotted.", 2182 "The border is dotted.",
1980 "The border is dashed.", 2183 "The border is dashed.",
1981 "The border is a thin solid line.", 2184 "The border is a thin solid line.",
1982 "The border is a medium solid line.", 2185 "The border is a medium solid line.",
1983 "The border is a thick solid line.", 2186 "The border is a thick solid line.",
1984 "No border.\nUsed only when updating a border in order t o erase it.", 2187 "No border.\nUsed only when updating a border in order t o erase it.",
1985 "The border is two solid lines." 2188 "The border is two solid lines."
1986 ], 2189 ],
1987 "type": "string" 2190 "type": "string"
1988 }, 2191 },
1989 "color": { 2192 "color": {
1990 "$ref": "Color", 2193 "$ref": "Color",
1991 "description": "The color of the border." 2194 "description": "The color of the border."
1992 }
1993 },
1994 "type": "object"
1995 },
1996 "GridData": {
1997 "description": "Data in the grid, as well as metadata about the dime nsions.",
1998 "id": "GridData",
1999 "properties": {
2000 "columnMetadata": {
2001 "description": "Metadata about the requested columns in the grid, starting with the column\nin start_column.",
2002 "items": {
2003 "$ref": "DimensionProperties"
2004 },
2005 "type": "array"
2006 }, 2195 },
2007 "startColumn": { 2196 "width": {
2008 "description": "The first column this GridData refers to, ze ro-based.", 2197 "description": "The width of the border, in pixels.\nDepreca ted; the width is determined by the \"style\" field.",
2009 "format": "int32",
2010 "type": "integer"
2011 },
2012 "rowMetadata": {
2013 "description": "Metadata about the requested rows in the gri d, starting with the row\nin start_row.",
2014 "items": {
2015 "$ref": "DimensionProperties"
2016 },
2017 "type": "array"
2018 },
2019 "rowData": {
2020 "description": "The data in the grid, one entry per row,\nst arting with the row in startRow.\nThe values in RowData will correspond to colum ns starting\nat start_column.",
2021 "items": {
2022 "$ref": "RowData"
2023 },
2024 "type": "array"
2025 },
2026 "startRow": {
2027 "description": "The first row this GridData refers to, zero- based.",
2028 "format": "int32", 2198 "format": "int32",
2029 "type": "integer" 2199 "type": "integer"
2030 } 2200 }
2031 }, 2201 },
2032 "type": "object" 2202 "type": "object"
2033 }, 2203 },
2034 "FindReplaceRequest": { 2204 "FindReplaceRequest": {
2035 "description": "Finds and replaces data in cells over a range, sheet , or all sheets.", 2205 "description": "Finds and replaces data in cells over a range, sheet , or all sheets.",
2036 "id": "FindReplaceRequest", 2206 "id": "FindReplaceRequest",
2037 "properties": { 2207 "properties": {
2208 "matchCase": {
2209 "description": "True if the search is case sensitive.",
2210 "type": "boolean"
2211 },
2212 "allSheets": {
2213 "description": "True to find/replace over all sheets.",
2214 "type": "boolean"
2215 },
2038 "includeFormulas": { 2216 "includeFormulas": {
2039 "description": "True if the search should include cells with formulas.\nFalse to skip cells with formulas.", 2217 "description": "True if the search should include cells with formulas.\nFalse to skip cells with formulas.",
2040 "type": "boolean" 2218 "type": "boolean"
2041 }, 2219 },
2042 "matchEntireCell": { 2220 "matchEntireCell": {
2043 "description": "True if the find value should match the enti re cell.", 2221 "description": "True if the find value should match the enti re cell.",
2044 "type": "boolean" 2222 "type": "boolean"
2045 }, 2223 },
2224 "searchByRegex": {
2225 "description": "True if the find value is a regex.\nThe regu lar expression and replacement should follow Java regex rules\nat https://docs.o racle.com/javase/8/docs/api/java/util/regex/Pattern.html.\nThe replacement strin g is allowed to refer to capturing groups.\nFor example, if one cell has the con tents `\"Google Sheets\"` and another\nhas `\"Google Docs\"`, then searching for `\"o.* (.*)\"` with a replacement of\n`\"$1 Rocks\"` would change the contents of the cells to\n`\"GSheets Rocks\"` and `\"GDocs Rocks\"` respectively.",
2226 "type": "boolean"
2227 },
2046 "find": { 2228 "find": {
2047 "description": "The value to search.", 2229 "description": "The value to search.",
2048 "type": "string" 2230 "type": "string"
2049 }, 2231 },
2050 "searchByRegex": {
2051 "description": "True if the find value is a regex.\nThe regu lar expression and replacement should follow Java regex rules\nat https://docs.o racle.com/javase/8/docs/api/java/util/regex/Pattern.html.\nThe replacement strin g is allowed to refer to capturing groups.\nFor example, if one cell has the con tents `\"Google Sheets\"` and another\nhas `\"Google Docs\"`, then searching for `\"o.* (.*)\"` with a replacement of\n`\"$1 Rocks\"` would change the contents of the cells to\n`\"GSheets Rocks\"` and `\"GDocs Rocks\"` respectively.",
2052 "type": "boolean"
2053 },
2054 "replacement": { 2232 "replacement": {
2055 "description": "The value to use as the replacement.", 2233 "description": "The value to use as the replacement.",
2056 "type": "string" 2234 "type": "string"
2057 }, 2235 },
2058 "range": { 2236 "range": {
2059 "$ref": "GridRange", 2237 "$ref": "GridRange",
2060 "description": "The range to find/replace over." 2238 "description": "The range to find/replace over."
2061 }, 2239 },
2062 "sheetId": { 2240 "sheetId": {
2063 "description": "The sheet to find/replace over.", 2241 "description": "The sheet to find/replace over.",
2064 "format": "int32", 2242 "format": "int32",
2065 "type": "integer" 2243 "type": "integer"
2066 },
2067 "allSheets": {
2068 "description": "True to find/replace over all sheets.",
2069 "type": "boolean"
2070 },
2071 "matchCase": {
2072 "description": "True if the search is case sensitive.",
2073 "type": "boolean"
2074 } 2244 }
2075 }, 2245 },
2076 "type": "object" 2246 "type": "object"
2077 }, 2247 },
2078 "UpdateNamedRangeRequest": { 2248 "UpdateNamedRangeRequest": {
2079 "description": "Updates properties of the named range with the speci fied\nnamedRangeId.", 2249 "description": "Updates properties of the named range with the speci fied\nnamedRangeId.",
2080 "id": "UpdateNamedRangeRequest", 2250 "id": "UpdateNamedRangeRequest",
2081 "properties": { 2251 "properties": {
2082 "namedRange": { 2252 "namedRange": {
2083 "$ref": "NamedRange", 2253 "$ref": "NamedRange",
(...skipping 15 matching lines...) Expand all
2099 "$ref": "SheetProperties", 2269 "$ref": "SheetProperties",
2100 "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.)" 2270 "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.)"
2101 } 2271 }
2102 }, 2272 },
2103 "type": "object" 2273 "type": "object"
2104 }, 2274 },
2105 "UpdateCellsRequest": { 2275 "UpdateCellsRequest": {
2106 "description": "Updates all cells in a range with new data.", 2276 "description": "Updates all cells in a range with new data.",
2107 "id": "UpdateCellsRequest", 2277 "id": "UpdateCellsRequest",
2108 "properties": { 2278 "properties": {
2109 "start": {
2110 "$ref": "GridCoordinate",
2111 "description": "The coordinate to start writing data at.\nAn y number of rows and columns (including a different number of\ncolumns per row) may be written."
2112 },
2113 "range": { 2279 "range": {
2114 "$ref": "GridRange", 2280 "$ref": "GridRange",
2115 "description": "The range to write data to.\n\nIf the data i n rows does not cover the entire requested range,\nthe fields matching those set in fields will be cleared." 2281 "description": "The range to write data to.\n\nIf the data i n rows does not cover the entire requested range,\nthe fields matching those set in fields will be cleared."
2116 }, 2282 },
2117 "fields": { 2283 "fields": {
2118 "description": "The fields of CellData that should be update d.\nAt least one field must be specified.\nThe root is the CellData; 'row.values .' should not be specified.\nA single `\"*\"` can be used as short-hand for list ing every field.", 2284 "description": "The fields of CellData that should be update d.\nAt least one field must be specified.\nThe root is the CellData; 'row.values .' should not be specified.\nA single `\"*\"` can be used as short-hand for list ing every field.",
2119 "format": "google-fieldmask", 2285 "format": "google-fieldmask",
2120 "type": "string" 2286 "type": "string"
2121 }, 2287 },
2122 "rows": { 2288 "rows": {
2123 "description": "The data to write.", 2289 "description": "The data to write.",
2124 "items": { 2290 "items": {
2125 "$ref": "RowData" 2291 "$ref": "RowData"
2126 }, 2292 },
2127 "type": "array" 2293 "type": "array"
2294 },
2295 "start": {
2296 "$ref": "GridCoordinate",
2297 "description": "The coordinate to start writing data at.\nAn y number of rows and columns (including a different number of\ncolumns per row) may be written."
2298 }
2299 },
2300 "type": "object"
2301 },
2302 "RandomizeRangeRequest": {
2303 "description": "Randomizes the order of the rows in a range.",
2304 "id": "RandomizeRangeRequest",
2305 "properties": {
2306 "range": {
2307 "$ref": "GridRange",
2308 "description": "The range to randomize."
2128 } 2309 }
2129 }, 2310 },
2130 "type": "object" 2311 "type": "object"
2131 }, 2312 },
2132 "DeleteConditionalFormatRuleResponse": { 2313 "DeleteConditionalFormatRuleResponse": {
2133 "description": "The result of deleting a conditional format rule.", 2314 "description": "The result of deleting a conditional format rule.",
2134 "id": "DeleteConditionalFormatRuleResponse", 2315 "id": "DeleteConditionalFormatRuleResponse",
2135 "properties": { 2316 "properties": {
2136 "rule": { 2317 "rule": {
2137 "$ref": "ConditionalFormatRule", 2318 "$ref": "ConditionalFormatRule",
2138 "description": "The rule that was deleted." 2319 "description": "The rule that was deleted."
2139 } 2320 }
2140 }, 2321 },
2141 "type": "object" 2322 "type": "object"
2142 },
2143 "RandomizeRangeRequest": {
2144 "description": "Randomizes the order of the rows in a range.",
2145 "id": "RandomizeRangeRequest",
2146 "properties": {
2147 "range": {
2148 "$ref": "GridRange",
2149 "description": "The range to randomize."
2150 }
2151 },
2152 "type": "object"
2153 }, 2323 },
2154 "DeleteRangeRequest": { 2324 "DeleteRangeRequest": {
2155 "description": "Deletes a range of cells, shifting other cells into the deleted area.", 2325 "description": "Deletes a range of cells, shifting other cells into the deleted area.",
2156 "id": "DeleteRangeRequest", 2326 "id": "DeleteRangeRequest",
2157 "properties": { 2327 "properties": {
2158 "shiftDimension": { 2328 "shiftDimension": {
2159 "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.", 2329 "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.",
2160 "enum": [ 2330 "enum": [
2161 "DIMENSION_UNSPECIFIED", 2331 "DIMENSION_UNSPECIFIED",
2162 "ROWS", 2332 "ROWS",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
2195 "format": "int32", 2365 "format": "int32",
2196 "type": "integer" 2366 "type": "integer"
2197 } 2367 }
2198 }, 2368 },
2199 "type": "object" 2369 "type": "object"
2200 }, 2370 },
2201 "UpdateSheetPropertiesRequest": { 2371 "UpdateSheetPropertiesRequest": {
2202 "description": "Updates properties of the sheet with the specified\n sheetId.", 2372 "description": "Updates properties of the sheet with the specified\n sheetId.",
2203 "id": "UpdateSheetPropertiesRequest", 2373 "id": "UpdateSheetPropertiesRequest",
2204 "properties": { 2374 "properties": {
2375 "properties": {
2376 "$ref": "SheetProperties",
2377 "description": "The properties to update."
2378 },
2205 "fields": { 2379 "fields": {
2206 "description": "The fields that should be updated. At least one field must be specified.\nThe root `properties` is implied and should not b e specified.\nA single `\"*\"` can be used as short-hand for listing every field .", 2380 "description": "The fields that should be updated. At least one field must be specified.\nThe root `properties` is implied and should not b e specified.\nA single `\"*\"` can be used as short-hand for listing every field .",
2207 "format": "google-fieldmask", 2381 "format": "google-fieldmask",
2208 "type": "string" 2382 "type": "string"
2209 },
2210 "properties": {
2211 "$ref": "SheetProperties",
2212 "description": "The properties to update."
2213 } 2383 }
2214 }, 2384 },
2215 "type": "object" 2385 "type": "object"
2216 }, 2386 },
2217 "GridProperties": { 2387 "GridProperties": {
2218 "description": "Properties of a grid.", 2388 "description": "Properties of a grid.",
2219 "id": "GridProperties", 2389 "id": "GridProperties",
2220 "properties": { 2390 "properties": {
2221 "rowCount": { 2391 "rowCount": {
2222 "description": "The number of rows in the grid.", 2392 "description": "The number of rows in the grid.",
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
2290 ], 2460 ],
2291 "type": "string" 2461 "type": "string"
2292 } 2462 }
2293 }, 2463 },
2294 "type": "object" 2464 "type": "object"
2295 }, 2465 },
2296 "Sheet": { 2466 "Sheet": {
2297 "description": "A sheet in a spreadsheet.", 2467 "description": "A sheet in a spreadsheet.",
2298 "id": "Sheet", 2468 "id": "Sheet",
2299 "properties": { 2469 "properties": {
2470 "basicFilter": {
2471 "$ref": "BasicFilter",
2472 "description": "The filter on this sheet, if any."
2473 },
2300 "merges": { 2474 "merges": {
2301 "description": "The ranges that are merged together.", 2475 "description": "The ranges that are merged together.",
2302 "items": { 2476 "items": {
2303 "$ref": "GridRange" 2477 "$ref": "GridRange"
2304 }, 2478 },
2305 "type": "array" 2479 "type": "array"
2306 }, 2480 },
2307 "data": { 2481 "data": {
2308 "description": "Data in the grid, if this is a grid sheet.\n The number of GridData objects returned is dependent on the number of\nranges re quested on this sheet. For example, if this is representing\n`Sheet1`, and the s preadsheet was requested with ranges\n`Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a\nstartRow/startColumn of `0`,\nwhile the second one will have `startRow 14` (zero-based row 15),\nand `startColumn 3` (zero-base d column D).", 2482 "description": "Data in the grid, if this is a grid sheet.\n The number of GridData objects returned is dependent on the number of\nranges re quested on this sheet. For example, if this is representing\n`Sheet1`, and the s preadsheet was requested with ranges\n`Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a\nstartRow/startColumn of `0`,\nwhile the second one will have `startRow 14` (zero-based row 15),\nand `startColumn 3` (zero-base d column D).",
2309 "items": { 2483 "items": {
2310 "$ref": "GridData" 2484 "$ref": "GridData"
2311 }, 2485 },
2312 "type": "array" 2486 "type": "array"
2313 }, 2487 },
2314 "bandedRanges": { 2488 "bandedRanges": {
2315 "description": "The banded (i.e. alternating colors) ranges on this sheet.", 2489 "description": "The banded (i.e. alternating colors) ranges on this sheet.",
2316 "items": { 2490 "items": {
2317 "$ref": "BandedRange" 2491 "$ref": "BandedRange"
2318 }, 2492 },
2319 "type": "array" 2493 "type": "array"
2320 }, 2494 },
2495 "properties": {
2496 "$ref": "SheetProperties",
2497 "description": "The properties of the sheet."
2498 },
2321 "charts": { 2499 "charts": {
2322 "description": "The specifications of every chart on this sh eet.", 2500 "description": "The specifications of every chart on this sh eet.",
2323 "items": { 2501 "items": {
2324 "$ref": "EmbeddedChart" 2502 "$ref": "EmbeddedChart"
2325 }, 2503 },
2326 "type": "array" 2504 "type": "array"
2327 }, 2505 },
2328 "properties": {
2329 "$ref": "SheetProperties",
2330 "description": "The properties of the sheet."
2331 },
2332 "filterViews": { 2506 "filterViews": {
2333 "description": "The filter views in this sheet.", 2507 "description": "The filter views in this sheet.",
2334 "items": { 2508 "items": {
2335 "$ref": "FilterView" 2509 "$ref": "FilterView"
2336 }, 2510 },
2337 "type": "array" 2511 "type": "array"
2338 }, 2512 },
2339 "conditionalFormats": { 2513 "conditionalFormats": {
2340 "description": "The conditional format rules in this sheet." , 2514 "description": "The conditional format rules in this sheet." ,
2341 "items": { 2515 "items": {
2342 "$ref": "ConditionalFormatRule" 2516 "$ref": "ConditionalFormatRule"
2343 }, 2517 },
2344 "type": "array" 2518 "type": "array"
2345 }, 2519 },
2346 "protectedRanges": { 2520 "protectedRanges": {
2347 "description": "The protected ranges in this sheet.", 2521 "description": "The protected ranges in this sheet.",
2348 "items": { 2522 "items": {
2349 "$ref": "ProtectedRange" 2523 "$ref": "ProtectedRange"
2350 }, 2524 },
2351 "type": "array" 2525 "type": "array"
2352 },
2353 "basicFilter": {
2354 "$ref": "BasicFilter",
2355 "description": "The filter on this sheet, if any."
2356 } 2526 }
2357 }, 2527 },
2358 "type": "object" 2528 "type": "object"
2359 }, 2529 },
2360 "BooleanRule": { 2530 "BooleanRule": {
2361 "description": "A rule that may or may not match, depending on the c ondition.", 2531 "description": "A rule that may or may not match, depending on the c ondition.",
2362 "id": "BooleanRule", 2532 "id": "BooleanRule",
2363 "properties": { 2533 "properties": {
2534 "condition": {
2535 "$ref": "BooleanCondition",
2536 "description": "The condition of the rule. If the condition evaluates to true,\nthe format will be applied."
2537 },
2364 "format": { 2538 "format": {
2365 "$ref": "CellFormat", 2539 "$ref": "CellFormat",
2366 "description": "The format to apply.\nConditional formatting can only apply a subset of formatting:\nbold, italic,\nstrikethrough,\nforegrou nd color &\nbackground color." 2540 "description": "The format to apply.\nConditional formatting can only apply a subset of formatting:\nbold, italic,\nstrikethrough,\nforegrou nd color &\nbackground color."
2367 },
2368 "condition": {
2369 "$ref": "BooleanCondition",
2370 "description": "The condition of the rule. If the condition evaluates to true,\nthe format will be applied."
2371 } 2541 }
2372 }, 2542 },
2373 "type": "object" 2543 "type": "object"
2374 }, 2544 },
2375 "PivotGroupValueMetadata": { 2545 "PivotGroupValueMetadata": {
2376 "description": "Metadata about a value in a pivot grouping.", 2546 "description": "Metadata about a value in a pivot grouping.",
2377 "id": "PivotGroupValueMetadata", 2547 "id": "PivotGroupValueMetadata",
2378 "properties": { 2548 "properties": {
2379 "value": { 2549 "value": {
2380 "$ref": "ExtendedValue", 2550 "$ref": "ExtendedValue",
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
2449 "format": "int32", 2619 "format": "int32",
2450 "type": "integer" 2620 "type": "integer"
2451 }, 2621 },
2452 "rule": { 2622 "rule": {
2453 "$ref": "ConditionalFormatRule", 2623 "$ref": "ConditionalFormatRule",
2454 "description": "The rule that should replace the rule at the given index." 2624 "description": "The rule that should replace the rule at the given index."
2455 } 2625 }
2456 }, 2626 },
2457 "type": "object" 2627 "type": "object"
2458 }, 2628 },
2629 "BasicChartDomain": {
2630 "description": "The domain of a chart.\nFor example, if charting sto ck prices over time, this would be the date.",
2631 "id": "BasicChartDomain",
2632 "properties": {
2633 "domain": {
2634 "$ref": "ChartData",
2635 "description": "The data of the domain. For example, if char ting stock prices over time,\nthis is the data representing the dates."
2636 },
2637 "reversed": {
2638 "description": "True to reverse the order of the domain valu es (horizontal axis).",
2639 "type": "boolean"
2640 }
2641 },
2642 "type": "object"
2643 },
2459 "DataValidationRule": { 2644 "DataValidationRule": {
2460 "description": "A data validation rule.", 2645 "description": "A data validation rule.",
2461 "id": "DataValidationRule", 2646 "id": "DataValidationRule",
2462 "properties": { 2647 "properties": {
2648 "showCustomUi": {
2649 "description": "True if the UI should be customized based on the kind of condition.\nIf true, \"List\" conditions will show a dropdown.",
2650 "type": "boolean"
2651 },
2463 "strict": { 2652 "strict": {
2464 "description": "True if invalid data should be rejected.", 2653 "description": "True if invalid data should be rejected.",
2465 "type": "boolean" 2654 "type": "boolean"
2466 }, 2655 },
2467 "inputMessage": { 2656 "inputMessage": {
2468 "description": "A message to show the user when adding data to the cell.", 2657 "description": "A message to show the user when adding data to the cell.",
2469 "type": "string" 2658 "type": "string"
2470 }, 2659 },
2471 "condition": { 2660 "condition": {
2472 "$ref": "BooleanCondition", 2661 "$ref": "BooleanCondition",
2473 "description": "The condition that data in the cell must mat ch." 2662 "description": "The condition that data in the cell must mat ch."
2474 },
2475 "showCustomUi": {
2476 "description": "True if the UI should be customized based on the kind of condition.\nIf true, \"List\" conditions will show a dropdown.",
2477 "type": "boolean"
2478 } 2663 }
2479 }, 2664 },
2480 "type": "object" 2665 "type": "object"
2481 },
2482 "BasicChartDomain": {
2483 "description": "The domain of a chart.\nFor example, if charting sto ck prices over time, this would be the date.",
2484 "id": "BasicChartDomain",
2485 "properties": {
2486 "domain": {
2487 "$ref": "ChartData",
2488 "description": "The data of the domain. For example, if char ting stock prices over time,\nthis is the data representing the dates."
2489 },
2490 "reversed": {
2491 "description": "True to reverse the order of the domain valu es (horizontal axis).",
2492 "type": "boolean"
2493 }
2494 },
2495 "type": "object"
2496 }, 2666 },
2497 "PasteDataRequest": { 2667 "PasteDataRequest": {
2498 "description": "Inserts data into the spreadsheet starting at the sp ecified coordinate.", 2668 "description": "Inserts data into the spreadsheet starting at the sp ecified coordinate.",
2499 "id": "PasteDataRequest", 2669 "id": "PasteDataRequest",
2500 "properties": { 2670 "properties": {
2671 "delimiter": {
2672 "description": "The delimiter in the data.",
2673 "type": "string"
2674 },
2675 "data": {
2676 "description": "The data to insert.",
2677 "type": "string"
2678 },
2501 "type": { 2679 "type": {
2502 "description": "How the data should be pasted.", 2680 "description": "How the data should be pasted.",
2503 "enum": [ 2681 "enum": [
2504 "PASTE_NORMAL", 2682 "PASTE_NORMAL",
2505 "PASTE_VALUES", 2683 "PASTE_VALUES",
2506 "PASTE_FORMAT", 2684 "PASTE_FORMAT",
2507 "PASTE_NO_BORDERS", 2685 "PASTE_NO_BORDERS",
2508 "PASTE_FORMULA", 2686 "PASTE_FORMULA",
2509 "PASTE_DATA_VALIDATION", 2687 "PASTE_DATA_VALIDATION",
2510 "PASTE_CONDITIONAL_FORMATTING" 2688 "PASTE_CONDITIONAL_FORMATTING"
2511 ], 2689 ],
2512 "enumDescriptions": [ 2690 "enumDescriptions": [
2513 "Paste values, formulas, formats, and merges.", 2691 "Paste values, formulas, formats, and merges.",
2514 "Paste the values ONLY without formats, formulas, or mer ges.", 2692 "Paste the values ONLY without formats, formulas, or mer ges.",
2515 "Paste the format and data validation only.", 2693 "Paste the format and data validation only.",
2516 "Like PASTE_NORMAL but without borders.", 2694 "Like PASTE_NORMAL but without borders.",
2517 "Paste the formulas only.", 2695 "Paste the formulas only.",
2518 "Paste the data validation only.", 2696 "Paste the data validation only.",
2519 "Paste the conditional formatting rules only." 2697 "Paste the conditional formatting rules only."
2520 ], 2698 ],
2521 "type": "string" 2699 "type": "string"
2522 }, 2700 },
2523 "html": { 2701 "html": {
2524 "description": "True if the data is HTML.", 2702 "description": "True if the data is HTML.",
2525 "type": "boolean" 2703 "type": "boolean"
2526 }, 2704 },
2527 "coordinate": { 2705 "coordinate": {
2528 "$ref": "GridCoordinate", 2706 "$ref": "GridCoordinate",
2529 "description": "The coordinate at which the data should star t being inserted." 2707 "description": "The coordinate at which the data should star t being inserted."
2530 },
2531 "delimiter": {
2532 "description": "The delimiter in the data.",
2533 "type": "string"
2534 },
2535 "data": {
2536 "description": "The data to insert.",
2537 "type": "string"
2538 } 2708 }
2539 }, 2709 },
2540 "type": "object" 2710 "type": "object"
2541 }, 2711 },
2542 "AppendDimensionRequest": { 2712 "AppendDimensionRequest": {
2543 "description": "Appends rows or columns to the end of a sheet.", 2713 "description": "Appends rows or columns to the end of a sheet.",
2544 "id": "AppendDimensionRequest", 2714 "id": "AppendDimensionRequest",
2545 "properties": { 2715 "properties": {
2546 "sheetId": { 2716 "sheetId": {
2547 "description": "The sheet to append rows or columns to.", 2717 "description": "The sheet to append rows or columns to.",
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
2615 "description": "If true, text reads top to bottom, but the o rientation of individual\ncharacters is unchanged.\nFor example:\n\n | V |\n | e |\n | r |\n | t |\n | i |\n | c |\n | a |\n | l |", 2785 "description": "If true, text reads top to bottom, but the o rientation of individual\ncharacters is unchanged.\nFor example:\n\n | V |\n | e |\n | r |\n | t |\n | i |\n | c |\n | a |\n | l |",
2616 "type": "boolean" 2786 "type": "boolean"
2617 } 2787 }
2618 }, 2788 },
2619 "type": "object" 2789 "type": "object"
2620 }, 2790 },
2621 "PieChartSpec": { 2791 "PieChartSpec": {
2622 "description": "A <a href=\"/chart/interactive/docs/gallery/piechart \">pie chart</a>.", 2792 "description": "A <a href=\"/chart/interactive/docs/gallery/piechart \">pie chart</a>.",
2623 "id": "PieChartSpec", 2793 "id": "PieChartSpec",
2624 "properties": { 2794 "properties": {
2795 "threeDimensional": {
2796 "description": "True if the pie is three dimensional.",
2797 "type": "boolean"
2798 },
2799 "domain": {
2800 "$ref": "ChartData",
2801 "description": "The data that covers the domain of the pie c hart."
2802 },
2803 "series": {
2804 "$ref": "ChartData",
2805 "description": "The data that covers the one and only series of the pie chart."
2806 },
2625 "pieHole": { 2807 "pieHole": {
2626 "description": "The size of the hole in the pie chart.", 2808 "description": "The size of the hole in the pie chart.",
2627 "format": "double", 2809 "format": "double",
2628 "type": "number" 2810 "type": "number"
2629 }, 2811 },
2630 "legendPosition": { 2812 "legendPosition": {
2631 "description": "Where the legend of the pie chart should be drawn.", 2813 "description": "Where the legend of the pie chart should be drawn.",
2632 "enum": [ 2814 "enum": [
2633 "PIE_CHART_LEGEND_POSITION_UNSPECIFIED", 2815 "PIE_CHART_LEGEND_POSITION_UNSPECIFIED",
2634 "BOTTOM_LEGEND", 2816 "BOTTOM_LEGEND",
2635 "LEFT_LEGEND", 2817 "LEFT_LEGEND",
2636 "RIGHT_LEGEND", 2818 "RIGHT_LEGEND",
2637 "TOP_LEGEND", 2819 "TOP_LEGEND",
2638 "NO_LEGEND", 2820 "NO_LEGEND",
2639 "LABELED_LEGEND" 2821 "LABELED_LEGEND"
2640 ], 2822 ],
2641 "enumDescriptions": [ 2823 "enumDescriptions": [
2642 "Default value, do not use.", 2824 "Default value, do not use.",
2643 "The legend is rendered on the bottom of the chart.", 2825 "The legend is rendered on the bottom of the chart.",
2644 "The legend is rendered on the left of the chart.", 2826 "The legend is rendered on the left of the chart.",
2645 "The legend is rendered on the right of the chart.", 2827 "The legend is rendered on the right of the chart.",
2646 "The legend is rendered on the top of the chart.", 2828 "The legend is rendered on the top of the chart.",
2647 "No legend is rendered.", 2829 "No legend is rendered.",
2648 "Each pie slice has a label attached to it." 2830 "Each pie slice has a label attached to it."
2649 ], 2831 ],
2650 "type": "string" 2832 "type": "string"
2651 },
2652 "threeDimensional": {
2653 "description": "True if the pie is three dimensional.",
2654 "type": "boolean"
2655 },
2656 "domain": {
2657 "$ref": "ChartData",
2658 "description": "The data that covers the domain of the pie c hart."
2659 },
2660 "series": {
2661 "$ref": "ChartData",
2662 "description": "The data that covers the one and only series of the pie chart."
2663 } 2833 }
2664 }, 2834 },
2665 "type": "object" 2835 "type": "object"
2666 }, 2836 },
2667 "UpdateFilterViewRequest": { 2837 "UpdateFilterViewRequest": {
2668 "description": "Updates properties of the filter view.", 2838 "description": "Updates properties of the filter view.",
2669 "id": "UpdateFilterViewRequest", 2839 "id": "UpdateFilterViewRequest",
2670 "properties": { 2840 "properties": {
2671 "fields": { 2841 "fields": {
2672 "description": "The fields that should be updated. At least one field must be specified.\nThe root `filter` is implied and should not be sp ecified.\nA single `\"*\"` can be used as short-hand for listing every field.", 2842 "description": "The fields that should be updated. At least one field must be specified.\nThe root `filter` is implied and should not be sp ecified.\nA single `\"*\"` can be used as short-hand for listing every field.",
2673 "format": "google-fieldmask", 2843 "format": "google-fieldmask",
2674 "type": "string" 2844 "type": "string"
2675 }, 2845 },
2676 "filter": { 2846 "filter": {
2677 "$ref": "FilterView", 2847 "$ref": "FilterView",
2678 "description": "The new properties of the filter view." 2848 "description": "The new properties of the filter view."
2679 } 2849 }
2680 }, 2850 },
2681 "type": "object" 2851 "type": "object"
2682 }, 2852 },
2683 "ConditionalFormatRule": { 2853 "ConditionalFormatRule": {
2684 "description": "A rule describing a conditional format.", 2854 "description": "A rule describing a conditional format.",
2685 "id": "ConditionalFormatRule", 2855 "id": "ConditionalFormatRule",
2686 "properties": { 2856 "properties": {
2857 "ranges": {
2858 "description": "The ranges that will be formatted if the con dition is true.\nAll the ranges must be on the same grid.",
2859 "items": {
2860 "$ref": "GridRange"
2861 },
2862 "type": "array"
2863 },
2687 "gradientRule": { 2864 "gradientRule": {
2688 "$ref": "GradientRule", 2865 "$ref": "GradientRule",
2689 "description": "The formatting will vary based on the gradie nts in the rule." 2866 "description": "The formatting will vary based on the gradie nts in the rule."
2690 }, 2867 },
2691 "booleanRule": { 2868 "booleanRule": {
2692 "$ref": "BooleanRule", 2869 "$ref": "BooleanRule",
2693 "description": "The formatting is either \"on\" or \"off\" a ccording to the rule." 2870 "description": "The formatting is either \"on\" or \"off\" a ccording to the rule."
2694 },
2695 "ranges": {
2696 "description": "The ranges that will be formatted if the con dition is true.\nAll the ranges must be on the same grid.",
2697 "items": {
2698 "$ref": "GridRange"
2699 },
2700 "type": "array"
2701 } 2871 }
2702 }, 2872 },
2703 "type": "object" 2873 "type": "object"
2704 }, 2874 },
2705 "CopyPasteRequest": { 2875 "CopyPasteRequest": {
2706 "description": "Copies data from the source to the destination.", 2876 "description": "Copies data from the source to the destination.",
2707 "id": "CopyPasteRequest", 2877 "id": "CopyPasteRequest",
2708 "properties": { 2878 "properties": {
2709 "pasteType": { 2879 "pasteType": {
2710 "description": "What kind of data to paste.", 2880 "description": "What kind of data to paste.",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
2744 ], 2914 ],
2745 "enumDescriptions": [ 2915 "enumDescriptions": [
2746 "Paste normally.", 2916 "Paste normally.",
2747 "Paste transposed, where all rows become columns and vic e versa." 2917 "Paste transposed, where all rows become columns and vic e versa."
2748 ], 2918 ],
2749 "type": "string" 2919 "type": "string"
2750 } 2920 }
2751 }, 2921 },
2752 "type": "object" 2922 "type": "object"
2753 }, 2923 },
2754 "BooleanCondition": {
2755 "description": "A condition that can evaluate to true or false.\nBoo leanConditions are used by conditional formatting,\ndata validation, and the cri teria in filters.",
2756 "id": "BooleanCondition",
2757 "properties": {
2758 "values": {
2759 "description": "The values of the condition. The number of s upported values depends\non the condition type. Some support zero values,\nothe rs one or two values,\nand ConditionType.ONE_OF_LIST supports an arbitrary numbe r of values.",
2760 "items": {
2761 "$ref": "ConditionValue"
2762 },
2763 "type": "array"
2764 },
2765 "type": {
2766 "description": "The type of condition.",
2767 "enum": [
2768 "CONDITION_TYPE_UNSPECIFIED",
2769 "NUMBER_GREATER",
2770 "NUMBER_GREATER_THAN_EQ",
2771 "NUMBER_LESS",
2772 "NUMBER_LESS_THAN_EQ",
2773 "NUMBER_EQ",
2774 "NUMBER_NOT_EQ",
2775 "NUMBER_BETWEEN",
2776 "NUMBER_NOT_BETWEEN",
2777 "TEXT_CONTAINS",
2778 "TEXT_NOT_CONTAINS",
2779 "TEXT_STARTS_WITH",
2780 "TEXT_ENDS_WITH",
2781 "TEXT_EQ",
2782 "TEXT_IS_EMAIL",
2783 "TEXT_IS_URL",
2784 "DATE_EQ",
2785 "DATE_BEFORE",
2786 "DATE_AFTER",
2787 "DATE_ON_OR_BEFORE",
2788 "DATE_ON_OR_AFTER",
2789 "DATE_BETWEEN",
2790 "DATE_NOT_BETWEEN",
2791 "DATE_IS_VALID",
2792 "ONE_OF_RANGE",
2793 "ONE_OF_LIST",
2794 "BLANK",
2795 "NOT_BLANK",
2796 "CUSTOM_FORMULA"
2797 ],
2798 "enumDescriptions": [
2799 "The default value, do not use.",
2800 "The cell's value must be greater than the condition's v alue.\nSupported by data validation, conditional formatting and filters.\nRequir es a single ConditionValue.",
2801 "The cell's value must be greater than or equal to the c ondition's value.\nSupported by data validation, conditional formatting and filt ers.\nRequires a single ConditionValue.",
2802 "The cell's value must be less than the condition's valu e.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
2803 "The cell's value must be less than or equal to the cond ition's value.\nSupported by data validation, conditional formatting and filters .\nRequires a single ConditionValue.",
2804 "The cell's value must be equal to the condition's value .\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
2805 "The cell's value must be not equal to the condition's v alue.\nSupported by data validation, conditional formatting and filters.\nRequir es a single ConditionValue.",
2806 "The cell's value must be between the two condition valu es.\nSupported by data validation, conditional formatting and filters.\nRequires exactly two ConditionValues.",
2807 "The cell's value must not be between the two condition values.\nSupported by data validation, conditional formatting and filters.\nRequ ires exactly two ConditionValues.",
2808 "The cell's value must contain the condition's value.\nS upported by data validation, conditional formatting and filters.\nRequires a sin gle ConditionValue.",
2809 "The cell's value must not contain the condition's value .\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
2810 "The cell's value must start with the condition's value. \nSupported by conditional formatting and filters.\nRequires a single ConditionV alue.",
2811 "The cell's value must end with the condition's value.\n Supported by conditional formatting and filters.\nRequires a single ConditionVal ue.",
2812 "The cell's value must be exactly the condition's value. \nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
2813 "The cell's value must be a valid email address.\nSuppor ted by data validation.\nRequires no ConditionValues.",
2814 "The cell's value must be a valid URL.\nSupported by dat a validation.\nRequires no ConditionValues.",
2815 "The cell's value must be the same date as the condition 's value.\nSupported by data validation, conditional formatting and filters.\nRe quires a single ConditionValue.",
2816 "The cell's value must be before the date of the conditi on's value.\nSupported by data validation, conditional formatting and filters.\n Requires a single ConditionValue\nthat may be a relative date.",
2817 "The cell's value must be after the date of the conditio n's value.\nSupported by data validation, conditional formatting and filters.\nR equires a single ConditionValue\nthat may be a relative date.",
2818 "The cell's value must be on or before the date of the c ondition's value.\nSupported by data validation.\nRequires a single ConditionVal ue\nthat may be a relative date.",
2819 "The cell's value must be on or after the date of the co ndition's value.\nSupported by data validation.\nRequires a single ConditionValu e\nthat may be a relative date.",
2820 "The cell's value must be between the dates of the two c ondition values.\nSupported by data validation.\nRequires exactly two ConditionV alues.",
2821 "The cell's value must be outside the dates of the two c ondition values.\nSupported by data validation.\nRequires exactly two ConditionV alues.",
2822 "The cell's value must be a date.\nSupported by data val idation.\nRequires no ConditionValues.",
2823 "The cell's value must be listed in the grid in conditio n value's range.\nSupported by data validation.\nRequires a single ConditionValu e,\nand the value must be a valid range in A1 notation.",
2824 "The cell's value must in the list of condition values.\ nSupported by data validation.\nSupports any number of condition values,\none pe r item in the list.\nFormulas are not supported in the values.",
2825 "The cell's value must be empty.\nSupported by condition al formatting and filters.\nRequires no ConditionValues.",
2826 "The cell's value must not be empty.\nSupported by condi tional formatting and filters.\nRequires no ConditionValues.",
2827 "The condition's formula must evaluate to true.\nSupport ed by data validation, conditional formatting and filters.\nRequires a single Co nditionValue."
2828 ],
2829 "type": "string"
2830 }
2831 },
2832 "type": "object"
2833 },
2834 "Request": { 2924 "Request": {
2835 "description": "A single kind of update to apply to a spreadsheet.", 2925 "description": "A single kind of update to apply to a spreadsheet.",
2836 "id": "Request", 2926 "id": "Request",
2837 "properties": { 2927 "properties": {
2838 "deleteFilterView": { 2928 "updateNamedRange": {
2839 "$ref": "DeleteFilterViewRequest", 2929 "$ref": "UpdateNamedRangeRequest",
2840 "description": "Deletes a filter view from a sheet." 2930 "description": "Updates a named range."
2931 },
2932 "updateSheetProperties": {
2933 "$ref": "UpdateSheetPropertiesRequest",
2934 "description": "Updates a sheet's properties."
2935 },
2936 "deleteDimension": {
2937 "$ref": "DeleteDimensionRequest",
2938 "description": "Deletes rows or columns in a sheet."
2939 },
2940 "autoFill": {
2941 "$ref": "AutoFillRequest",
2942 "description": "Automatically fills in more data based on ex isting data."
2943 },
2944 "sortRange": {
2945 "$ref": "SortRangeRequest",
2946 "description": "Sorts data in a range."
2947 },
2948 "deleteProtectedRange": {
2949 "$ref": "DeleteProtectedRangeRequest",
2950 "description": "Deletes a protected range."
2951 },
2952 "duplicateFilterView": {
2953 "$ref": "DuplicateFilterViewRequest",
2954 "description": "Duplicates a filter view."
2955 },
2956 "addChart": {
2957 "$ref": "AddChartRequest",
2958 "description": "Adds a chart."
2959 },
2960 "findReplace": {
2961 "$ref": "FindReplaceRequest",
2962 "description": "Finds and replaces occurrences of some text with other text."
2963 },
2964 "updateChartSpec": {
2965 "$ref": "UpdateChartSpecRequest",
2966 "description": "Updates a chart's specifications."
2967 },
2968 "textToColumns": {
2969 "$ref": "TextToColumnsRequest",
2970 "description": "Converts a column of text into many columns of text."
2971 },
2972 "updateProtectedRange": {
2973 "$ref": "UpdateProtectedRangeRequest",
2974 "description": "Updates a protected range."
2975 },
2976 "addSheet": {
2977 "$ref": "AddSheetRequest",
2978 "description": "Adds a sheet."
2841 }, 2979 },
2842 "copyPaste": { 2980 "copyPaste": {
2843 "$ref": "CopyPasteRequest", 2981 "$ref": "CopyPasteRequest",
2844 "description": "Copies data from one area and pastes it to a nother." 2982 "description": "Copies data from one area and pastes it to a nother."
2845 }, 2983 },
2984 "deleteFilterView": {
2985 "$ref": "DeleteFilterViewRequest",
2986 "description": "Deletes a filter view from a sheet."
2987 },
2846 "insertDimension": { 2988 "insertDimension": {
2847 "$ref": "InsertDimensionRequest", 2989 "$ref": "InsertDimensionRequest",
2848 "description": "Inserts new rows or columns in a sheet." 2990 "description": "Inserts new rows or columns in a sheet."
2849 }, 2991 },
2850 "deleteRange": { 2992 "deleteRange": {
2851 "$ref": "DeleteRangeRequest", 2993 "$ref": "DeleteRangeRequest",
2852 "description": "Deletes a range of cells from a sheet, shift ing the remaining cells." 2994 "description": "Deletes a range of cells from a sheet, shift ing the remaining cells."
2853 }, 2995 },
2854 "deleteBanding": { 2996 "deleteBanding": {
2855 "$ref": "DeleteBandingRequest", 2997 "$ref": "DeleteBandingRequest",
2856 "description": "Removes a banded range" 2998 "description": "Removes a banded range"
2857 }, 2999 },
2858 "addFilterView": { 3000 "addFilterView": {
2859 "$ref": "AddFilterViewRequest", 3001 "$ref": "AddFilterViewRequest",
2860 "description": "Adds a filter view." 3002 "description": "Adds a filter view."
2861 }, 3003 },
2862 "updateBorders": { 3004 "updateBorders": {
2863 "$ref": "UpdateBordersRequest", 3005 "$ref": "UpdateBordersRequest",
2864 "description": "Updates the borders in a range of cells." 3006 "description": "Updates the borders in a range of cells."
2865 }, 3007 },
2866 "setDataValidation": { 3008 "setDataValidation": {
2867 "$ref": "SetDataValidationRequest", 3009 "$ref": "SetDataValidationRequest",
2868 "description": "Sets data validation for one or more cells." 3010 "description": "Sets data validation for one or more cells."
2869 }, 3011 },
2870 "deleteConditionalFormatRule": { 3012 "deleteConditionalFormatRule": {
2871 "$ref": "DeleteConditionalFormatRuleRequest", 3013 "$ref": "DeleteConditionalFormatRuleRequest",
2872 "description": "Deletes an existing conditional format rule. " 3014 "description": "Deletes an existing conditional format rule. "
2873 }, 3015 },
3016 "repeatCell": {
3017 "$ref": "RepeatCellRequest",
3018 "description": "Repeats a single cell across a range."
3019 },
2874 "clearBasicFilter": { 3020 "clearBasicFilter": {
2875 "$ref": "ClearBasicFilterRequest", 3021 "$ref": "ClearBasicFilterRequest",
2876 "description": "Clears the basic filter on a sheet." 3022 "description": "Clears the basic filter on a sheet."
2877 }, 3023 },
2878 "repeatCell": {
2879 "$ref": "RepeatCellRequest",
2880 "description": "Repeats a single cell across a range."
2881 },
2882 "appendDimension": { 3024 "appendDimension": {
2883 "$ref": "AppendDimensionRequest", 3025 "$ref": "AppendDimensionRequest",
2884 "description": "Appends dimensions to the end of a sheet." 3026 "description": "Appends dimensions to the end of a sheet."
2885 }, 3027 },
2886 "updateConditionalFormatRule": { 3028 "updateConditionalFormatRule": {
2887 "$ref": "UpdateConditionalFormatRuleRequest", 3029 "$ref": "UpdateConditionalFormatRuleRequest",
2888 "description": "Updates an existing conditional format rule. " 3030 "description": "Updates an existing conditional format rule. "
2889 }, 3031 },
2890 "insertRange": { 3032 "insertRange": {
2891 "$ref": "InsertRangeRequest", 3033 "$ref": "InsertRangeRequest",
(...skipping 16 matching lines...) Expand all
2908 "description": "Deletes a named range." 3050 "description": "Deletes a named range."
2909 }, 3051 },
2910 "addProtectedRange": { 3052 "addProtectedRange": {
2911 "$ref": "AddProtectedRangeRequest", 3053 "$ref": "AddProtectedRangeRequest",
2912 "description": "Adds a protected range." 3054 "description": "Adds a protected range."
2913 }, 3055 },
2914 "duplicateSheet": { 3056 "duplicateSheet": {
2915 "$ref": "DuplicateSheetRequest", 3057 "$ref": "DuplicateSheetRequest",
2916 "description": "Duplicates a sheet." 3058 "description": "Duplicates a sheet."
2917 }, 3059 },
3060 "unmergeCells": {
3061 "$ref": "UnmergeCellsRequest",
3062 "description": "Unmerges merged cells."
3063 },
2918 "deleteSheet": { 3064 "deleteSheet": {
2919 "$ref": "DeleteSheetRequest", 3065 "$ref": "DeleteSheetRequest",
2920 "description": "Deletes a sheet." 3066 "description": "Deletes a sheet."
2921 }, 3067 },
2922 "unmergeCells": {
2923 "$ref": "UnmergeCellsRequest",
2924 "description": "Unmerges merged cells."
2925 },
2926 "updateEmbeddedObjectPosition": { 3068 "updateEmbeddedObjectPosition": {
2927 "$ref": "UpdateEmbeddedObjectPositionRequest", 3069 "$ref": "UpdateEmbeddedObjectPositionRequest",
2928 "description": "Updates an embedded object's (e.g. chart, im age) position." 3070 "description": "Updates an embedded object's (e.g. chart, im age) position."
2929 }, 3071 },
2930 "updateDimensionProperties": { 3072 "updateDimensionProperties": {
2931 "$ref": "UpdateDimensionPropertiesRequest", 3073 "$ref": "UpdateDimensionPropertiesRequest",
2932 "description": "Updates dimensions' properties." 3074 "description": "Updates dimensions' properties."
2933 }, 3075 },
2934 "pasteData": { 3076 "pasteData": {
2935 "$ref": "PasteDataRequest", 3077 "$ref": "PasteDataRequest",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
2975 "$ref": "AutoResizeDimensionsRequest", 3117 "$ref": "AutoResizeDimensionsRequest",
2976 "description": "Automatically resizes one or more dimensions based on the contents\nof the cells in that dimension." 3118 "description": "Automatically resizes one or more dimensions based on the contents\nof the cells in that dimension."
2977 }, 3119 },
2978 "cutPaste": { 3120 "cutPaste": {
2979 "$ref": "CutPasteRequest", 3121 "$ref": "CutPasteRequest",
2980 "description": "Cuts data from one area and pastes it to ano ther." 3122 "description": "Cuts data from one area and pastes it to ano ther."
2981 }, 3123 },
2982 "mergeCells": { 3124 "mergeCells": {
2983 "$ref": "MergeCellsRequest", 3125 "$ref": "MergeCellsRequest",
2984 "description": "Merges cells together." 3126 "description": "Merges cells together."
2985 },
2986 "updateNamedRange": {
2987 "$ref": "UpdateNamedRangeRequest",
2988 "description": "Updates a named range."
2989 },
2990 "updateSheetProperties": {
2991 "$ref": "UpdateSheetPropertiesRequest",
2992 "description": "Updates a sheet's properties."
2993 },
2994 "autoFill": {
2995 "$ref": "AutoFillRequest",
2996 "description": "Automatically fills in more data based on ex isting data."
2997 },
2998 "deleteDimension": {
2999 "$ref": "DeleteDimensionRequest",
3000 "description": "Deletes rows or columns in a sheet."
3001 },
3002 "sortRange": {
3003 "$ref": "SortRangeRequest",
3004 "description": "Sorts data in a range."
3005 },
3006 "deleteProtectedRange": {
3007 "$ref": "DeleteProtectedRangeRequest",
3008 "description": "Deletes a protected range."
3009 },
3010 "duplicateFilterView": {
3011 "$ref": "DuplicateFilterViewRequest",
3012 "description": "Duplicates a filter view."
3013 },
3014 "addChart": {
3015 "$ref": "AddChartRequest",
3016 "description": "Adds a chart."
3017 },
3018 "findReplace": {
3019 "$ref": "FindReplaceRequest",
3020 "description": "Finds and replaces occurrences of some text with other text."
3021 },
3022 "textToColumns": {
3023 "$ref": "TextToColumnsRequest",
3024 "description": "Converts a column of text into many columns of text."
3025 },
3026 "updateChartSpec": {
3027 "$ref": "UpdateChartSpecRequest",
3028 "description": "Updates a chart's specifications."
3029 },
3030 "addSheet": {
3031 "$ref": "AddSheetRequest",
3032 "description": "Adds a sheet."
3033 },
3034 "updateProtectedRange": {
3035 "$ref": "UpdateProtectedRangeRequest",
3036 "description": "Updates a protected range."
3037 } 3127 }
3038 }, 3128 },
3039 "type": "object" 3129 "type": "object"
3130 },
3131 "BooleanCondition": {
3132 "description": "A condition that can evaluate to true or false.\nBoo leanConditions are used by conditional formatting,\ndata validation, and the cri teria in filters.",
3133 "id": "BooleanCondition",
3134 "properties": {
3135 "values": {
3136 "description": "The values of the condition. The number of s upported values depends\non the condition type. Some support zero values,\nothe rs one or two values,\nand ConditionType.ONE_OF_LIST supports an arbitrary numbe r of values.",
3137 "items": {
3138 "$ref": "ConditionValue"
3139 },
3140 "type": "array"
3141 },
3142 "type": {
3143 "description": "The type of condition.",
3144 "enum": [
3145 "CONDITION_TYPE_UNSPECIFIED",
3146 "NUMBER_GREATER",
3147 "NUMBER_GREATER_THAN_EQ",
3148 "NUMBER_LESS",
3149 "NUMBER_LESS_THAN_EQ",
3150 "NUMBER_EQ",
3151 "NUMBER_NOT_EQ",
3152 "NUMBER_BETWEEN",
3153 "NUMBER_NOT_BETWEEN",
3154 "TEXT_CONTAINS",
3155 "TEXT_NOT_CONTAINS",
3156 "TEXT_STARTS_WITH",
3157 "TEXT_ENDS_WITH",
3158 "TEXT_EQ",
3159 "TEXT_IS_EMAIL",
3160 "TEXT_IS_URL",
3161 "DATE_EQ",
3162 "DATE_BEFORE",
3163 "DATE_AFTER",
3164 "DATE_ON_OR_BEFORE",
3165 "DATE_ON_OR_AFTER",
3166 "DATE_BETWEEN",
3167 "DATE_NOT_BETWEEN",
3168 "DATE_IS_VALID",
3169 "ONE_OF_RANGE",
3170 "ONE_OF_LIST",
3171 "BLANK",
3172 "NOT_BLANK",
3173 "CUSTOM_FORMULA"
3174 ],
3175 "enumDescriptions": [
3176 "The default value, do not use.",
3177 "The cell's value must be greater than the condition's v alue.\nSupported by data validation, conditional formatting and filters.\nRequir es a single ConditionValue.",
3178 "The cell's value must be greater than or equal to the c ondition's value.\nSupported by data validation, conditional formatting and filt ers.\nRequires a single ConditionValue.",
3179 "The cell's value must be less than the condition's valu e.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
3180 "The cell's value must be less than or equal to the cond ition's value.\nSupported by data validation, conditional formatting and filters .\nRequires a single ConditionValue.",
3181 "The cell's value must be equal to the condition's value .\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
3182 "The cell's value must be not equal to the condition's v alue.\nSupported by data validation, conditional formatting and filters.\nRequir es a single ConditionValue.",
3183 "The cell's value must be between the two condition valu es.\nSupported by data validation, conditional formatting and filters.\nRequires exactly two ConditionValues.",
3184 "The cell's value must not be between the two condition values.\nSupported by data validation, conditional formatting and filters.\nRequ ires exactly two ConditionValues.",
3185 "The cell's value must contain the condition's value.\nS upported by data validation, conditional formatting and filters.\nRequires a sin gle ConditionValue.",
3186 "The cell's value must not contain the condition's value .\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
3187 "The cell's value must start with the condition's value. \nSupported by conditional formatting and filters.\nRequires a single ConditionV alue.",
3188 "The cell's value must end with the condition's value.\n Supported by conditional formatting and filters.\nRequires a single ConditionVal ue.",
3189 "The cell's value must be exactly the condition's value. \nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
3190 "The cell's value must be a valid email address.\nSuppor ted by data validation.\nRequires no ConditionValues.",
3191 "The cell's value must be a valid URL.\nSupported by dat a validation.\nRequires no ConditionValues.",
3192 "The cell's value must be the same date as the condition 's value.\nSupported by data validation, conditional formatting and filters.\nRe quires a single ConditionValue.",
3193 "The cell's value must be before the date of the conditi on's value.\nSupported by data validation, conditional formatting and filters.\n Requires a single ConditionValue\nthat may be a relative date.",
3194 "The cell's value must be after the date of the conditio n's value.\nSupported by data validation, conditional formatting and filters.\nR equires a single ConditionValue\nthat may be a relative date.",
3195 "The cell's value must be on or before the date of the c ondition's value.\nSupported by data validation.\nRequires a single ConditionVal ue\nthat may be a relative date.",
3196 "The cell's value must be on or after the date of the co ndition's value.\nSupported by data validation.\nRequires a single ConditionValu e\nthat may be a relative date.",
3197 "The cell's value must be between the dates of the two c ondition values.\nSupported by data validation.\nRequires exactly two ConditionV alues.",
3198 "The cell's value must be outside the dates of the two c ondition values.\nSupported by data validation.\nRequires exactly two ConditionV alues.",
3199 "The cell's value must be a date.\nSupported by data val idation.\nRequires no ConditionValues.",
3200 "The cell's value must be listed in the grid in conditio n value's range.\nSupported by data validation.\nRequires a single ConditionValu e,\nand the value must be a valid range in A1 notation.",
3201 "The cell's value must in the list of condition values.\ nSupported by data validation.\nSupports any number of condition values,\none pe r item in the list.\nFormulas are not supported in the values.",
3202 "The cell's value must be empty.\nSupported by condition al formatting and filters.\nRequires no ConditionValues.",
3203 "The cell's value must not be empty.\nSupported by condi tional formatting and filters.\nRequires no ConditionValues.",
3204 "The condition's formula must evaluate to true.\nSupport ed by data validation, conditional formatting and filters.\nRequires a single Co nditionValue."
3205 ],
3206 "type": "string"
3207 }
3208 },
3209 "type": "object"
3040 }, 3210 },
3041 "GridRange": { 3211 "GridRange": {
3042 "description": "A range on a sheet.\nAll indexes are zero-based.\nIn dexes are half open, e.g the start index is inclusive\nand the end index is excl usive -- [start_index, end_index).\nMissing indexes indicate the range is unboun ded on that side.\n\nFor example, if `\"Sheet1\"` is sheet ID 0, then:\n\n `She et1!A1:A1 == sheet_id: 0,\n start_row_index: 0, end_row_index: 1,\n start_column_index: 0, end_column_index: 1`\n\n `Sheet1!A 3:B4 == sheet_id: 0,\n start_row_index: 2, end_row_index: 4,\n start_column_index: 0, end_column_index: 2`\n\n `Sheet1!A:B == sheet_id: 0,\n start_column_index: 0, end_column_index: 2`\n\n `Sheet1!A5:B == sheet_id: 0,\n start_row_index: 4,\n start_column_index: 0, end_column_index: 2`\n\n `Sheet1 == sheet_id:0`\n\n The start index must always be less than or equal to the end index.\nIf the star t index equals the end index, then the range is empty.\nEmpty ranges are typical ly not meaningful and are usually rendered in the\nUI as `#REF!`.", 3212 "description": "A range on a sheet.\nAll indexes are zero-based.\nIn dexes are half open, e.g the start index is inclusive\nand the end index is excl usive -- [start_index, end_index).\nMissing indexes indicate the range is unboun ded on that side.\n\nFor example, if `\"Sheet1\"` is sheet ID 0, then:\n\n `She et1!A1:A1 == sheet_id: 0,\n start_row_index: 0, end_row_index: 1,\n start_column_index: 0, end_column_index: 1`\n\n `Sheet1!A 3:B4 == sheet_id: 0,\n start_row_index: 2, end_row_index: 4,\n start_column_index: 0, end_column_index: 2`\n\n `Sheet1!A:B == sheet_id: 0,\n start_column_index: 0, end_column_index: 2`\n\n `Sheet1!A5:B == sheet_id: 0,\n start_row_index: 4,\n start_column_index: 0, end_column_index: 2`\n\n `Sheet1 == sheet_id:0`\n\n The start index must always be less than or equal to the end index.\nIf the star t index equals the end index, then the range is empty.\nEmpty ranges are typical ly not meaningful and are usually rendered in the\nUI as `#REF!`.",
3043 "id": "GridRange", 3213 "id": "GridRange",
3044 "properties": { 3214 "properties": {
3045 "startColumnIndex": {
3046 "description": "The start column (inclusive) of the range, o r not set if unbounded.",
3047 "format": "int32",
3048 "type": "integer"
3049 },
3050 "sheetId": {
3051 "description": "The sheet this range is on.",
3052 "format": "int32",
3053 "type": "integer"
3054 },
3055 "endColumnIndex": { 3215 "endColumnIndex": {
3056 "description": "The end column (exclusive) of the range, or not set if unbounded.", 3216 "description": "The end column (exclusive) of the range, or not set if unbounded.",
3057 "format": "int32", 3217 "format": "int32",
3058 "type": "integer" 3218 "type": "integer"
3059 }, 3219 },
3060 "endRowIndex": { 3220 "endRowIndex": {
3061 "description": "The end row (exclusive) of the range, or not set if unbounded.", 3221 "description": "The end row (exclusive) of the range, or not set if unbounded.",
3062 "format": "int32", 3222 "format": "int32",
3063 "type": "integer" 3223 "type": "integer"
3064 }, 3224 },
3065 "startRowIndex": { 3225 "startRowIndex": {
3066 "description": "The start row (inclusive) of the range, or n ot set if unbounded.", 3226 "description": "The start row (inclusive) of the range, or n ot set if unbounded.",
3067 "format": "int32", 3227 "format": "int32",
3068 "type": "integer" 3228 "type": "integer"
3229 },
3230 "startColumnIndex": {
3231 "description": "The start column (inclusive) of the range, o r not set if unbounded.",
3232 "format": "int32",
3233 "type": "integer"
3234 },
3235 "sheetId": {
3236 "description": "The sheet this range is on.",
3237 "format": "int32",
3238 "type": "integer"
3069 } 3239 }
3070 }, 3240 },
3071 "type": "object" 3241 "type": "object"
3072 }, 3242 },
3073 "BasicChartSpec": { 3243 "BasicChartSpec": {
3074 "description": "The specification for a basic chart. See BasicChart Type for the list\nof charts this supports.", 3244 "description": "The specification for a basic chart. See BasicChart Type for the list\nof charts this supports.",
3075 "id": "BasicChartSpec", 3245 "id": "BasicChartSpec",
3076 "properties": { 3246 "properties": {
3077 "domains": { 3247 "domains": {
3078 "description": "The domain of data this is charting.\nOnly a single domain is supported.", 3248 "description": "The domain of data this is charting.\nOnly a single domain is supported.",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
3110 "description": "True to make the chart 3D.\nApplies to Bar a nd Column charts.", 3280 "description": "True to make the chart 3D.\nApplies to Bar a nd Column charts.",
3111 "type": "boolean" 3281 "type": "boolean"
3112 }, 3282 },
3113 "axis": { 3283 "axis": {
3114 "description": "The axis on the chart.", 3284 "description": "The axis on the chart.",
3115 "items": { 3285 "items": {
3116 "$ref": "BasicChartAxis" 3286 "$ref": "BasicChartAxis"
3117 }, 3287 },
3118 "type": "array" 3288 "type": "array"
3119 }, 3289 },
3120 "interpolateNulls": {
3121 "description": "If some values in a series are missing, gaps may appear in the chart (e.g,\nsegments of lines in a line chart will be missin g). To eliminate these\ngaps set this to true.\nApplies to Line, Area, and Comb o charts.",
3122 "type": "boolean"
3123 },
3124 "chartType": { 3290 "chartType": {
3125 "description": "The type of the chart.", 3291 "description": "The type of the chart.",
3126 "enum": [ 3292 "enum": [
3127 "BASIC_CHART_TYPE_UNSPECIFIED", 3293 "BASIC_CHART_TYPE_UNSPECIFIED",
3128 "BAR", 3294 "BAR",
3129 "LINE", 3295 "LINE",
3130 "AREA", 3296 "AREA",
3131 "COLUMN", 3297 "COLUMN",
3132 "SCATTER", 3298 "SCATTER",
3133 "COMBO", 3299 "COMBO",
3134 "STEPPED_AREA" 3300 "STEPPED_AREA"
3135 ], 3301 ],
3136 "enumDescriptions": [ 3302 "enumDescriptions": [
3137 "Default value, do not use.", 3303 "Default value, do not use.",
3138 "A <a href=\"/chart/interactive/docs/gallery/barchart\"> bar chart</a>.", 3304 "A <a href=\"/chart/interactive/docs/gallery/barchart\"> bar chart</a>.",
3139 "A <a href=\"/chart/interactive/docs/gallery/linechart\" >line chart</a>.", 3305 "A <a href=\"/chart/interactive/docs/gallery/linechart\" >line chart</a>.",
3140 "An <a href=\"/chart/interactive/docs/gallery/areachart\ ">area chart</a>.", 3306 "An <a href=\"/chart/interactive/docs/gallery/areachart\ ">area chart</a>.",
3141 "A <a href=\"/chart/interactive/docs/gallery/columnchart \">column chart</a>.", 3307 "A <a href=\"/chart/interactive/docs/gallery/columnchart \">column chart</a>.",
3142 "A <a href=\"/chart/interactive/docs/gallery/scatterchar t\">scatter chart</a>.", 3308 "A <a href=\"/chart/interactive/docs/gallery/scatterchar t\">scatter chart</a>.",
3143 "A <a href=\"/chart/interactive/docs/gallery/combochart\ ">combo chart</a>.", 3309 "A <a href=\"/chart/interactive/docs/gallery/combochart\ ">combo chart</a>.",
3144 "A <a href=\"/chart/interactive/docs/gallery/steppedarea chart\">stepped area chart</a>." 3310 "A <a href=\"/chart/interactive/docs/gallery/steppedarea chart\">stepped area chart</a>."
3145 ], 3311 ],
3146 "type": "string" 3312 "type": "string"
3147 }, 3313 },
3314 "interpolateNulls": {
3315 "description": "If some values in a series are missing, gaps may appear in the chart (e.g,\nsegments of lines in a line chart will be missin g). To eliminate these\ngaps set this to true.\nApplies to Line, Area, and Comb o charts.",
3316 "type": "boolean"
3317 },
3148 "series": { 3318 "series": {
3149 "description": "The data this chart is visualizing.", 3319 "description": "The data this chart is visualizing.",
3150 "items": { 3320 "items": {
3151 "$ref": "BasicChartSeries" 3321 "$ref": "BasicChartSeries"
3152 }, 3322 },
3153 "type": "array" 3323 "type": "array"
3154 }, 3324 },
3155 "legendPosition": { 3325 "legendPosition": {
3156 "description": "The position of the chart legend.", 3326 "description": "The position of the chart legend.",
3157 "enum": [ 3327 "enum": [
(...skipping 29 matching lines...) Expand all
3187 "$ref": "GridRange", 3357 "$ref": "GridRange",
3188 "description": "The range the data validation rule should ap ply to." 3358 "description": "The range the data validation rule should ap ply to."
3189 } 3359 }
3190 }, 3360 },
3191 "type": "object" 3361 "type": "object"
3192 }, 3362 },
3193 "BubbleChartSpec": { 3363 "BubbleChartSpec": {
3194 "description": "A <a href=\"/chart/interactive/docs/gallery/bubblech art\">bubble chart</a>.", 3364 "description": "A <a href=\"/chart/interactive/docs/gallery/bubblech art\">bubble chart</a>.",
3195 "id": "BubbleChartSpec", 3365 "id": "BubbleChartSpec",
3196 "properties": { 3366 "properties": {
3197 "bubbleLabels": {
3198 "$ref": "ChartData",
3199 "description": "The data containing the bubble labels. Thes e do not need to be unique."
3200 },
3201 "bubbleMinRadiusSize": {
3202 "description": "The minimum radius size of the bubbles, in p ixels.\nIf specific, the field must be a positive value.",
3203 "format": "int32",
3204 "type": "integer"
3205 },
3206 "bubbleMaxRadiusSize": {
3207 "description": "The max radius size of the bubbles, in pixel s.\nIf specified, the field must be a positive value.",
3208 "format": "int32",
3209 "type": "integer"
3210 },
3211 "series": { 3367 "series": {
3212 "$ref": "ChartData", 3368 "$ref": "ChartData",
3213 "description": "The data contianing the bubble y-values. Th ese values locate the bubbles\nin the chart vertically." 3369 "description": "The data contianing the bubble y-values. Th ese values locate the bubbles\nin the chart vertically."
3214 }, 3370 },
3215 "legendPosition": { 3371 "legendPosition": {
3216 "description": "Where the legend of the chart should be draw n.", 3372 "description": "Where the legend of the chart should be draw n.",
3217 "enum": [ 3373 "enum": [
3218 "BUBBLE_CHART_LEGEND_POSITION_UNSPECIFIED", 3374 "BUBBLE_CHART_LEGEND_POSITION_UNSPECIFIED",
3219 "BOTTOM_LEGEND", 3375 "BOTTOM_LEGEND",
3220 "LEFT_LEGEND", 3376 "LEFT_LEGEND",
3221 "RIGHT_LEGEND", 3377 "RIGHT_LEGEND",
3222 "TOP_LEGEND", 3378 "TOP_LEGEND",
3223 "NO_LEGEND", 3379 "NO_LEGEND",
3224 "INSIDE_LEGEND" 3380 "INSIDE_LEGEND"
3225 ], 3381 ],
3226 "enumDescriptions": [ 3382 "enumDescriptions": [
3227 "Default value, do not use.", 3383 "Default value, do not use.",
3228 "The legend is rendered on the bottom of the chart.", 3384 "The legend is rendered on the bottom of the chart.",
3229 "The legend is rendered on the left of the chart.", 3385 "The legend is rendered on the left of the chart.",
3230 "The legend is rendered on the right of the chart.", 3386 "The legend is rendered on the right of the chart.",
3231 "The legend is rendered on the top of the chart.", 3387 "The legend is rendered on the top of the chart.",
3232 "No legend is rendered.", 3388 "No legend is rendered.",
3233 "The legend is rendered inside the chart area." 3389 "The legend is rendered inside the chart area."
3234 ], 3390 ],
3235 "type": "string" 3391 "type": "string"
3236 }, 3392 },
3237 "bubbleSizes": {
3238 "$ref": "ChartData",
3239 "description": "The data contianing the bubble sizes. Bubbl e sizes are used to draw\nthe bubbles at different sizes relative to each other. \nIf specified, group_ids must also be specified. This field is\noptional."
3240 },
3241 "bubbleOpacity": { 3393 "bubbleOpacity": {
3242 "description": "The opacity of the bubbles between 0 and 1.0 .\n0 is fully transparent and 1 is fully opaque.", 3394 "description": "The opacity of the bubbles between 0 and 1.0 .\n0 is fully transparent and 1 is fully opaque.",
3243 "format": "float", 3395 "format": "float",
3244 "type": "number" 3396 "type": "number"
3245 }, 3397 },
3398 "bubbleSizes": {
3399 "$ref": "ChartData",
3400 "description": "The data contianing the bubble sizes. Bubbl e sizes are used to draw\nthe bubbles at different sizes relative to each other. \nIf specified, group_ids must also be specified. This field is\noptional."
3401 },
3246 "domain": { 3402 "domain": {
3247 "$ref": "ChartData", 3403 "$ref": "ChartData",
3248 "description": "The data containing the bubble x-values. Th ese values locate the bubbles\nin the chart horizontally." 3404 "description": "The data containing the bubble x-values. Th ese values locate the bubbles\nin the chart horizontally."
3249 }, 3405 },
3250 "bubbleTextStyle": { 3406 "bubbleTextStyle": {
3251 "$ref": "TextFormat", 3407 "$ref": "TextFormat",
3252 "description": "The format of the text inside the bubbles.\n Underline and Strikethrough are not supported." 3408 "description": "The format of the text inside the bubbles.\n Underline and Strikethrough are not supported."
3253 }, 3409 },
3254 "bubbleBorderColor": { 3410 "bubbleBorderColor": {
3255 "$ref": "Color", 3411 "$ref": "Color",
3256 "description": "The bubble border color." 3412 "description": "The bubble border color."
3257 }, 3413 },
3258 "groupIds": { 3414 "groupIds": {
3259 "$ref": "ChartData", 3415 "$ref": "ChartData",
3260 "description": "The data containing the bubble group IDs. Al l bubbles with the same group\nID will be drawn in the same color. If bubble_siz es is specified then\nthis field must also be specified but may contain blank va lues.\nThis field is optional." 3416 "description": "The data containing the bubble group IDs. Al l bubbles with the same group\nID will be drawn in the same color. If bubble_siz es is specified then\nthis field must also be specified but may contain blank va lues.\nThis field is optional."
3417 },
3418 "bubbleLabels": {
3419 "$ref": "ChartData",
3420 "description": "The data containing the bubble labels. Thes e do not need to be unique."
3421 },
3422 "bubbleMinRadiusSize": {
3423 "description": "The minimum radius size of the bubbles, in p ixels.\nIf specific, the field must be a positive value.",
3424 "format": "int32",
3425 "type": "integer"
3426 },
3427 "bubbleMaxRadiusSize": {
3428 "description": "The max radius size of the bubbles, in pixel s.\nIf specified, the field must be a positive value.",
3429 "format": "int32",
3430 "type": "integer"
3261 } 3431 }
3262 }, 3432 },
3263 "type": "object" 3433 "type": "object"
3264 }, 3434 },
3265 "CellData": { 3435 "CellData": {
3266 "description": "Data about a specific cell.", 3436 "description": "Data about a specific cell.",
3267 "id": "CellData", 3437 "id": "CellData",
3268 "properties": { 3438 "properties": {
3439 "pivotTable": {
3440 "$ref": "PivotTable",
3441 "description": "A pivot table anchored at this cell. The siz e of pivot table itself\nis computed dynamically based on its data, grouping, fi lters, values,\netc. Only the top-left cell of the pivot table contains the pivo t table\ndefinition. The other cells will contain the calculated values of the\n results of the pivot in their effective_value fields."
3442 },
3269 "userEnteredFormat": { 3443 "userEnteredFormat": {
3270 "$ref": "CellFormat", 3444 "$ref": "CellFormat",
3271 "description": "The format the user entered for the cell.\n\ nWhen writing, the new format will be merged with the existing format." 3445 "description": "The format the user entered for the cell.\n\ nWhen writing, the new format will be merged with the existing format."
3272 }, 3446 },
3447 "note": {
3448 "description": "Any note on the cell.",
3449 "type": "string"
3450 },
3273 "effectiveFormat": { 3451 "effectiveFormat": {
3274 "$ref": "CellFormat", 3452 "$ref": "CellFormat",
3275 "description": "The effective format being used by the cell. \nThis includes the results of applying any conditional formatting and,\nif the cell contains a formula, the computed number format.\nIf the effective format is the default format, effective format will\nnot be written.\nThis field is read- only." 3453 "description": "The effective format being used by the cell. \nThis includes the results of applying any conditional formatting and,\nif the cell contains a formula, the computed number format.\nIf the effective format is the default format, effective format will\nnot be written.\nThis field is read- only."
3276 }, 3454 },
3277 "note": { 3455 "dataValidation": {
3278 "description": "Any note on the cell.", 3456 "$ref": "DataValidationRule",
3279 "type": "string" 3457 "description": "A data validation rule on the cell, if any.\ n\nWhen writing, the new data validation rule will overwrite any prior rule."
3280 }, 3458 },
3281 "userEnteredValue": { 3459 "userEnteredValue": {
3282 "$ref": "ExtendedValue", 3460 "$ref": "ExtendedValue",
3283 "description": "The value the user entered in the cell. e.g, `1234`, `'Hello'`, or `=NOW()`\nNote: Dates, Times and DateTimes are represente d as doubles in\nserial number format." 3461 "description": "The value the user entered in the cell. e.g, `1234`, `'Hello'`, or `=NOW()`\nNote: Dates, Times and DateTimes are represente d as doubles in\nserial number format."
3284 }, 3462 },
3285 "dataValidation": {
3286 "$ref": "DataValidationRule",
3287 "description": "A data validation rule on the cell, if any.\ n\nWhen writing, the new data validation rule will overwrite any prior rule."
3288 },
3289 "effectiveValue": { 3463 "effectiveValue": {
3290 "$ref": "ExtendedValue", 3464 "$ref": "ExtendedValue",
3291 "description": "The effective value of the cell. For cells w ith formulas, this will be\nthe calculated value. For cells with literals, this will be\nthe same as the user_entered_value.\nThis field is read-only." 3465 "description": "The effective value of the cell. For cells w ith formulas, this will be\nthe calculated value. For cells with literals, this will be\nthe same as the user_entered_value.\nThis field is read-only."
3292 }, 3466 },
3293 "formattedValue": {
3294 "description": "The formatted value of the cell.\nThis is th e value as it's shown to the user.\nThis field is read-only.",
3295 "type": "string"
3296 },
3297 "textFormatRuns": { 3467 "textFormatRuns": {
3298 "description": "Runs of rich text applied to subsections of the cell. Runs are only valid\non user entered strings, not formulas, bools, or numbers.\nRuns start at specific indexes in the text and continue until the nex t\nrun. Properties of a run will continue unless explicitly changed\nin a subseq uent run (and properties of the first run will continue\nthe properties of the c ell unless explicitly changed).\n\nWhen writing, the new runs will overwrite any prior runs. When writing a\nnew user_entered_value, previous runs will be eras ed.", 3468 "description": "Runs of rich text applied to subsections of the cell. Runs are only valid\non user entered strings, not formulas, bools, or numbers.\nRuns start at specific indexes in the text and continue until the nex t\nrun. Properties of a run will continue unless explicitly changed\nin a subseq uent run (and properties of the first run will continue\nthe properties of the c ell unless explicitly changed).\n\nWhen writing, the new runs will overwrite any prior runs. When writing a\nnew user_entered_value, previous runs will be eras ed.",
3299 "items": { 3469 "items": {
3300 "$ref": "TextFormatRun" 3470 "$ref": "TextFormatRun"
3301 }, 3471 },
3302 "type": "array" 3472 "type": "array"
3303 }, 3473 },
3474 "formattedValue": {
3475 "description": "The formatted value of the cell.\nThis is th e value as it's shown to the user.\nThis field is read-only.",
3476 "type": "string"
3477 },
3304 "hyperlink": { 3478 "hyperlink": {
3305 "description": "A hyperlink this cell points to, if any.\nTh is field is read-only. (To set it, use a `=HYPERLINK` formula\nin the userEnter edValue.formulaValue\nfield.)", 3479 "description": "A hyperlink this cell points to, if any.\nTh is field is read-only. (To set it, use a `=HYPERLINK` formula\nin the userEnter edValue.formulaValue\nfield.)",
3306 "type": "string" 3480 "type": "string"
3307 },
3308 "pivotTable": {
3309 "$ref": "PivotTable",
3310 "description": "A pivot table anchored at this cell. The siz e of pivot table itself\nis computed dynamically based on its data, grouping, fi lters, values,\netc. Only the top-left cell of the pivot table contains the pivo t table\ndefinition. The other cells will contain the calculated values of the\n results of the pivot in their effective_value fields."
3311 } 3481 }
3312 }, 3482 },
3313 "type": "object" 3483 "type": "object"
3314 }, 3484 },
3315 "BatchUpdateSpreadsheetRequest": { 3485 "BatchUpdateSpreadsheetRequest": {
3316 "description": "The request for updating any aspect of a spreadsheet .", 3486 "description": "The request for updating any aspect of a spreadsheet .",
3317 "id": "BatchUpdateSpreadsheetRequest", 3487 "id": "BatchUpdateSpreadsheetRequest",
3318 "properties": { 3488 "properties": {
3319 "responseIncludeGridData": { 3489 "responseIncludeGridData": {
3320 "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.", 3490 "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.",
(...skipping 13 matching lines...) Expand all
3334 "requests": { 3504 "requests": {
3335 "description": "A list of updates to apply to the spreadshee t.\nRequests will be applied in the order they are specified.\nIf any request is not valid, no requests will be applied.", 3505 "description": "A list of updates to apply to the spreadshee t.\nRequests will be applied in the order they are specified.\nIf any request is not valid, no requests will be applied.",
3336 "items": { 3506 "items": {
3337 "$ref": "Request" 3507 "$ref": "Request"
3338 }, 3508 },
3339 "type": "array" 3509 "type": "array"
3340 } 3510 }
3341 }, 3511 },
3342 "type": "object" 3512 "type": "object"
3343 }, 3513 },
3514 "Padding": {
3515 "description": "The amount of padding around the cell, in pixels.\nW hen updating padding, every field must be specified.",
3516 "id": "Padding",
3517 "properties": {
3518 "right": {
3519 "description": "The right padding of the cell.",
3520 "format": "int32",
3521 "type": "integer"
3522 },
3523 "bottom": {
3524 "description": "The bottom padding of the cell.",
3525 "format": "int32",
3526 "type": "integer"
3527 },
3528 "top": {
3529 "description": "The top padding of the cell.",
3530 "format": "int32",
3531 "type": "integer"
3532 },
3533 "left": {
3534 "description": "The left padding of the cell.",
3535 "format": "int32",
3536 "type": "integer"
3537 }
3538 },
3539 "type": "object"
3540 },
3344 "BasicChartAxis": { 3541 "BasicChartAxis": {
3345 "description": "An axis of the chart.\nA chart may not have more tha n one axis per\naxis position.", 3542 "description": "An axis of the chart.\nA chart may not have more tha n one axis per\naxis position.",
3346 "id": "BasicChartAxis", 3543 "id": "BasicChartAxis",
3347 "properties": { 3544 "properties": {
3348 "format": {
3349 "$ref": "TextFormat",
3350 "description": "The format of the title.\nOnly valid if the axis is not associated with the domain."
3351 },
3352 "title": { 3545 "title": {
3353 "description": "The title of this axis. If set, this overrid es any title inferred\nfrom headers of the data.", 3546 "description": "The title of this axis. If set, this overrid es any title inferred\nfrom headers of the data.",
3354 "type": "string" 3547 "type": "string"
3355 }, 3548 },
3356 "position": { 3549 "position": {
3357 "description": "The position of this axis.", 3550 "description": "The position of this axis.",
3358 "enum": [ 3551 "enum": [
3359 "BASIC_CHART_AXIS_POSITION_UNSPECIFIED", 3552 "BASIC_CHART_AXIS_POSITION_UNSPECIFIED",
3360 "BOTTOM_AXIS", 3553 "BOTTOM_AXIS",
3361 "LEFT_AXIS", 3554 "LEFT_AXIS",
3362 "RIGHT_AXIS" 3555 "RIGHT_AXIS"
3363 ], 3556 ],
3364 "enumDescriptions": [ 3557 "enumDescriptions": [
3365 "Default value, do not use.", 3558 "Default value, do not use.",
3366 "The axis rendered at the bottom of a chart.\nFor most c harts, this is the standard major axis.\nFor bar charts, this is a minor axis.", 3559 "The axis rendered at the bottom of a chart.\nFor most c harts, this is the standard major axis.\nFor bar charts, this is a minor axis.",
3367 "The axis rendered at the left of a chart.\nFor most cha rts, this is a minor axis.\nFor bar charts, this is the standard major axis.", 3560 "The axis rendered at the left of a chart.\nFor most cha rts, this is a minor axis.\nFor bar charts, this is the standard major axis.",
3368 "The axis rendered at the right of a chart.\nFor most ch arts, this is a minor axis.\nFor bar charts, this is an unusual major axis." 3561 "The axis rendered at the right of a chart.\nFor most ch arts, this is a minor axis.\nFor bar charts, this is an unusual major axis."
3369 ], 3562 ],
3370 "type": "string" 3563 "type": "string"
3564 },
3565 "format": {
3566 "$ref": "TextFormat",
3567 "description": "The format of the title.\nOnly valid if the axis is not associated with the domain."
3371 } 3568 }
3372 }, 3569 },
3373 "type": "object" 3570 "type": "object"
3374 },
3375 "Padding": {
3376 "description": "The amount of padding around the cell, in pixels.\nW hen updating padding, every field must be specified.",
3377 "id": "Padding",
3378 "properties": {
3379 "top": {
3380 "description": "The top padding of the cell.",
3381 "format": "int32",
3382 "type": "integer"
3383 },
3384 "left": {
3385 "description": "The left padding of the cell.",
3386 "format": "int32",
3387 "type": "integer"
3388 },
3389 "right": {
3390 "description": "The right padding of the cell.",
3391 "format": "int32",
3392 "type": "integer"
3393 },
3394 "bottom": {
3395 "description": "The bottom padding of the cell.",
3396 "format": "int32",
3397 "type": "integer"
3398 }
3399 },
3400 "type": "object"
3401 }, 3571 },
3402 "DeleteDimensionRequest": { 3572 "DeleteDimensionRequest": {
3403 "description": "Deletes the dimensions from the sheet.", 3573 "description": "Deletes the dimensions from the sheet.",
3404 "id": "DeleteDimensionRequest", 3574 "id": "DeleteDimensionRequest",
3405 "properties": { 3575 "properties": {
3406 "range": { 3576 "range": {
3407 "$ref": "DimensionRange", 3577 "$ref": "DimensionRange",
3408 "description": "The dimensions to delete from the sheet." 3578 "description": "The dimensions to delete from the sheet."
3409 } 3579 }
3410 }, 3580 },
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
3491 }, 3661 },
3492 "type": "array" 3662 "type": "array"
3493 } 3663 }
3494 }, 3664 },
3495 "type": "object" 3665 "type": "object"
3496 }, 3666 },
3497 "MergeCellsRequest": { 3667 "MergeCellsRequest": {
3498 "description": "Merges all cells in the range.", 3668 "description": "Merges all cells in the range.",
3499 "id": "MergeCellsRequest", 3669 "id": "MergeCellsRequest",
3500 "properties": { 3670 "properties": {
3501 "range": {
3502 "$ref": "GridRange",
3503 "description": "The range of cells to merge."
3504 },
3505 "mergeType": { 3671 "mergeType": {
3506 "description": "How the cells should be merged.", 3672 "description": "How the cells should be merged.",
3507 "enum": [ 3673 "enum": [
3508 "MERGE_ALL", 3674 "MERGE_ALL",
3509 "MERGE_COLUMNS", 3675 "MERGE_COLUMNS",
3510 "MERGE_ROWS" 3676 "MERGE_ROWS"
3511 ], 3677 ],
3512 "enumDescriptions": [ 3678 "enumDescriptions": [
3513 "Create a single merge from the range", 3679 "Create a single merge from the range",
3514 "Create a merge for each column in the range", 3680 "Create a merge for each column in the range",
3515 "Create a merge for each row in the range" 3681 "Create a merge for each row in the range"
3516 ], 3682 ],
3517 "type": "string" 3683 "type": "string"
3684 },
3685 "range": {
3686 "$ref": "GridRange",
3687 "description": "The range of cells to merge."
3518 } 3688 }
3519 }, 3689 },
3520 "type": "object" 3690 "type": "object"
3521 }, 3691 },
3522 "AddProtectedRangeRequest": { 3692 "AddProtectedRangeRequest": {
3523 "description": "Adds a new protected range.", 3693 "description": "Adds a new protected range.",
3524 "id": "AddProtectedRangeRequest", 3694 "id": "AddProtectedRangeRequest",
3525 "properties": { 3695 "properties": {
3526 "protectedRange": { 3696 "protectedRange": {
3527 "$ref": "ProtectedRange", 3697 "$ref": "ProtectedRange",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
3559 "description": "The result of duplicating a sheet.", 3729 "description": "The result of duplicating a sheet.",
3560 "id": "DuplicateSheetResponse", 3730 "id": "DuplicateSheetResponse",
3561 "properties": { 3731 "properties": {
3562 "properties": { 3732 "properties": {
3563 "$ref": "SheetProperties", 3733 "$ref": "SheetProperties",
3564 "description": "The properties of the duplicate sheet." 3734 "description": "The properties of the duplicate sheet."
3565 } 3735 }
3566 }, 3736 },
3567 "type": "object" 3737 "type": "object"
3568 }, 3738 },
3739 "ClearBasicFilterRequest": {
3740 "description": "Clears the basic filter, if any exists on the sheet. ",
3741 "id": "ClearBasicFilterRequest",
3742 "properties": {
3743 "sheetId": {
3744 "description": "The sheet ID on which the basic filter shoul d be cleared.",
3745 "format": "int32",
3746 "type": "integer"
3747 }
3748 },
3749 "type": "object"
3750 },
3569 "TextToColumnsRequest": { 3751 "TextToColumnsRequest": {
3570 "description": "Splits a column of text into multiple columns,\nbase d on a delimiter in each cell.", 3752 "description": "Splits a column of text into multiple columns,\nbase d on a delimiter in each cell.",
3571 "id": "TextToColumnsRequest", 3753 "id": "TextToColumnsRequest",
3572 "properties": { 3754 "properties": {
3573 "delimiter": { 3755 "delimiter": {
3574 "description": "The delimiter to use. Used only if delimiter Type is\nCUSTOM.", 3756 "description": "The delimiter to use. Used only if delimiter Type is\nCUSTOM.",
3575 "type": "string" 3757 "type": "string"
3576 }, 3758 },
3577 "delimiterType": { 3759 "delimiterType": {
3578 "description": "The delimiter type to use.", 3760 "description": "The delimiter type to use.",
(...skipping 15 matching lines...) Expand all
3594 ], 3776 ],
3595 "type": "string" 3777 "type": "string"
3596 }, 3778 },
3597 "source": { 3779 "source": {
3598 "$ref": "GridRange", 3780 "$ref": "GridRange",
3599 "description": "The source data range. This must span exact ly one column." 3781 "description": "The source data range. This must span exact ly one column."
3600 } 3782 }
3601 }, 3783 },
3602 "type": "object" 3784 "type": "object"
3603 }, 3785 },
3604 "ClearBasicFilterRequest": {
3605 "description": "Clears the basic filter, if any exists on the sheet. ",
3606 "id": "ClearBasicFilterRequest",
3607 "properties": {
3608 "sheetId": {
3609 "description": "The sheet ID on which the basic filter shoul d be cleared.",
3610 "format": "int32",
3611 "type": "integer"
3612 }
3613 },
3614 "type": "object"
3615 },
3616 "DeleteBandingRequest": { 3786 "DeleteBandingRequest": {
3617 "description": "Removes the banded range with the given ID from the spreadsheet.", 3787 "description": "Removes the banded range with the given ID from the spreadsheet.",
3618 "id": "DeleteBandingRequest", 3788 "id": "DeleteBandingRequest",
3619 "properties": { 3789 "properties": {
3620 "bandedRangeId": { 3790 "bandedRangeId": {
3621 "description": "The ID of the banded range to delete.", 3791 "description": "The ID of the banded range to delete.",
3622 "format": "int32", 3792 "format": "int32",
3623 "type": "integer" 3793 "type": "integer"
3624 } 3794 }
3625 }, 3795 },
(...skipping 18 matching lines...) Expand all
3644 "description": "The spreadsheet the updates were applied to. ", 3814 "description": "The spreadsheet the updates were applied to. ",
3645 "type": "string" 3815 "type": "string"
3646 } 3816 }
3647 }, 3817 },
3648 "type": "object" 3818 "type": "object"
3649 }, 3819 },
3650 "AppendValuesResponse": { 3820 "AppendValuesResponse": {
3651 "description": "The response when updating a range of values in a sp readsheet.", 3821 "description": "The response when updating a range of values in a sp readsheet.",
3652 "id": "AppendValuesResponse", 3822 "id": "AppendValuesResponse",
3653 "properties": { 3823 "properties": {
3654 "updates": {
3655 "$ref": "UpdateValuesResponse",
3656 "description": "Information about the updates that were appl ied."
3657 },
3658 "tableRange": { 3824 "tableRange": {
3659 "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.", 3825 "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.",
3660 "type": "string" 3826 "type": "string"
3661 }, 3827 },
3662 "spreadsheetId": { 3828 "spreadsheetId": {
3663 "description": "The spreadsheet the updates were applied to. ", 3829 "description": "The spreadsheet the updates were applied to. ",
3664 "type": "string" 3830 "type": "string"
3831 },
3832 "updates": {
3833 "$ref": "UpdateValuesResponse",
3834 "description": "Information about the updates that were appl ied."
3665 } 3835 }
3666 }, 3836 },
3667 "type": "object" 3837 "type": "object"
3668 }, 3838 },
3669 "AddFilterViewRequest": { 3839 "AddFilterViewRequest": {
3670 "description": "Adds a filter view.", 3840 "description": "Adds a filter view.",
3671 "id": "AddFilterViewRequest", 3841 "id": "AddFilterViewRequest",
3672 "properties": { 3842 "properties": {
3673 "filter": { 3843 "filter": {
3674 "$ref": "FilterView", 3844 "$ref": "FilterView",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
3720 "format": "int32", 3890 "format": "int32",
3721 "type": "integer" 3891 "type": "integer"
3722 } 3892 }
3723 }, 3893 },
3724 "type": "object" 3894 "type": "object"
3725 }, 3895 },
3726 "ChartSpec": { 3896 "ChartSpec": {
3727 "description": "The specifications of a chart.", 3897 "description": "The specifications of a chart.",
3728 "id": "ChartSpec", 3898 "id": "ChartSpec",
3729 "properties": { 3899 "properties": {
3900 "hiddenDimensionStrategy": {
3901 "description": "Determines how the charts will use hidden ro ws or columns.",
3902 "enum": [
3903 "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED",
3904 "SKIP_HIDDEN_ROWS_AND_COLUMNS",
3905 "SKIP_HIDDEN_ROWS",
3906 "SKIP_HIDDEN_COLUMNS",
3907 "SHOW_ALL"
3908 ],
3909 "enumDescriptions": [
3910 "Default value, do not use.",
3911 "Charts will skip hidden rows and columns.",
3912 "Charts will skip hidden rows only.",
3913 "Charts will skip hidden columns only.",
3914 "Charts will not skip any hidden rows or columns."
3915 ],
3916 "type": "string"
3917 },
3730 "backgroundColor": { 3918 "backgroundColor": {
3731 "$ref": "Color", 3919 "$ref": "Color",
3732 "description": "The background color of the entire chart.\nN ot applicable to Org charts." 3920 "description": "The background color of the entire chart.\nN ot applicable to Org charts."
3733 }, 3921 },
3734 "basicChart": { 3922 "basicChart": {
3735 "$ref": "BasicChartSpec", 3923 "$ref": "BasicChartSpec",
3736 "description": "A basic chart specification, can be one of m any kinds of charts.\nSee BasicChartType for the list of all\ncharts this suppor ts." 3924 "description": "A basic chart specification, can be one of m any kinds of charts.\nSee BasicChartType for the list of all\ncharts this suppor ts."
3737 }, 3925 },
3738 "orgChart": { 3926 "orgChart": {
3739 "$ref": "OrgChartSpec", 3927 "$ref": "OrgChartSpec",
(...skipping 27 matching lines...) Expand all
3767 "$ref": "BubbleChartSpec", 3955 "$ref": "BubbleChartSpec",
3768 "description": "A bubble chart specification." 3956 "description": "A bubble chart specification."
3769 }, 3957 },
3770 "fontName": { 3958 "fontName": {
3771 "description": "The name of the font to use by default for a ll chart text (e.g. title,\naxis labels, legend). If a font is specified for a specific part of the\nchart it will override this font name.", 3959 "description": "The name of the font to use by default for a ll chart text (e.g. title,\naxis labels, legend). If a font is specified for a specific part of the\nchart it will override this font name.",
3772 "type": "string" 3960 "type": "string"
3773 }, 3961 },
3774 "maximized": { 3962 "maximized": {
3775 "description": "True to make a chart fill the entire space i n which it's rendered with\nminimum padding. False to use the default padding.\ n(Not applicable to Geo and Org charts.)", 3963 "description": "True to make a chart fill the entire space i n which it's rendered with\nminimum padding. False to use the default padding.\ n(Not applicable to Geo and Org charts.)",
3776 "type": "boolean" 3964 "type": "boolean"
3777 },
3778 "hiddenDimensionStrategy": {
3779 "description": "Determines how the charts will use hidden ro ws or columns.",
3780 "enum": [
3781 "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED",
3782 "SKIP_HIDDEN_ROWS_AND_COLUMNS",
3783 "SKIP_HIDDEN_ROWS",
3784 "SKIP_HIDDEN_COLUMNS",
3785 "SHOW_ALL"
3786 ],
3787 "enumDescriptions": [
3788 "Default value, do not use.",
3789 "Charts will skip hidden rows and columns.",
3790 "Charts will skip hidden rows only.",
3791 "Charts will skip hidden columns only.",
3792 "Charts will not skip any hidden rows or columns."
3793 ],
3794 "type": "string"
3795 } 3965 }
3796 }, 3966 },
3797 "type": "object" 3967 "type": "object"
3798 }, 3968 },
3799 "NumberFormat": { 3969 "NumberFormat": {
3800 "description": "The number format of a cell.", 3970 "description": "The number format of a cell.",
3801 "id": "NumberFormat", 3971 "id": "NumberFormat",
3802 "properties": { 3972 "properties": {
3973 "pattern": {
3974 "description": "Pattern string used for formatting. If not set, a default pattern based on\nthe user's locale will be used if necessary for the given type.\nSee the [Date and Number Formats guide](/sheets/api/guides/for mats) for more\ninformation about the supported patterns.",
3975 "type": "string"
3976 },
3803 "type": { 3977 "type": {
3804 "description": "The type of the number format.\nWhen writing , this field must be set.", 3978 "description": "The type of the number format.\nWhen writing , this field must be set.",
3805 "enum": [ 3979 "enum": [
3806 "NUMBER_FORMAT_TYPE_UNSPECIFIED", 3980 "NUMBER_FORMAT_TYPE_UNSPECIFIED",
3807 "TEXT", 3981 "TEXT",
3808 "NUMBER", 3982 "NUMBER",
3809 "PERCENT", 3983 "PERCENT",
3810 "CURRENCY", 3984 "CURRENCY",
3811 "DATE", 3985 "DATE",
3812 "TIME", 3986 "TIME",
3813 "DATE_TIME", 3987 "DATE_TIME",
3814 "SCIENTIFIC" 3988 "SCIENTIFIC"
3815 ], 3989 ],
3816 "enumDescriptions": [ 3990 "enumDescriptions": [
3817 "The number format is not specified\nand is based on the contents of the cell.\nDo not explicitly use this.", 3991 "The number format is not specified\nand is based on the contents of the cell.\nDo not explicitly use this.",
3818 "Text formatting, e.g `1000.12`", 3992 "Text formatting, e.g `1000.12`",
3819 "Number formatting, e.g, `1,000.12`", 3993 "Number formatting, e.g, `1,000.12`",
3820 "Percent formatting, e.g `10.12%`", 3994 "Percent formatting, e.g `10.12%`",
3821 "Currency formatting, e.g `$1,000.12`", 3995 "Currency formatting, e.g `$1,000.12`",
3822 "Date formatting, e.g `9/26/2008`", 3996 "Date formatting, e.g `9/26/2008`",
3823 "Time formatting, e.g `3:59:00 PM`", 3997 "Time formatting, e.g `3:59:00 PM`",
3824 "Date+Time formatting, e.g `9/26/08 15:59:00`", 3998 "Date+Time formatting, e.g `9/26/08 15:59:00`",
3825 "Scientific number formatting, e.g `1.01E+03`" 3999 "Scientific number formatting, e.g `1.01E+03`"
3826 ], 4000 ],
3827 "type": "string" 4001 "type": "string"
3828 },
3829 "pattern": {
3830 "description": "Pattern string used for formatting. If not set, a default pattern based on\nthe user's locale will be used if necessary for the given type.\nSee the [Date and Number Formats guide](/sheets/api/guides/for mats) for more\ninformation about the supported patterns.",
3831 "type": "string"
3832 } 4002 }
3833 }, 4003 },
3834 "type": "object" 4004 "type": "object"
3835 }, 4005 },
3836 "CandlestickDomain": { 4006 "CandlestickDomain": {
3837 "description": "The domain of a CandlestickChart.", 4007 "description": "The domain of a CandlestickChart.",
3838 "id": "CandlestickDomain", 4008 "id": "CandlestickDomain",
3839 "properties": { 4009 "properties": {
4010 "data": {
4011 "$ref": "ChartData",
4012 "description": "The data of the CandlestickDomain."
4013 },
3840 "reversed": { 4014 "reversed": {
3841 "description": "True to reverse the order of the domain valu es (horizontal axis).", 4015 "description": "True to reverse the order of the domain valu es (horizontal axis).",
3842 "type": "boolean" 4016 "type": "boolean"
3843 },
3844 "data": {
3845 "$ref": "ChartData",
3846 "description": "The data of the CandlestickDomain."
3847 } 4017 }
3848 }, 4018 },
3849 "type": "object" 4019 "type": "object"
3850 }, 4020 },
3851 "SheetProperties": { 4021 "SheetProperties": {
3852 "description": "Properties of a sheet.", 4022 "description": "Properties of a sheet.",
3853 "id": "SheetProperties", 4023 "id": "SheetProperties",
3854 "properties": { 4024 "properties": {
3855 "title": { 4025 "title": {
3856 "description": "The name of the sheet.", 4026 "description": "The name of the sheet.",
(...skipping 14 matching lines...) Expand all
3871 "type": "integer" 4041 "type": "integer"
3872 }, 4042 },
3873 "rightToLeft": { 4043 "rightToLeft": {
3874 "description": "True if the sheet is an RTL sheet instead of an LTR sheet.", 4044 "description": "True if the sheet is an RTL sheet instead of an LTR sheet.",
3875 "type": "boolean" 4045 "type": "boolean"
3876 }, 4046 },
3877 "hidden": { 4047 "hidden": {
3878 "description": "True if the sheet is hidden in the UI, false if it's visible.", 4048 "description": "True if the sheet is hidden in the UI, false if it's visible.",
3879 "type": "boolean" 4049 "type": "boolean"
3880 }, 4050 },
3881 "gridProperties": {
3882 "$ref": "GridProperties",
3883 "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."
3884 },
3885 "sheetType": { 4051 "sheetType": {
3886 "description": "The type of sheet. Defaults to GRID.\nThis f ield cannot be changed once set.", 4052 "description": "The type of sheet. Defaults to GRID.\nThis f ield cannot be changed once set.",
3887 "enum": [ 4053 "enum": [
3888 "SHEET_TYPE_UNSPECIFIED", 4054 "SHEET_TYPE_UNSPECIFIED",
3889 "GRID", 4055 "GRID",
3890 "OBJECT" 4056 "OBJECT"
3891 ], 4057 ],
3892 "enumDescriptions": [ 4058 "enumDescriptions": [
3893 "Default value, do not use.", 4059 "Default value, do not use.",
3894 "The sheet is a grid.", 4060 "The sheet is a grid.",
3895 "The sheet has no grid and instead has an object like a chart or image." 4061 "The sheet has no grid and instead has an object like a chart or image."
3896 ], 4062 ],
3897 "type": "string" 4063 "type": "string"
4064 },
4065 "gridProperties": {
4066 "$ref": "GridProperties",
4067 "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."
3898 } 4068 }
3899 }, 4069 },
3900 "type": "object" 4070 "type": "object"
3901 }, 4071 },
3902 "UpdateDimensionPropertiesRequest": { 4072 "UpdateDimensionPropertiesRequest": {
3903 "description": "Updates properties of dimensions within the specifie d range.", 4073 "description": "Updates properties of dimensions within the specifie d range.",
3904 "id": "UpdateDimensionPropertiesRequest", 4074 "id": "UpdateDimensionPropertiesRequest",
3905 "properties": { 4075 "properties": {
3906 "range": { 4076 "range": {
3907 "$ref": "DimensionRange", 4077 "$ref": "DimensionRange",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
3989 "$ref": "Color", 4159 "$ref": "Color",
3990 "description": "The color of the org chart nodes." 4160 "description": "The color of the org chart nodes."
3991 } 4161 }
3992 }, 4162 },
3993 "type": "object" 4163 "type": "object"
3994 }, 4164 },
3995 "FilterView": { 4165 "FilterView": {
3996 "description": "A filter view.", 4166 "description": "A filter view.",
3997 "id": "FilterView", 4167 "id": "FilterView",
3998 "properties": { 4168 "properties": {
4169 "namedRangeId": {
4170 "description": "The named range this filter view is backed b y, if any.\n\nWhen writing, only one of range or named_range_id\nmay be set.",
4171 "type": "string"
4172 },
4173 "filterViewId": {
4174 "description": "The ID of the filter view.",
4175 "format": "int32",
4176 "type": "integer"
4177 },
4178 "range": {
4179 "$ref": "GridRange",
4180 "description": "The range this filter view covers.\n\nWhen w riting, only one of range or named_range_id\nmay be set."
4181 },
3999 "criteria": { 4182 "criteria": {
4000 "additionalProperties": { 4183 "additionalProperties": {
4001 "$ref": "FilterCriteria" 4184 "$ref": "FilterCriteria"
4002 }, 4185 },
4003 "description": "The criteria for showing/hiding values per c olumn.\nThe map's key is the column index, and the value is the criteria for\nth at column.", 4186 "description": "The criteria for showing/hiding values per c olumn.\nThe map's key is the column index, and the value is the criteria for\nth at column.",
4004 "type": "object" 4187 "type": "object"
4005 }, 4188 },
4006 "title": { 4189 "title": {
4007 "description": "The name of the filter view.", 4190 "description": "The name of the filter view.",
4008 "type": "string" 4191 "type": "string"
4009 }, 4192 },
4010 "range": {
4011 "$ref": "GridRange",
4012 "description": "The range this filter view covers.\n\nWhen w riting, only one of range or named_range_id\nmay be set."
4013 },
4014 "sortSpecs": { 4193 "sortSpecs": {
4015 "description": "The sort order per column. Later specificati ons are used when values\nare equal in the earlier specifications.", 4194 "description": "The sort order per column. Later specificati ons are used when values\nare equal in the earlier specifications.",
4016 "items": { 4195 "items": {
4017 "$ref": "SortSpec" 4196 "$ref": "SortSpec"
4018 }, 4197 },
4019 "type": "array" 4198 "type": "array"
4020 },
4021 "namedRangeId": {
4022 "description": "The named range this filter view is backed b y, if any.\n\nWhen writing, only one of range or named_range_id\nmay be set.",
4023 "type": "string"
4024 },
4025 "filterViewId": {
4026 "description": "The ID of the filter view.",
4027 "format": "int32",
4028 "type": "integer"
4029 } 4199 }
4030 }, 4200 },
4031 "type": "object" 4201 "type": "object"
4032 }, 4202 },
4033 "BandingProperties": { 4203 "BandingProperties": {
4034 "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.", 4204 "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.",
4035 "id": "BandingProperties", 4205 "id": "BandingProperties",
4036 "properties": { 4206 "properties": {
4037 "footerColor": {
4038 "$ref": "Color",
4039 "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."
4040 },
4041 "headerColor": {
4042 "$ref": "Color",
4043 "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."
4044 },
4045 "firstBandColor": { 4207 "firstBandColor": {
4046 "$ref": "Color", 4208 "$ref": "Color",
4047 "description": "The first color that is alternating. (Requir ed)" 4209 "description": "The first color that is alternating. (Requir ed)"
4048 }, 4210 },
4049 "secondBandColor": { 4211 "secondBandColor": {
4050 "$ref": "Color", 4212 "$ref": "Color",
4051 "description": "The second color that is alternating. (Requi red)" 4213 "description": "The second color that is alternating. (Requi red)"
4214 },
4215 "footerColor": {
4216 "$ref": "Color",
4217 "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."
4218 },
4219 "headerColor": {
4220 "$ref": "Color",
4221 "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."
4052 } 4222 }
4053 }, 4223 },
4054 "type": "object" 4224 "type": "object"
4055 }, 4225 },
4056 "CandlestickSeries": { 4226 "CandlestickSeries": {
4057 "description": "The series of a CandlestickData.", 4227 "description": "The series of a CandlestickData.",
4058 "id": "CandlestickSeries", 4228 "id": "CandlestickSeries",
4059 "properties": { 4229 "properties": {
4060 "data": { 4230 "data": {
4061 "$ref": "ChartData", 4231 "$ref": "ChartData",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
4097 "$ref": "ProtectedRange", 4267 "$ref": "ProtectedRange",
4098 "description": "The newly added protected range." 4268 "description": "The newly added protected range."
4099 } 4269 }
4100 }, 4270 },
4101 "type": "object" 4271 "type": "object"
4102 }, 4272 },
4103 "HistogramChartSpec": { 4273 "HistogramChartSpec": {
4104 "description": "A <a href=\"/chart/interactive/docs/gallery/histogra m\">histogram chart</a>.\nA histogram chart groups data items into bins, display ing each bin as a\ncolumn of stacked items. Histograms are used to display the distribution\nof a dataset. Each column of items represents a range into which those\nitems fall. The number of bins can be chosen automatically or specified\ nexplicitly.", 4274 "description": "A <a href=\"/chart/interactive/docs/gallery/histogra m\">histogram chart</a>.\nA histogram chart groups data items into bins, display ing each bin as a\ncolumn of stacked items. Histograms are used to display the distribution\nof a dataset. Each column of items represents a range into which those\nitems fall. The number of bins can be chosen automatically or specified\ nexplicitly.",
4105 "id": "HistogramChartSpec", 4275 "id": "HistogramChartSpec",
4106 "properties": { 4276 "properties": {
4107 "outlierPercentile": {
4108 "description": "The outlier percentile is used to ensure tha t outliers do not adversely\naffect the calculation of bucket sizes. For exampl e, setting an outlier\npercentile of 0.05 indicates that the top and bottom 5% o f values when\ncalculating buckets. The values are still included in the chart, they will\nbe added to the first or last buckets instead of their own buckets.\ nMust be between 0.0 and 0.5.",
4109 "format": "double",
4110 "type": "number"
4111 },
4112 "showItemDividers": {
4113 "description": "Whether horizontal divider lines should be d isplayed between items in each\ncolumn.",
4114 "type": "boolean"
4115 },
4116 "series": { 4277 "series": {
4117 "description": "The series for a histogram may be either a s ingle series of values to be\nbucketed or multiple series, each of the same leng th, containing the name\nof the series followed by the values to be bucketed for that series.", 4278 "description": "The series for a histogram may be either a s ingle series of values to be\nbucketed or multiple series, each of the same leng th, containing the name\nof the series followed by the values to be bucketed for that series.",
4118 "items": { 4279 "items": {
4119 "$ref": "HistogramSeries" 4280 "$ref": "HistogramSeries"
4120 }, 4281 },
4121 "type": "array" 4282 "type": "array"
4122 }, 4283 },
4123 "legendPosition": { 4284 "legendPosition": {
4124 "description": "The position of the chart legend.", 4285 "description": "The position of the chart legend.",
4125 "enum": [ 4286 "enum": [
(...skipping 13 matching lines...) Expand all
4139 "The legend is rendered on the top of the chart.", 4300 "The legend is rendered on the top of the chart.",
4140 "No legend is rendered.", 4301 "No legend is rendered.",
4141 "The legend is rendered inside the chart area." 4302 "The legend is rendered inside the chart area."
4142 ], 4303 ],
4143 "type": "string" 4304 "type": "string"
4144 }, 4305 },
4145 "bucketSize": { 4306 "bucketSize": {
4146 "description": "By default the bucket size (the range of val ues stacked in a single\ncolumn) is chosen automatically, but it may be overridd en here.\nE.g., A bucket size of 1.5 results in buckets from 0 - 1.5, 1.5 - 3.0, etc.\nCannot be negative.\nThis field is optional.", 4307 "description": "By default the bucket size (the range of val ues stacked in a single\ncolumn) is chosen automatically, but it may be overridd en here.\nE.g., A bucket size of 1.5 results in buckets from 0 - 1.5, 1.5 - 3.0, etc.\nCannot be negative.\nThis field is optional.",
4147 "format": "double", 4308 "format": "double",
4148 "type": "number" 4309 "type": "number"
4310 },
4311 "outlierPercentile": {
4312 "description": "The outlier percentile is used to ensure tha t outliers do not adversely\naffect the calculation of bucket sizes. For exampl e, setting an outlier\npercentile of 0.05 indicates that the top and bottom 5% o f values when\ncalculating buckets. The values are still included in the chart, they will\nbe added to the first or last buckets instead of their own buckets.\ nMust be between 0.0 and 0.5.",
4313 "format": "double",
4314 "type": "number"
4315 },
4316 "showItemDividers": {
4317 "description": "Whether horizontal divider lines should be d isplayed between items in each\ncolumn.",
4318 "type": "boolean"
4149 } 4319 }
4150 }, 4320 },
4151 "type": "object" 4321 "type": "object"
4152 }, 4322 },
4153 "UpdateValuesResponse": { 4323 "UpdateValuesResponse": {
4154 "description": "The response when updating a range of values in a sp readsheet.", 4324 "description": "The response when updating a range of values in a sp readsheet.",
4155 "id": "UpdateValuesResponse", 4325 "id": "UpdateValuesResponse",
4156 "properties": { 4326 "properties": {
4157 "updatedColumns": {
4158 "description": "The number of columns where at least one cel l in the column was updated.",
4159 "format": "int32",
4160 "type": "integer"
4161 },
4162 "spreadsheetId": { 4327 "spreadsheetId": {
4163 "description": "The spreadsheet the updates were applied to. ", 4328 "description": "The spreadsheet the updates were applied to. ",
4164 "type": "string" 4329 "type": "string"
4165 }, 4330 },
4166 "updatedRange": { 4331 "updatedRange": {
4167 "description": "The range (in A1 notation) that updates were applied to.", 4332 "description": "The range (in A1 notation) that updates were applied to.",
4168 "type": "string" 4333 "type": "string"
4169 }, 4334 },
4170 "updatedCells": { 4335 "updatedCells": {
4171 "description": "The number of cells updated.", 4336 "description": "The number of cells updated.",
4172 "format": "int32", 4337 "format": "int32",
4173 "type": "integer" 4338 "type": "integer"
4174 }, 4339 },
4175 "updatedRows": { 4340 "updatedRows": {
4176 "description": "The number of rows where at least one cell i n the row was updated.", 4341 "description": "The number of rows where at least one cell i n the row was updated.",
4177 "format": "int32", 4342 "format": "int32",
4178 "type": "integer" 4343 "type": "integer"
4179 }, 4344 },
4180 "updatedData": { 4345 "updatedData": {
4181 "$ref": "ValueRange", 4346 "$ref": "ValueRange",
4182 "description": "The values of the cells after updates were a pplied.\nThis is only included if the request's `includeValuesInResponse` field\ nwas `true`." 4347 "description": "The values of the cells after updates were a pplied.\nThis is only included if the request's `includeValuesInResponse` field\ nwas `true`."
4348 },
4349 "updatedColumns": {
4350 "description": "The number of columns where at least one cel l in the column was updated.",
4351 "format": "int32",
4352 "type": "integer"
4183 } 4353 }
4184 }, 4354 },
4185 "type": "object" 4355 "type": "object"
4356 },
4357 "ErrorValue": {
4358 "description": "An error in a cell.",
4359 "id": "ErrorValue",
4360 "properties": {
4361 "message": {
4362 "description": "A message with more information about the er ror\n(in the spreadsheet's locale).",
4363 "type": "string"
4364 },
4365 "type": {
4366 "description": "The type of error.",
4367 "enum": [
4368 "ERROR_TYPE_UNSPECIFIED",
4369 "ERROR",
4370 "NULL_VALUE",
4371 "DIVIDE_BY_ZERO",
4372 "VALUE",
4373 "REF",
4374 "NAME",
4375 "NUM",
4376 "N_A",
4377 "LOADING"
4378 ],
4379 "enumDescriptions": [
4380 "The default error type, do not use this.",
4381 "Corresponds to the `#ERROR!` error.",
4382 "Corresponds to the `#NULL!` error.",
4383 "Corresponds to the `#DIV/0` error.",
4384 "Corresponds to the `#VALUE!` error.",
4385 "Corresponds to the `#REF!` error.",
4386 "Corresponds to the `#NAME?` error.",
4387 "Corresponds to the `#NUM`! error.",
4388 "Corresponds to the `#N/A` error.",
4389 "Corresponds to the `Loading...` state."
4390 ],
4391 "type": "string"
4392 }
4393 },
4394 "type": "object"
4186 }, 4395 },
4187 "PivotValue": { 4396 "PivotValue": {
4188 "description": "The definition of how a value in a pivot table shoul d be calculated.", 4397 "description": "The definition of how a value in a pivot table shoul d be calculated.",
4189 "id": "PivotValue", 4398 "id": "PivotValue",
4190 "properties": { 4399 "properties": {
4400 "formula": {
4401 "description": "A custom formula to calculate the value. Th e formula must start\nwith an `=` character.",
4402 "type": "string"
4403 },
4191 "summarizeFunction": { 4404 "summarizeFunction": {
4192 "description": "A function to summarize the value.\nIf formu la is set, the only supported values are\nSUM and\nCUSTOM.\nIf sourceColumnOffse t is set, then `CUSTOM`\nis not supported.", 4405 "description": "A function to summarize the value.\nIf formu la is set, the only supported values are\nSUM and\nCUSTOM.\nIf sourceColumnOffse t is set, then `CUSTOM`\nis not supported.",
4193 "enum": [ 4406 "enum": [
4194 "PIVOT_STANDARD_VALUE_FUNCTION_UNSPECIFIED", 4407 "PIVOT_STANDARD_VALUE_FUNCTION_UNSPECIFIED",
4195 "SUM", 4408 "SUM",
4196 "COUNTA", 4409 "COUNTA",
4197 "COUNT", 4410 "COUNT",
4198 "COUNTUNIQUE", 4411 "COUNTUNIQUE",
4199 "AVERAGE", 4412 "AVERAGE",
4200 "MAX", 4413 "MAX",
(...skipping 26 matching lines...) Expand all
4227 "type": "string" 4440 "type": "string"
4228 }, 4441 },
4229 "sourceColumnOffset": { 4442 "sourceColumnOffset": {
4230 "description": "The column offset of the source range that t his value reads from.\n\nFor example, if the source was `C10:E15`, a `sourceColu mnOffset` of `0`\nmeans this value refers to column `C`, whereas the offset `1` would\nrefer to column `D`.", 4443 "description": "The column offset of the source range that t his value reads from.\n\nFor example, if the source was `C10:E15`, a `sourceColu mnOffset` of `0`\nmeans this value refers to column `C`, whereas the offset `1` would\nrefer to column `D`.",
4231 "format": "int32", 4444 "format": "int32",
4232 "type": "integer" 4445 "type": "integer"
4233 }, 4446 },
4234 "name": { 4447 "name": {
4235 "description": "A name to use for the value. This is only us ed if formula was set.\nOtherwise, the column name is used.", 4448 "description": "A name to use for the value. This is only us ed if formula was set.\nOtherwise, the column name is used.",
4236 "type": "string" 4449 "type": "string"
4237 },
4238 "formula": {
4239 "description": "A custom formula to calculate the value. Th e formula must start\nwith an `=` character.",
4240 "type": "string"
4241 } 4450 }
4242 }, 4451 },
4243 "type": "object" 4452 "type": "object"
4244 },
4245 "ErrorValue": {
4246 "description": "An error in a cell.",
4247 "id": "ErrorValue",
4248 "properties": {
4249 "type": {
4250 "description": "The type of error.",
4251 "enum": [
4252 "ERROR_TYPE_UNSPECIFIED",
4253 "ERROR",
4254 "NULL_VALUE",
4255 "DIVIDE_BY_ZERO",
4256 "VALUE",
4257 "REF",
4258 "NAME",
4259 "NUM",
4260 "N_A",
4261 "LOADING"
4262 ],
4263 "enumDescriptions": [
4264 "The default error type, do not use this.",
4265 "Corresponds to the `#ERROR!` error.",
4266 "Corresponds to the `#NULL!` error.",
4267 "Corresponds to the `#DIV/0` error.",
4268 "Corresponds to the `#VALUE!` error.",
4269 "Corresponds to the `#REF!` error.",
4270 "Corresponds to the `#NAME?` error.",
4271 "Corresponds to the `#NUM`! error.",
4272 "Corresponds to the `#N/A` error.",
4273 "Corresponds to the `Loading...` state."
4274 ],
4275 "type": "string"
4276 },
4277 "message": {
4278 "description": "A message with more information about the er ror\n(in the spreadsheet's locale).",
4279 "type": "string"
4280 }
4281 },
4282 "type": "object"
4283 }, 4453 },
4284 "CopySheetToAnotherSpreadsheetRequest": { 4454 "CopySheetToAnotherSpreadsheetRequest": {
4285 "description": "The request to copy a sheet across spreadsheets.", 4455 "description": "The request to copy a sheet across spreadsheets.",
4286 "id": "CopySheetToAnotherSpreadsheetRequest", 4456 "id": "CopySheetToAnotherSpreadsheetRequest",
4287 "properties": { 4457 "properties": {
4288 "destinationSpreadsheetId": { 4458 "destinationSpreadsheetId": {
4289 "description": "The ID of the spreadsheet to copy the sheet to.", 4459 "description": "The ID of the spreadsheet to copy the sheet to.",
4290 "type": "string" 4460 "type": "string"
4291 } 4461 }
4292 }, 4462 },
4293 "type": "object" 4463 "type": "object"
4294 }, 4464 },
4295 "PivotGroupSortValueBucket": { 4465 "PivotGroupSortValueBucket": {
4296 "description": "Information about which values in a pivot group shou ld be used for sorting.", 4466 "description": "Information about which values in a pivot group shou ld be used for sorting.",
4297 "id": "PivotGroupSortValueBucket", 4467 "id": "PivotGroupSortValueBucket",
4298 "properties": { 4468 "properties": {
4469 "valuesIndex": {
4470 "description": "The offset in the PivotTable.values list whi ch the values in this\ngrouping should be sorted by.",
4471 "format": "int32",
4472 "type": "integer"
4473 },
4299 "buckets": { 4474 "buckets": {
4300 "description": "Determines the bucket from which values are chosen to sort.\n\nFor example, in a pivot table with one row group & two column groups,\nthe row group can list up to two values. The first value corresponds\n to a value within the first column group, and the second value\ncorresponds to a value in the second column group. If no values\nare listed, this would indicat e that the row should be sorted according\nto the \"Grand Total\" over the colum n groups. If a single value is listed,\nthis would correspond to using the \"Tot al\" of that bucket.", 4475 "description": "Determines the bucket from which values are chosen to sort.\n\nFor example, in a pivot table with one row group & two column groups,\nthe row group can list up to two values. The first value corresponds\n to a value within the first column group, and the second value\ncorresponds to a value in the second column group. If no values\nare listed, this would indicat e that the row should be sorted according\nto the \"Grand Total\" over the colum n groups. If a single value is listed,\nthis would correspond to using the \"Tot al\" of that bucket.",
4301 "items": { 4476 "items": {
4302 "$ref": "ExtendedValue" 4477 "$ref": "ExtendedValue"
4303 }, 4478 },
4304 "type": "array" 4479 "type": "array"
4305 },
4306 "valuesIndex": {
4307 "description": "The offset in the PivotTable.values list whi ch the values in this\ngrouping should be sorted by.",
4308 "format": "int32",
4309 "type": "integer"
4310 } 4480 }
4311 }, 4481 },
4312 "type": "object" 4482 "type": "object"
4313 }, 4483 },
4314 "CandlestickChartSpec": { 4484 "CandlestickChartSpec": {
4315 "description": "A <a href=\"/chart/interactive/docs/gallery/candlest ickchart\">candlestick chart</a>.", 4485 "description": "A <a href=\"/chart/interactive/docs/gallery/candlest ickchart\">candlestick chart</a>.",
4316 "id": "CandlestickChartSpec", 4486 "id": "CandlestickChartSpec",
4317 "properties": { 4487 "properties": {
4318 "data": { 4488 "data": {
4319 "description": "The Candlestick chart data.\nOnly one Candle stickData is supported.", 4489 "description": "The Candlestick chart data.\nOnly one Candle stickData is supported.",
4320 "items": { 4490 "items": {
4321 "$ref": "CandlestickData" 4491 "$ref": "CandlestickData"
4322 }, 4492 },
4323 "type": "array" 4493 "type": "array"
4324 }, 4494 },
4325 "domain": { 4495 "domain": {
4326 "$ref": "CandlestickDomain", 4496 "$ref": "CandlestickDomain",
4327 "description": "The domain data (horizontal axis) for the ca ndlestick chart. String data\nwill be treated as discrete labels, other data wi ll be treated as\ncontinuous values." 4497 "description": "The domain data (horizontal axis) for the ca ndlestick chart. String data\nwill be treated as discrete labels, other data wi ll be treated as\ncontinuous values."
4328 } 4498 }
4329 }, 4499 },
4330 "type": "object" 4500 "type": "object"
4331 }, 4501 },
4332 "CandlestickData": { 4502 "CandlestickData": {
4333 "description": "The Candlestick chart data, each containing the low, open, close, and high\nvalues for a series.", 4503 "description": "The Candlestick chart data, each containing the low, open, close, and high\nvalues for a series.",
4334 "id": "CandlestickData", 4504 "id": "CandlestickData",
4335 "properties": { 4505 "properties": {
4336 "closeSeries": {
4337 "$ref": "CandlestickSeries",
4338 "description": "The range data (vertical axis) for the close /final value for each candle.\nThis is the top of the candle body. If greater t han the open value the\ncandle will be filled. Otherwise the candle will be hol low."
4339 },
4340 "lowSeries": {
4341 "$ref": "CandlestickSeries",
4342 "description": "The range data (vertical axis) for the low/m inimum value for each candle.\nThis is the bottom of the candle's center line."
4343 },
4344 "openSeries": { 4506 "openSeries": {
4345 "$ref": "CandlestickSeries", 4507 "$ref": "CandlestickSeries",
4346 "description": "The range data (vertical axis) for the open/ initial value for each\ncandle. This is the bottom of the candle body. If less than the close\nvalue the candle will be filled. Otherwise the candle will be h ollow." 4508 "description": "The range data (vertical axis) for the open/ initial value for each\ncandle. This is the bottom of the candle body. If less than the close\nvalue the candle will be filled. Otherwise the candle will be h ollow."
4347 }, 4509 },
4348 "highSeries": { 4510 "highSeries": {
4349 "$ref": "CandlestickSeries", 4511 "$ref": "CandlestickSeries",
4350 "description": "The range data (vertical axis) for the high/ maximum value for each\ncandle. This is the top of the candle's center line." 4512 "description": "The range data (vertical axis) for the high/ maximum value for each\ncandle. This is the top of the candle's center line."
4513 },
4514 "closeSeries": {
4515 "$ref": "CandlestickSeries",
4516 "description": "The range data (vertical axis) for the close /final value for each candle.\nThis is the top of the candle body. If greater t han the open value the\ncandle will be filled. Otherwise the candle will be hol low."
4517 },
4518 "lowSeries": {
4519 "$ref": "CandlestickSeries",
4520 "description": "The range data (vertical axis) for the low/m inimum value for each candle.\nThis is the bottom of the candle's center line."
4351 } 4521 }
4352 }, 4522 },
4353 "type": "object" 4523 "type": "object"
4354 }, 4524 },
4355 "EmbeddedObjectPosition": { 4525 "EmbeddedObjectPosition": {
4356 "description": "The position of an embedded object such as a chart." , 4526 "description": "The position of an embedded object such as a chart." ,
4357 "id": "EmbeddedObjectPosition", 4527 "id": "EmbeddedObjectPosition",
4358 "properties": { 4528 "properties": {
4359 "newSheet": { 4529 "newSheet": {
4360 "description": "If true, the embedded object will be put on a new sheet whose ID\nis chosen for you. Used only when writing.", 4530 "description": "If true, the embedded object will be put on a new sheet whose ID\nis chosen for you. Used only when writing.",
4361 "type": "boolean" 4531 "type": "boolean"
4362 }, 4532 },
4363 "overlayPosition": { 4533 "overlayPosition": {
4364 "$ref": "OverlayPosition", 4534 "$ref": "OverlayPosition",
4365 "description": "The position at which the object is overlaid on top of a grid." 4535 "description": "The position at which the object is overlaid on top of a grid."
4366 }, 4536 },
4367 "sheetId": { 4537 "sheetId": {
4368 "description": "The sheet this is on. Set only if the embedd ed object\nis on its own sheet. Must be non-negative.", 4538 "description": "The sheet this is on. Set only if the embedd ed object\nis on its own sheet. Must be non-negative.",
4369 "format": "int32", 4539 "format": "int32",
4370 "type": "integer" 4540 "type": "integer"
4371 } 4541 }
4372 }, 4542 },
4373 "type": "object" 4543 "type": "object"
4374 },
4375 "DeleteProtectedRangeRequest": {
4376 "description": "Deletes the protected range with the given ID.",
4377 "id": "DeleteProtectedRangeRequest",
4378 "properties": {
4379 "protectedRangeId": {
4380 "description": "The ID of the protected range to delete.",
4381 "format": "int32",
4382 "type": "integer"
4383 }
4384 },
4385 "type": "object"
4386 },
4387 "AutoFillRequest": {
4388 "description": "Fills in more data based on existing data.",
4389 "id": "AutoFillRequest",
4390 "properties": {
4391 "useAlternateSeries": {
4392 "description": "True if we should generate data with the \"a lternate\" series.\nThis differs based on the type and amount of source data.",
4393 "type": "boolean"
4394 },
4395 "sourceAndDestination": {
4396 "$ref": "SourceAndDestination",
4397 "description": "The source and destination areas to autofill .\nThis explicitly lists the source of the autofill and where to\nextend that da ta."
4398 },
4399 "range": {
4400 "$ref": "GridRange",
4401 "description": "The range to autofill. This will examine the range and detect\nthe location that has data and automatically fill that data\n in to the rest of the range."
4402 }
4403 },
4404 "type": "object"
4405 },
4406 "GradientRule": {
4407 "description": "A rule that applies a gradient color scale format, b ased on\nthe interpolation points listed. The format of a cell will vary\nbased on its contents as compared to the values of the interpolation\npoints.",
4408 "id": "GradientRule",
4409 "properties": {
4410 "midpoint": {
4411 "$ref": "InterpolationPoint",
4412 "description": "An optional midway interpolation point."
4413 },
4414 "maxpoint": {
4415 "$ref": "InterpolationPoint",
4416 "description": "The final interpolation point."
4417 },
4418 "minpoint": {
4419 "$ref": "InterpolationPoint",
4420 "description": "The starting interpolation point."
4421 }
4422 },
4423 "type": "object"
4424 },
4425 "ClearValuesRequest": {
4426 "description": "The request for clearing a range of values in a spre adsheet.",
4427 "id": "ClearValuesRequest",
4428 "properties": {},
4429 "type": "object"
4430 },
4431 "SetBasicFilterRequest": {
4432 "description": "Sets the basic filter associated with a sheet.",
4433 "id": "SetBasicFilterRequest",
4434 "properties": {
4435 "filter": {
4436 "$ref": "BasicFilter",
4437 "description": "The filter to set."
4438 }
4439 },
4440 "type": "object"
4441 },
4442 "InterpolationPoint": {
4443 "description": "A single interpolation point on a gradient condition al format.\nThese pin the gradient color scale according to the color,\ntype and value chosen.",
4444 "id": "InterpolationPoint",
4445 "properties": {
4446 "type": {
4447 "description": "How the value should be interpreted.",
4448 "enum": [
4449 "INTERPOLATION_POINT_TYPE_UNSPECIFIED",
4450 "MIN",
4451 "MAX",
4452 "NUMBER",
4453 "PERCENT",
4454 "PERCENTILE"
4455 ],
4456 "enumDescriptions": [
4457 "The default value, do not use.",
4458 "The interpolation point will use the minimum value in t he\ncells over the range of the conditional format.",
4459 "The interpolation point will use the maximum value in t he\ncells over the range of the conditional format.",
4460 "The interpolation point will use exactly the value in\n InterpolationPoint.value.",
4461 "The interpolation point will be the given percentage ov er\nall the cells in the range of the conditional format.\nThis is equivalent to NUMBER if the value was:\n`=(MAX(FLATTEN(range)) * (value / 100))\n + (MIN(FLA TTEN(range)) * (1 - (value / 100)))`\n(where errors in the range are ignored whe n flattening).",
4462 "The interpolation point will be the given percentile\no ver all the cells in the range of the conditional format.\nThis is equivalent to NUMBER if the value was:\n`=PERCENTILE(FLATTEN(range), value / 100)`\n(where er rors in the range are ignored when flattening)."
4463 ],
4464 "type": "string"
4465 },
4466 "value": {
4467 "description": "The value this interpolation point uses. Ma y be a formula.\nUnused if type is MIN or\nMAX.",
4468 "type": "string"
4469 },
4470 "color": {
4471 "$ref": "Color",
4472 "description": "The color this interpolation point should us e."
4473 }
4474 },
4475 "type": "object"
4476 },
4477 "DeleteEmbeddedObjectRequest": {
4478 "description": "Deletes the embedded object with the given ID.",
4479 "id": "DeleteEmbeddedObjectRequest",
4480 "properties": {
4481 "objectId": {
4482 "description": "The ID of the embedded object to delete.",
4483 "format": "int32",
4484 "type": "integer"
4485 }
4486 },
4487 "type": "object"
4488 },
4489 "FindReplaceResponse": {
4490 "description": "The result of the find/replace.",
4491 "id": "FindReplaceResponse",
4492 "properties": {
4493 "valuesChanged": {
4494 "description": "The number of non-formula cells changed.",
4495 "format": "int32",
4496 "type": "integer"
4497 },
4498 "occurrencesChanged": {
4499 "description": "The number of occurrences (possibly multiple within a cell) changed.\nFor example, if replacing `\"e\"` with `\"o\"` in `\"G oogle Sheets\"`, this would\nbe `\"3\"` because `\"Google Sheets\"` -> `\"Googlo Shoots\"`.",
4500 "format": "int32",
4501 "type": "integer"
4502 },
4503 "rowsChanged": {
4504 "description": "The number of rows changed.",
4505 "format": "int32",
4506 "type": "integer"
4507 },
4508 "sheetsChanged": {
4509 "description": "The number of sheets changed.",
4510 "format": "int32",
4511 "type": "integer"
4512 },
4513 "formulasChanged": {
4514 "description": "The number of formula cells changed.",
4515 "format": "int32",
4516 "type": "integer"
4517 }
4518 },
4519 "type": "object"
4520 },
4521 "DeleteSheetRequest": {
4522 "description": "Deletes the requested sheet.",
4523 "id": "DeleteSheetRequest",
4524 "properties": {
4525 "sheetId": {
4526 "description": "The ID of the sheet to delete.",
4527 "format": "int32",
4528 "type": "integer"
4529 }
4530 },
4531 "type": "object"
4532 },
4533 "DuplicateFilterViewRequest": {
4534 "description": "Duplicates a particular filter view.",
4535 "id": "DuplicateFilterViewRequest",
4536 "properties": {
4537 "filterId": {
4538 "description": "The ID of the filter being duplicated.",
4539 "format": "int32",
4540 "type": "integer"
4541 }
4542 },
4543 "type": "object"
4544 } 4544 }
4545 }, 4545 },
4546 "servicePath": "", 4546 "servicePath": "",
4547 "title": "Google Sheets API", 4547 "title": "Google Sheets API",
4548 "version": "v4" 4548 "version": "v4"
4549 } 4549 }
OLDNEW
« no previous file with comments | « discovery/googleapis/serviceuser__v1.json ('k') | discovery/googleapis/siteVerification__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698