Index: generated/googleapis/lib/sheets/v4.dart |
diff --git a/generated/googleapis/lib/sheets/v4.dart b/generated/googleapis/lib/sheets/v4.dart |
index aba9b4930594f58a2e71e1ee3ad6f7bab44773bc..d3aca568cb55d98f9b448bfb6a9f33b7f866569e 100644 |
--- a/generated/googleapis/lib/sheets/v4.dart |
+++ b/generated/googleapis/lib/sheets/v4.dart |
@@ -317,6 +317,11 @@ class SpreadsheetsValuesResourceApi { |
* [range] - The A1 notation of a range to search for a logical table of data. |
* Values will be appended after the last row of the table. |
* |
+ * [includeValuesInResponse] - Determines if the update response should |
+ * include the values |
+ * of the cells that were appended. By default, responses |
+ * do not include the updated values. |
+ * |
* [responseValueRenderOption] - Determines how values in the response should |
* be rendered. |
* The default render option is ValueRenderOption.FORMATTED_VALUE. |
@@ -345,11 +350,6 @@ class SpreadsheetsValuesResourceApi { |
* - "SERIAL_NUMBER" : A SERIAL_NUMBER. |
* - "FORMATTED_STRING" : A FORMATTED_STRING. |
* |
- * [includeValuesInResponse] - Determines if the update response should |
- * include the values |
- * of the cells that were appended. By default, responses |
- * do not include the updated values. |
- * |
* Completes with a [AppendValuesResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -358,7 +358,7 @@ class SpreadsheetsValuesResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<AppendValuesResponse> append(ValueRange request, core.String spreadsheetId, core.String range, {core.String responseValueRenderOption, core.String insertDataOption, core.String valueInputOption, core.String responseDateTimeRenderOption, core.bool includeValuesInResponse}) { |
+ async.Future<AppendValuesResponse> append(ValueRange request, core.String spreadsheetId, core.String range, {core.bool includeValuesInResponse, core.String responseValueRenderOption, core.String insertDataOption, core.String valueInputOption, core.String responseDateTimeRenderOption}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -375,6 +375,9 @@ class SpreadsheetsValuesResourceApi { |
if (range == null) { |
throw new core.ArgumentError("Parameter range is required."); |
} |
+ if (includeValuesInResponse != null) { |
+ _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"]; |
+ } |
if (responseValueRenderOption != null) { |
_queryParams["responseValueRenderOption"] = [responseValueRenderOption]; |
} |
@@ -387,9 +390,6 @@ class SpreadsheetsValuesResourceApi { |
if (responseDateTimeRenderOption != null) { |
_queryParams["responseDateTimeRenderOption"] = [responseDateTimeRenderOption]; |
} |
- if (includeValuesInResponse != null) { |
- _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"]; |
- } |
_url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId') + '/values/' + commons.Escaper.ecapeVariable('$range') + ':append'; |
@@ -458,6 +458,20 @@ class SpreadsheetsValuesResourceApi { |
* |
* [spreadsheetId] - The ID of the spreadsheet to retrieve data from. |
* |
+ * [majorDimension] - The major dimension that results should use. |
+ * |
+ * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, |
+ * then requesting `range=A1:B2,majorDimension=ROWS` will return |
+ * `[[1,2],[3,4]]`, |
+ * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return |
+ * `[[1,3],[2,4]]`. |
+ * Possible string values are: |
+ * - "DIMENSION_UNSPECIFIED" : A DIMENSION_UNSPECIFIED. |
+ * - "ROWS" : A ROWS. |
+ * - "COLUMNS" : A COLUMNS. |
+ * |
+ * [ranges] - The A1 notation of the values to retrieve. |
+ * |
* [dateTimeRenderOption] - How dates, times, and durations should be |
* represented in the output. |
* This is ignored if value_render_option is |
@@ -474,20 +488,6 @@ class SpreadsheetsValuesResourceApi { |
* - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE. |
* - "FORMULA" : A FORMULA. |
* |
- * [majorDimension] - The major dimension that results should use. |
- * |
- * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, |
- * then requesting `range=A1:B2,majorDimension=ROWS` will return |
- * `[[1,2],[3,4]]`, |
- * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return |
- * `[[1,3],[2,4]]`. |
- * Possible string values are: |
- * - "DIMENSION_UNSPECIFIED" : A DIMENSION_UNSPECIFIED. |
- * - "ROWS" : A ROWS. |
- * - "COLUMNS" : A COLUMNS. |
- * |
- * [ranges] - The A1 notation of the values to retrieve. |
- * |
* Completes with a [BatchGetValuesResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -496,7 +496,7 @@ class SpreadsheetsValuesResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<BatchGetValuesResponse> batchGet(core.String spreadsheetId, {core.String dateTimeRenderOption, core.String valueRenderOption, core.String majorDimension, core.List<core.String> ranges}) { |
+ async.Future<BatchGetValuesResponse> batchGet(core.String spreadsheetId, {core.String majorDimension, core.List<core.String> ranges, core.String dateTimeRenderOption, core.String valueRenderOption}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -507,18 +507,18 @@ class SpreadsheetsValuesResourceApi { |
if (spreadsheetId == null) { |
throw new core.ArgumentError("Parameter spreadsheetId is required."); |
} |
- if (dateTimeRenderOption != null) { |
- _queryParams["dateTimeRenderOption"] = [dateTimeRenderOption]; |
- } |
- if (valueRenderOption != null) { |
- _queryParams["valueRenderOption"] = [valueRenderOption]; |
- } |
if (majorDimension != null) { |
_queryParams["majorDimension"] = [majorDimension]; |
} |
if (ranges != null) { |
_queryParams["ranges"] = ranges; |
} |
+ if (dateTimeRenderOption != null) { |
+ _queryParams["dateTimeRenderOption"] = [dateTimeRenderOption]; |
+ } |
+ if (valueRenderOption != null) { |
+ _queryParams["valueRenderOption"] = [valueRenderOption]; |
+ } |
_url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId') + '/values:batchGet'; |