@@ -26,32 +26,22 @@
2626 "resources": {
2727 "values": {
2828 "methods": {
29− "update": {
30− "id": "sheets.spreadsheets.values.update",
29+ "clear": {
30+ "id": "sheets.spreadsheets.values.clear",
3131 "response": {
32− "$ref": "UpdateValuesResponse"
32+ "$ref": "ClearValuesResponse"
3333 },
3434 "parameterOrder": [
3535 "spreadsheetId",
3636 "range"
3737 ],
38− "description": "Sets values in a range of a spreadsheet.\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption.",
38+ "description": "Clears values from a spreadsheet.\nThe 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.",
3939 "request": {
40− "$ref": "ValueRange"
40+ "$ref": "ClearValuesRequest"
4141 },
42− "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}",
43− "httpMethod": "PUT",
42+ "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}:clear",
43+ "httpMethod": "POST",
4444 "parameters": {
45− "valueInputOption": {
46− "description": "How the input data should be interpreted.",
47− "enum": [
48− "INPUT_VALUE_OPTION_UNSPECIFIED",
49− "RAW",
50− "USER_ENTERED"
51− ],
52− "location": "query",
53− "type": "string"
54− },
5545 "spreadsheetId": {
5646 "description": "The ID of the spreadsheet to update.",
5747 "required": true,
@@ -59,29 +49,28 @@
5949 "type": "string"
6050 },
6151 "range": {
62− "description": "The A1 notation of the values to update.",
52+ "description": "The A1 notation of the values to clear.",
6353 "required": true,
6454 "location": "path",
6555 "type": "string"
6656 }
6757 },
68− "path": "v4/spreadsheets/{spreadsheetId}/values/{range}",
58+ "path": "v4/spreadsheets/{spreadsheetId}/values/{range}:clear",
6959 "scopes": [
7060 "https://www.googleapis.com/auth/drive",
7161 "https://www.googleapis.com/auth/spreadsheets"
7262 ]
7363 },
74− "get": {
75− "id": "sheets.spreadsheets.values.get",
64+ "batchGet": {
65+ "id": "sheets.spreadsheets.values.batchGet",
7666 "response": {
77− "$ref": "ValueRange"
67+ "$ref": "BatchGetValuesResponse"
7868 },
7969 "parameterOrder": [
80− "spreadsheetId",
81− "range"
70+ "spreadsheetId"
8271 ],
83− "description": "Returns a range of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and a range.",
84− "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}",
72+ "description": "Returns one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.",
73+ "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchGet",
8574 "httpMethod": "GET",
8675 "parameters": {
8776 "spreadsheetId": {
@@ -90,6 +79,12 @@
9079 "location": "path",
9180 "type": "string"
9281 },
82+ "ranges": {
83+ "description": "The A1 notation of the values to retrieve.",
84+ "repeated": true,
85+ "location": "query",
86+ "type": "string"
87+ },
9388 "valueRenderOption": {
9489 "description": "How values should be represented in the output.",
9590 "enum": [
@@ -109,12 +104,6 @@
109104 "location": "query",
110105 "type": "string"
111106 },
112− "range": {
113− "description": "The A1 notation of the values to retrieve.",
114− "required": true,
115− "location": "path",
116− "type": "string"
117− },
118107 "majorDimension": {
119108 "description": "The major dimension that results 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]]`.",
120109 "enum": [
@@ -126,7 +115,7 @@
126115 "type": "string"
127116 }
128117 },
129− "path": "v4/spreadsheets/{spreadsheetId}/values/{range}",
118+ "path": "v4/spreadsheets/{spreadsheetId}/values:batchGet",
130119 "scopes": [
131120 "https://www.googleapis.com/auth/drive",
132121 "https://www.googleapis.com/auth/drive.readonly",
@@ -134,16 +123,45 @@
134123 "https://www.googleapis.com/auth/spreadsheets.readonly"
135124 ]
136125 },
137− "batchGet": {
138− "id": "sheets.spreadsheets.values.batchGet",
126+ "batchUpdate": {
127+ "id": "sheets.spreadsheets.values.batchUpdate",
139128 "response": {
140− "$ref": "BatchGetValuesResponse"
129+ "$ref": "BatchUpdateValuesResponse"
141130 },
142131 "parameterOrder": [
143132 "spreadsheetId"
144133 ],
145− "description": "Returns one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.",
146− "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchGet",
134+ "description": "Sets values in one or more ranges of a spreadsheet.\nThe caller must specify the spreadsheet ID,\na valueInputOption, and one or more\nValueRanges.",
135+ "request": {
136+ "$ref": "BatchUpdateValuesRequest"
137+ },
138+ "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchUpdate",
139+ "httpMethod": "POST",
140+ "parameters": {
141+ "spreadsheetId": {
142+ "description": "The ID of the spreadsheet to update.",
143+ "required": true,
144+ "location": "path",
145+ "type": "string"
146+ }
147+ },
148+ "path": "v4/spreadsheets/{spreadsheetId}/values:batchUpdate",
149+ "scopes": [
150+ "https://www.googleapis.com/auth/drive",
151+ "https://www.googleapis.com/auth/spreadsheets"
152+ ]
153+ },
154+ "get": {
155+ "id": "sheets.spreadsheets.values.get",
156+ "response": {
157+ "$ref": "ValueRange"
158+ },
159+ "parameterOrder": [
160+ "spreadsheetId",
161+ "range"
162+ ],
163+ "description": "Returns a range of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and a range.",
164+ "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}",
147165 "httpMethod": "GET",
148166 "parameters": {
149167 "spreadsheetId": {
@@ -152,12 +170,6 @@
152170 "location": "path",
153171 "type": "string"
154172 },
155− "ranges": {
156− "description": "The A1 notation of the values to retrieve.",
157− "repeated": true,
158− "location": "query",
159− "type": "string"
160− },
161173 "valueRenderOption": {
162174 "description": "How values should be represented in the output.",
163175 "enum": [
@@ -177,6 +189,12 @@
177189 "location": "query",
178190 "type": "string"
179191 },
192+ "range": {
193+ "description": "The A1 notation of the values to retrieve.",
194+ "required": true,
195+ "location": "path",
196+ "type": "string"
197+ },
180198 "majorDimension": {
181199 "description": "The major dimension that results 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]]`.",
182200 "enum": [
@@ -188,7 +206,7 @@
188206 "type": "string"
189207 }
190208 },
191− "path": "v4/spreadsheets/{spreadsheetId}/values:batchGet",
209+ "path": "v4/spreadsheets/{spreadsheetId}/values/{range}",
192210 "scopes": [
193211 "https://www.googleapis.com/auth/drive",
194212 "https://www.googleapis.com/auth/drive.readonly",
@@ -196,19 +214,118 @@
196214 "https://www.googleapis.com/auth/spreadsheets.readonly"
197215 ]
198216 },
199− "batchUpdate": {
200− "id": "sheets.spreadsheets.values.batchUpdate",
217+ "append": {
218+ "id": "sheets.spreadsheets.values.append",
201219 "response": {
202− "$ref": "BatchUpdateValuesResponse"
220+ "$ref": "AppendValuesResponse"
221+ },
222+ "parameterOrder": [
223+ "spreadsheetId",
224+ "range"
225+ ],
226+ "description": "Appends values to a spreadsheet. The input range is used to search for\nexisting data and find a \"table\" within that range. Values will be\nappended to the next row of the table, starting with the first column of\nthe table. See the\n[guide](/sheets/guides/values#appending_values)\nand\n[sample code](/sheets/samples/writing#append_values)\nfor specific details of how tables are detected and data is appended.\n\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption. The `valueInputOption` only\ncontrols how the input data will be added to the sheet (column-wise or\nrow-wise), it does not influence what cell the data starts being written\nto.",
227+ "request": {
228+ "$ref": "ValueRange"
229+ },
230+ "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}:append",
231+ "httpMethod": "POST",
232+ "parameters": {
233+ "valueInputOption": {
234+ "description": "How the input data should be interpreted.",
235+ "enum": [
236+ "INPUT_VALUE_OPTION_UNSPECIFIED",
237+ "RAW",
238+ "USER_ENTERED"
239+ ],
240+ "location": "query",
241+ "type": "string"
242+ },
243+ "spreadsheetId": {
244+ "description": "The ID of the spreadsheet to update.",
245+ "required": true,
246+ "location": "path",
247+ "type": "string"
248+ },
249+ "insertDataOption": {
250+ "description": "How the input data should be inserted.",
251+ "enum": [
252+ "OVERWRITE",
253+ "INSERT_ROWS"
254+ ],
255+ "location": "query",
256+ "type": "string"
257+ },
258+ "range": {
259+ "description": "The A1 notation of a range to search for a logical table of data.\nValues will be appended after the last row of the table.",
260+ "required": true,
261+ "location": "path",
262+ "type": "string"
263+ }
264+ },
265+ "path": "v4/spreadsheets/{spreadsheetId}/values/{range}:append",
266+ "scopes": [
267+ "https://www.googleapis.com/auth/drive",
268+ "https://www.googleapis.com/auth/spreadsheets"
269+ ]
270+ },
271+ "update": {
272+ "id": "sheets.spreadsheets.values.update",
273+ "response": {
274+ "$ref": "UpdateValuesResponse"
275+ },
276+ "parameterOrder": [
277+ "spreadsheetId",
278+ "range"
279+ ],
280+ "description": "Sets values in a range of a spreadsheet.\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption.",
281+ "request": {
282+ "$ref": "ValueRange"
283+ },
284+ "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}",
285+ "httpMethod": "PUT",
286+ "parameters": {
287+ "valueInputOption": {
288+ "description": "How the input data should be interpreted.",
289+ "enum": [
290+ "INPUT_VALUE_OPTION_UNSPECIFIED",
291+ "RAW",
292+ "USER_ENTERED"
293+ ],
294+ "location": "query",
295+ "type": "string"
296+ },
297+ "spreadsheetId": {
298+ "description": "The ID of the spreadsheet to update.",
299+ "required": true,
300+ "location": "path",
301+ "type": "string"
302+ },
303+ "range": {
304+ "description": "The A1 notation of the values to update.",
305+ "required": true,
306+ "location": "path",
307+ "type": "string"
308+ }
309+ },
310+ "path": "v4/spreadsheets/{spreadsheetId}/values/{range}",
311+ "scopes": [
312+ "https://www.googleapis.com/auth/drive",
313+ "https://www.googleapis.com/auth/spreadsheets"
314+ ]
315+ },
316+ "batchClear": {
317+ "id": "sheets.spreadsheets.values.batchClear",
318+ "response": {
319+ "$ref": "BatchClearValuesResponse"
203320 },
204321 "parameterOrder": [
205322 "spreadsheetId"
206323 ],
207− "description": "Sets values in one or more ranges of a spreadsheet.\nThe caller must specify the spreadsheet ID,\na valueInputOption, and one or more\nValueRanges.",
324+ "description": "Clears one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.\nOnly values are cleared -- all other properties of the cell (such as\nformatting, data validation, etc..) are kept.",
208325 "request": {
209− "$ref": "BatchUpdateValuesRequest"
326+ "$ref": "BatchClearValuesRequest"
210327 },
211− "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchUpdate",
328+ "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchClear",
212329 "httpMethod": "POST",
213330 "parameters": {
214331 "spreadsheetId": {
@@ -218,7 +335,7 @@
218335 "type": "string"
219336 }
220337 },
221− "path": "v4/spreadsheets/{spreadsheetId}/values:batchUpdate",
338+ "path": "v4/spreadsheets/{spreadsheetId}/values:batchClear",
222339 "scopes": [
223340 "https://www.googleapis.com/auth/drive",
224341 "https://www.googleapis.com/auth/spreadsheets"
@@ -373,7 +490,7 @@
373490 "type": "object",
374491 "properties": {
375492 "protectedRange": {
376− "description": "The protected range to update with the new properties. If a nonzero\nprotectedRangeId is\nspecified, the protected range will use that ID. (It is an error to\nspecify the ID of a protected range that already exists.)",
493+ "description": "The protected range to update with the new properties.",
377494 "$ref": "ProtectedRange"
378495 },
379496 "fields": {
@@ -473,6 +590,21 @@
473590 },
474591 "id": "UpdateEmbeddedObjectPositionResponse"
475592 },
593+ "ClearValuesResponse": {
594+ "description": "The response when clearing a range of values in a spreadsheet.",
595+ "type": "object",
596+ "properties": {
597+ "spreadsheetId": {
598+ "description": "The spreadsheet the updates were applied to.",
599+ "type": "string"
600+ },
601+ "clearedRange": {
602+ "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 bounds of the sheet, this will be the actual range\n that was cleared, bounded to the sheet's limits.)",
603+ "type": "string"
604+ }
605+ },
606+ "id": "ClearValuesResponse"
607+ },
476608 "UpdateConditionalFormatRuleRequest": {
477609 "description": "Updates a conditional format rule at the given index,\nor moves a conditional format rule to another index.",
478610 "type": "object",
@@ -871,23 +1003,23 @@
8711003 "The cell's value must not be between the two condition values.\nSupported by data validation, conditional formatting and filters.\nRequires exactly two ConditionValues.",
8721004 "The cell's value must contain the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
8731005 "The cell's value must not contain the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
874− "The cell's value must start with the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
875− "The cell's value must end with the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
1006+ "The cell's value must start with the condition's value.\nSupported by conditional formatting and filters.\nRequires a single ConditionValue.",
1007+ "The cell's value must end with the condition's value.\nSupported by conditional formatting and filters.\nRequires a single ConditionValue.",
8761008 "The cell's value must be exactly the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
8771009 "The cell's value must be a valid email address.\nSupported by data validation.\nRequires no ConditionValues.",
8781010 "The cell's value must be a valid URL.\nSupported by data validation.\nRequires no ConditionValues.",
8791011 "The cell's value must be the same date as the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.",
8801012 "The cell's value must be before the date of the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue\nthat may be a relative date.",
8811013 "The cell's value must be after the date of the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue\nthat may be a relative date.",
882− "The cell's value must be on or before the date of the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue\nthat may be a relative date.",
883− "The cell's value must be on or after the date of the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue\nthat may be a relative date.",
1014+ "The cell's value must be on or before the date of the condition's value.\nSupported by data validation.\nRequires a single ConditionValue\nthat may be a relative date.",
1015+ "The cell's value must be on or after the date of the condition's value.\nSupported by data validation.\nRequires a single ConditionValue\nthat may be a relative date.",
8841016 "The cell's value must be between the dates of the two condition values.\nSupported by data validation.\nRequires exactly two ConditionValues.",
8851017 "The cell's value must be outside the dates of the two condition values.\nSupported by data validation.\nRequires exactly two ConditionValues.",
8861018 "The cell's value must be a date.\nSupported by data validation.\nRequires no ConditionValues.",
8871019 "The cell's value must be listed in the grid in condition value's range.\nSupported by data validation.\nRequires a single ConditionValue,\nand the value must be a valid range in A1 notation.",
8881020 "The cell's value must in the list of condition values.\nSupported by data validation.\nSupports any number of condition values,\none per item in the list.\nFormulas are not supported in the values.",
889− "The cell's value must be empty.\nSupported by data validation, conditional formatting and filters.\nRequires no ConditionValues.",
890− "The cell's value must not be empty.\nSupported by data validation, conditional formatting and filters.\nRequires no ConditionValues.",
1021+ "The cell's value must be empty.\nSupported by conditional formatting and filters.\nRequires no ConditionValues.",
1022+ "The cell's value must not be empty.\nSupported by conditional formatting and filters.\nRequires no ConditionValues.",
8911023 "The condition's formula must evaluate to true.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue."
8921024 ],
8931025 "type": "string"
@@ -1307,6 +1439,24 @@
13071439 },
13081440 "id": "ClearBasicFilterRequest"
13091441 },
1442+ "BatchClearValuesResponse": {
1443+ "description": "The response when updating a range of values in a spreadsheet.",
1444+ "type": "object",
1445+ "properties": {
1446+ "spreadsheetId": {
1447+ "description": "The spreadsheet the updates were applied to.",
1448+ "type": "string"
1449+ },
1450+ "clearedRanges": {
1451+ "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 bounds of the sheet, this will be the actual ranges\n that were cleared, bounded to the sheet's limits.)",
1452+ "type": "array",
1453+ "items": {
1454+ "type": "string"
1455+ }
1456+ }
1457+ },
1458+ "id": "BatchClearValuesResponse"
1459+ },
13101460 "ConditionalFormatRule": {
13111461 "description": "A rule describing a conditional format.",
13121462 "type": "object",
@@ -1453,7 +1603,7 @@
14531603 "type": "object",
14541604 "properties": {
14551605 "properties": {
1456− "description": "The properties the new sheet should have.\nAll properties are optional.\nIf a sheetId\nis specified, the sheet will use that ID.\n(It is an error to specify the ID of a sheet that already exists.)",
1606+ "description": "The properties the new sheet should have.\nAll 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.)",
14571607 "$ref": "SheetProperties"
14581608 }
14591609 },
@@ -1464,7 +1614,7 @@
14641614 "type": "object",
14651615 "properties": {
14661616 "protectedRange": {
1467− "description": "The protected range to be added.",
1617+ "description": "The protected range to be added. The\nprotectedRangeId field is optional; if\none is not set, an id will be randomly generated. (It is an error to\nspecify the ID of a range that already exists.)",
14681618 "$ref": "ProtectedRange"
14691619 }
14701620 },
@@ -1485,7 +1635,7 @@
14851635 }
14861636 },
14871637 "range": {
1488− "description": "The range the values cover, in A1 notation.\nFor output, this range indicates the entire requested range,\neven though the values will exclude trailing rows and columns.",
1638+ "description": "The range the values cover, in A1 notation.\nFor output, this range indicates the entire requested range,\neven though the values will exclude trailing rows and columns.\nWhen appending values, this field represents the range to search for a\ntable, after which values will be appended.",
14891639 "type": "string"
14901640 },
14911641 "majorDimension": {
@@ -1537,6 +1687,25 @@
15371687 },
15381688 "id": "FindReplaceResponse"
15391689 },
1690+ "AppendValuesResponse": {
1691+ "description": "The response when updating a range of values in a spreadsheet.",
1692+ "type": "object",
1693+ "properties": {
1694+ "spreadsheetId": {
1695+ "description": "The spreadsheet the updates were applied to.",
1696+ "type": "string"
1697+ },
1698+ "tableRange": {
1699+ "description": "The range (in A1 notation) of the table that values are being appended to\n(before the values were appended).\nEmpty if no table was found.",
1700+ "type": "string"
1701+ },
1702+ "updates": {
1703+ "description": "Information about the updates that were applied.",
1704+ "$ref": "UpdateValuesResponse"
1705+ }
1706+ },
1707+ "id": "AppendValuesResponse"
1708+ },
15401709 "CellFormat": {
15411710 "description": "The format of a cell.",
15421711 "type": "object",
@@ -1899,6 +2068,12 @@
18992068 },
19002069 "id": "SheetProperties"
19012070 },
2071+ "ClearValuesRequest": {
2072+ "description": "The request for clearing a range of values in a spreadsheet.",
2073+ "type": "object",
2074+ "properties": {},
2075+ "id": "ClearValuesRequest"
2076+ },
19022077 "ProtectedRange": {
19032078 "description": "A protected range.",
19042079 "type": "object",
@@ -2190,7 +2365,7 @@
21902365 "type": "object",
21912366 "properties": {
21922367 "pattern": {
2193− "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.",
2368+ "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/guides/formats) for more\ninformation about the supported patterns.",
21942369 "type": "string"
21952370 },
21962371 "type": {
@@ -2222,6 +2397,20 @@
22222397 },
22232398 "id": "NumberFormat"
22242399 },
2400+ "BatchClearValuesRequest": {
2401+ "description": "The request for clearing more than one range of values in a spreadsheet.",
2402+ "type": "object",
2403+ "properties": {
2404+ "ranges": {
2405+ "description": "The ranges to clear, in A1 notation.",
2406+ "type": "array",
2407+ "items": {
2408+ "type": "string"
2409+ }
2410+ }
2411+ },
2412+ "id": "BatchClearValuesRequest"
2413+ },
22252414 "UpdateDimensionPropertiesRequest": {
22262415 "description": "Updates properties of dimensions within the specified range.",
22272416 "type": "object",
@@ -2476,6 +2665,8 @@
24762665 "DOTTED",
24772666 "DASHED",
24782667 "SOLID",
2668+ "SOLID_MEDIUM",
2669+ "SOLID_THICK",
24792670 "NONE",
24802671 "DOUBLE"
24812672 ],
@@ -2483,14 +2674,16 @@
24832674 "The style is not specified. Do not use this.",
24842675 "The border is dotted.",
24852676 "The border is dashed.",
2486− "The border is a solid line.",
2677+ "The border is a thin solid line.",
2678+ "The border is a medium solid line.",
2679+ "The border is a thick solid line.",
24872680 "No border.\nUsed only when updating a border in order to erase it.",
24882681 "The border is two solid lines."
24892682 ],
24902683 "type": "string"
24912684 },
24922685 "width": {
2493− "description": "The width of the border, in pixels.\nBorder widths must be between 0 and 3 pixels, inclusive.",
2686+ "description": "The width of the border, in pixels.\nDeprecated; the width is determined by the \"style\" field.",
24942687 "type": "integer",
24952688 "format": "int32"
24962689 },
@@ -2506,7 +2699,7 @@
25062699 "type": "object",
25072700 "properties": {
25082701 "namedRange": {
2509− "description": "The named range to add. If a non-empty\nnamedRangeId is specified, the named range\nwill use that ID. (It is an error to specify the ID of a named\nrange that already exists.)",
2702+ "description": "The named range to add. The namedRangeId\nfield 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.)",
25102703 "$ref": "NamedRange"
25112704 }
25122705 },
@@ -3272,7 +3465,7 @@
32723465 "type": "object",
32733466 "properties": {
32743467 "filter": {
3275− "description": "The filter to add.",
3468+ "description": "The filter to add. The filterViewId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a filter that already exists.)",
32763469 "$ref": "FilterView"
32773470 }
32783471 },
@@ -3325,7 +3518,7 @@
33253518 "type": "object",
33263519 "properties": {
33273520 "chart": {
3328− "description": "The chart that should be added to the spreadsheet, including the position\nwhere it should be placed.",
3521+ "description": "The chart that should be added to the spreadsheet, 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.)",
33293522 "$ref": "EmbeddedChart"
33303523 }
33313524 },
@@ -3586,7 +3779,7 @@
35863779 "id": "DeleteConditionalFormatRuleResponse"
35873780 }
35883781 },
3589− "revision": "20160519",
3782+ "revision": "20161014",
35903783 "basePath": "",
35913784 "icons": {
35923785 "x32": "http://www.google.com/images/icons/product/search-32.gif",