Skip to content

Commit f85d90b

Browse files
feat: Automated regeneration of Sheets client (#13275)
Auto-created at 2025-04-02 13:14:10 +0000 using the toys pull request generator.
1 parent 5e4d516 commit f85d90b

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

clients/sheets/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_sheets, "~> 0.34"}]
14+
[{:google_api_sheets, "~> 0.35"}]
1515
end
1616
```
1717

1818
## For more information
1919

20-
Product documentation is available at [https://developers.google.com/sheets/](https://developers.google.com/sheets/).
20+
Product documentation is available at [https://developers.google.com/workspace/sheets/](https://developers.google.com/workspace/sheets/).
2121

2222
Library reference documentation is published on Hexdocs at
2323
[https://hexdocs.pm/google_api_sheets](https://hexdocs.pm/google_api_sheets).

clients/sheets/lib/google_api/sheets/v4/api/spreadsheets.ex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ defmodule GoogleApi.Sheets.V4.Api.Spreadsheets do
154154
end
155155

156156
@doc """
157-
Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a [field mask](https://developers.google.com/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or multiple cells (for example, `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges.
157+
Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a [field mask](https://developers.google.com/workspace/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or multiple cells (for example, `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges.
158158
159159
## Parameters
160160
@@ -218,7 +218,7 @@ defmodule GoogleApi.Sheets.V4.Api.Spreadsheets do
218218
end
219219

220220
@doc """
221-
Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data one of 2 ways: * Specify a [field mask](https://developers.google.com/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want.
221+
Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data one of 2 ways: * Specify a [field mask](https://developers.google.com/workspace/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want.
222222
223223
## Parameters
224224
@@ -514,13 +514,13 @@ defmodule GoogleApi.Sheets.V4.Api.Spreadsheets do
514514
end
515515

516516
@doc """
517-
Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the [guide](/sheets/api/guides/values#appending_values) and [sample code](/sheets/api/samples/writing#append_values) for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The `valueInputOption` only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to.
517+
Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the [guide](https://developers.google.com/workspace/sheets/api/guides/values#appending_values) and [sample code](https://developers.google.com/workspace/sheets/api/samples/writing#append_values) for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The `valueInputOption` only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to.
518518
519519
## Parameters
520520
521521
* `connection` (*type:* `GoogleApi.Sheets.V4.Connection.t`) - Connection to server
522522
* `spreadsheet_id` (*type:* `String.t`) - The ID of the spreadsheet to update.
523-
* `range` (*type:* `String.t`) - The [A1 notation](/sheets/api/guides/concepts#cell) of a range to search for a logical table of data. Values are appended after the last row of the table.
523+
* `range` (*type:* `String.t`) - The [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of a range to search for a logical table of data. Values are appended after the last row of the table.
524524
* `optional_params` (*type:* `keyword()`) - Optional parameters
525525
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
526526
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -766,7 +766,7 @@ defmodule GoogleApi.Sheets.V4.Api.Spreadsheets do
766766
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
767767
* `:dateTimeRenderOption` (*type:* `String.t`) - How dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.
768768
* `:majorDimension` (*type:* `String.t`) - The major dimension that results should use. For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `ranges=["A1:B2"],majorDimension=ROWS` returns `[[1,2],[3,4]]`, whereas requesting `ranges=["A1:B2"],majorDimension=COLUMNS` returns `[[1,3],[2,4]]`.
769-
* `:ranges` (*type:* `list(String.t)`) - The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the range to retrieve values from.
769+
* `:ranges` (*type:* `list(String.t)`) - The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the range to retrieve values from.
770770
* `:valueRenderOption` (*type:* `String.t`) - How values should be represented in the output. The default render option is ValueRenderOption.FORMATTED_VALUE.
771771
* `opts` (*type:* `keyword()`) - Call options
772772
@@ -1045,7 +1045,7 @@ defmodule GoogleApi.Sheets.V4.Api.Spreadsheets do
10451045
10461046
* `connection` (*type:* `GoogleApi.Sheets.V4.Connection.t`) - Connection to server
10471047
* `spreadsheet_id` (*type:* `String.t`) - The ID of the spreadsheet to update.
1048-
* `range` (*type:* `String.t`) - The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the values to clear.
1048+
* `range` (*type:* `String.t`) - The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the values to clear.
10491049
* `optional_params` (*type:* `keyword()`) - Optional parameters
10501050
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
10511051
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -1121,7 +1121,7 @@ defmodule GoogleApi.Sheets.V4.Api.Spreadsheets do
11211121
11221122
* `connection` (*type:* `GoogleApi.Sheets.V4.Connection.t`) - Connection to server
11231123
* `spreadsheet_id` (*type:* `String.t`) - The ID of the spreadsheet to retrieve data from.
1124-
* `range` (*type:* `String.t`) - The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the range to retrieve values from.
1124+
* `range` (*type:* `String.t`) - The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the range to retrieve values from.
11251125
* `optional_params` (*type:* `keyword()`) - Optional parameters
11261126
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
11271127
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -1201,7 +1201,7 @@ defmodule GoogleApi.Sheets.V4.Api.Spreadsheets do
12011201
12021202
* `connection` (*type:* `GoogleApi.Sheets.V4.Connection.t`) - Connection to server
12031203
* `spreadsheet_id` (*type:* `String.t`) - The ID of the spreadsheet to update.
1204-
* `range` (*type:* `String.t`) - The [A1 notation](/sheets/api/guides/concepts#cell) of the values to update.
1204+
* `range` (*type:* `String.t`) - The [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the values to update.
12051205
* `optional_params` (*type:* `keyword()`) - Optional parameters
12061206
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
12071207
* `:access_token` (*type:* `String.t`) - OAuth access token.

clients/sheets/lib/google_api/sheets/v4/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Sheets.V4 do
2020
API client metadata for GoogleApi.Sheets.V4.
2121
"""
2222

23-
@discovery_revision "20250211"
23+
@discovery_revision "20250325"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/sheets/lib/google_api/sheets/v4/model/batch_clear_values_by_data_filter_response.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Sheets.V4.Model.BatchClearValuesByDataFilterResponse do
2121
2222
## Attributes
2323
24-
* `clearedRanges` (*type:* `list(String.t)`, *default:* `nil`) - The ranges that were cleared, in [A1 notation](/sheets/api/guides/concepts#cell). If the requests are for an unbounded range or a ranger larger than the bounds of the sheet, this is the actual ranges that were cleared, bounded to the sheet's limits.
24+
* `clearedRanges` (*type:* `list(String.t)`, *default:* `nil`) - The ranges that were cleared, in [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). If the requests are for an unbounded range or a ranger larger than the bounds of the sheet, this is the actual ranges that were cleared, bounded to the sheet's limits.
2525
* `spreadsheetId` (*type:* `String.t`, *default:* `nil`) - The spreadsheet the updates were applied to.
2626
"""
2727

clients/sheets/lib/google_api/sheets/v4/model/batch_clear_values_request.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Sheets.V4.Model.BatchClearValuesRequest do
2121
2222
## Attributes
2323
24-
* `ranges` (*type:* `list(String.t)`, *default:* `nil`) - The ranges to clear, in [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell).
24+
* `ranges` (*type:* `list(String.t)`, *default:* `nil`) - The ranges to clear, in [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell).
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/sheets/lib/google_api/sheets/v4/model/number_format.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Sheets.V4.Model.NumberFormat do
2121
2222
## Attributes
2323
24-
* `pattern` (*type:* `String.t`, *default:* `nil`) - Pattern string used for formatting. If not set, a default pattern based on the user's locale will be used if necessary for the given type. See the [Date and Number Formats guide](/sheets/api/guides/formats) for more information about the supported patterns.
24+
* `pattern` (*type:* `String.t`, *default:* `nil`) - Pattern string used for formatting. If not set, a default pattern based on the user's locale will be used if necessary for the given type. See the [Date and Number Formats guide](https://developers.google.com/workspace/sheets/api/guides/formats) for more information about the supported patterns.
2525
* `type` (*type:* `String.t`, *default:* `nil`) - The type of the number format. When writing, this field must be set.
2626
"""
2727

clients/sheets/lib/google_api/sheets/v4/model/update_values_by_data_filter_response.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule GoogleApi.Sheets.V4.Model.UpdateValuesByDataFilterResponse do
2525
* `updatedCells` (*type:* `integer()`, *default:* `nil`) - The number of cells updated.
2626
* `updatedColumns` (*type:* `integer()`, *default:* `nil`) - The number of columns where at least one cell in the column was updated.
2727
* `updatedData` (*type:* `GoogleApi.Sheets.V4.Model.ValueRange.t`, *default:* `nil`) - The values of the cells in the range matched by the dataFilter after all updates were applied. This is only included if the request's `includeValuesInResponse` field was `true`.
28-
* `updatedRange` (*type:* `String.t`, *default:* `nil`) - The range (in [A1 notation](/sheets/api/guides/concepts#cell)) that updates were applied to.
28+
* `updatedRange` (*type:* `String.t`, *default:* `nil`) - The range (in [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell)) that updates were applied to.
2929
* `updatedRows` (*type:* `integer()`, *default:* `nil`) - The number of rows where at least one cell in the row was updated.
3030
"""
3131

clients/sheets/lib/google_api/sheets/v4/model/value_range.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Sheets.V4.Model.ValueRange do
2222
## Attributes
2323
2424
* `majorDimension` (*type:* `String.t`, *default:* `nil`) - The major dimension of the values. For output, 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]]`. For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. When writing, if this field is not set, it defaults to ROWS.
25-
* `range` (*type:* `String.t`, *default:* `nil`) - The range the values cover, in [A1 notation](/sheets/api/guides/concepts#cell). For output, this range indicates the entire requested range, even though the values will exclude trailing rows and columns. When appending values, this field represents the range to search for a table, after which values will be appended.
25+
* `range` (*type:* `String.t`, *default:* `nil`) - The range the values cover, in [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). For output, this range indicates the entire requested range, even though the values will exclude trailing rows and columns. When appending values, this field represents the range to search for a table, after which values will be appended.
2626
* `values` (*type:* `list(list(any()))`, *default:* `nil`) - The data that was read or to be written. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell. For output, empty trailing rows and columns will not be included. For input, supported value types are: bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string value to an empty string.
2727
"""
2828

clients/sheets/mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Sheets.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.34.1"
21+
@version "0.35.0"
2222

2323
def project() do
2424
[
@@ -59,7 +59,7 @@ defmodule GoogleApi.Sheets.Mixfile do
5959
licenses: ["Apache-2.0"],
6060
links: %{
6161
"GitHub" => "https://github.com/googleapis/elixir-google-api/tree/master/clients/sheets",
62-
"Homepage" => "https://developers.google.com/sheets/"
62+
"Homepage" => "https://developers.google.com/workspace/sheets/"
6363
}
6464
]
6565
end

0 commit comments

Comments
 (0)