Skip to content

Commit 71c24f6

Browse files
feat: Automated regeneration of sheets v4 client (googleapis#22374)
Auto-created at 2025-04-06 10:14:45 +0000 using the toys pull request generator.
1 parent 839c2bc commit 71c24f6

File tree

6 files changed

+52
-44
lines changed

6 files changed

+52
-44
lines changed

generated/google-apis-sheets_v4/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-sheets_v4
22

3+
### v0.40.0 (2025-04-06)
4+
5+
* Regenerated from discovery document revision 20250325
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.39.0 (2024-12-15)
49

510
* Regenerated from discovery document revision 20241203

generated/google-apis-sheets_v4/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
7979

8080
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
8181

82-
The [product documentation](https://developers.google.com/sheets/) may provide guidance regarding the preferred client library to use.
82+
The [product documentation](https://developers.google.com/workspace/sheets/) may provide guidance regarding the preferred client library to use.
8383

8484
## Supported Ruby versions
8585

generated/google-apis-sheets_v4/lib/google/apis/sheets_v4.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module Apis
2323
#
2424
# Reads and writes Google Sheets.
2525
#
26-
# @see https://developers.google.com/sheets/
26+
# @see https://developers.google.com/workspace/sheets/
2727
module SheetsV4
2828
# Version of the Google Sheets API this client connects to.
2929
# This is NOT the gem version.

generated/google-apis-sheets_v4/lib/google/apis/sheets_v4/classes.rb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,10 +1513,10 @@ def update!(**args)
15131513
class BatchClearValuesByDataFilterResponse
15141514
include Google::Apis::Core::Hashable
15151515

1516-
# The ranges that were cleared, in [A1 notation](/sheets/api/guides/concepts#
1517-
# cell). If the requests are for an unbounded range or a ranger larger than the
1518-
# bounds of the sheet, this is the actual ranges that were cleared, bounded to
1519-
# the sheet's limits.
1516+
# The ranges that were cleared, in [A1 notation](https://developers.google.com/
1517+
# workspace/sheets/api/guides/concepts#cell). If the requests are for an
1518+
# unbounded range or a ranger larger than the bounds of the sheet, this is the
1519+
# actual ranges that were cleared, bounded to the sheet's limits.
15201520
# Corresponds to the JSON property `clearedRanges`
15211521
# @return [Array<String>]
15221522
attr_accessor :cleared_ranges
@@ -1541,8 +1541,8 @@ def update!(**args)
15411541
class BatchClearValuesRequest
15421542
include Google::Apis::Core::Hashable
15431543

1544-
# The ranges to clear, in [A1 notation or R1C1 notation](/sheets/api/guides/
1545-
# concepts#cell).
1544+
# The ranges to clear, in [A1 notation or R1C1 notation](https://developers.
1545+
# google.com/workspace/sheets/api/guides/concepts#cell).
15461546
# Corresponds to the JSON property `ranges`
15471547
# @return [Array<String>]
15481548
attr_accessor :ranges
@@ -6874,8 +6874,8 @@ class NumberFormat
68746874

68756875
# Pattern string used for formatting. If not set, a default pattern based on the
68766876
# user's locale will be used if necessary for the given type. See the [Date and
6877-
# Number Formats guide](/sheets/api/guides/formats) for more information about
6878-
# the supported patterns.
6877+
# Number Formats guide](https://developers.google.com/workspace/sheets/api/
6878+
# guides/formats) for more information about the supported patterns.
68796879
# Corresponds to the JSON property `pattern`
68806880
# @return [String]
68816881
attr_accessor :pattern
@@ -11125,8 +11125,8 @@ class UpdateValuesByDataFilterResponse
1112511125
# @return [Google::Apis::SheetsV4::ValueRange]
1112611126
attr_accessor :updated_data
1112711127

11128-
# The range (in [A1 notation](/sheets/api/guides/concepts#cell)) that updates
11129-
# were applied to.
11128+
# The range (in [A1 notation](https://developers.google.com/workspace/sheets/api/
11129+
# guides/concepts#cell)) that updates were applied to.
1113011130
# Corresponds to the JSON property `updatedRange`
1113111131
# @return [String]
1113211132
attr_accessor :updated_range
@@ -11215,11 +11215,11 @@ class ValueRange
1121511215
# @return [String]
1121611216
attr_accessor :major_dimension
1121711217

11218-
# The range the values cover, in [A1 notation](/sheets/api/guides/concepts#cell).
11219-
# For output, this range indicates the entire requested range, even though the
11220-
# values will exclude trailing rows and columns. When appending values, this
11221-
# field represents the range to search for a table, after which values will be
11222-
# appended.
11218+
# The range the values cover, in [A1 notation](https://developers.google.com/
11219+
# workspace/sheets/api/guides/concepts#cell). For output, this range indicates
11220+
# the entire requested range, even though the values will exclude trailing rows
11221+
# and columns. When appending values, this field represents the range to search
11222+
# for a table, after which values will be appended.
1122311223
# Corresponds to the JSON property `range`
1122411224
# @return [String]
1122511225
attr_accessor :range

generated/google-apis-sheets_v4/lib/google/apis/sheets_v4/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module SheetsV4
1818
# Version of the google-apis-sheets_v4 gem
19-
GEM_VERSION = "0.39.0"
19+
GEM_VERSION = "0.40.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241203"
25+
REVISION = "20250325"
2626
end
2727
end
2828
end

generated/google-apis-sheets_v4/lib/google/apis/sheets_v4/service.rb

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module SheetsV4
3030
# Sheets = Google::Apis::SheetsV4 # Alias the module
3131
# service = Sheets::SheetsService.new
3232
#
33-
# @see https://developers.google.com/sheets/
33+
# @see https://developers.google.com/workspace/sheets/
3434
class SheetsService < Google::Apis::Core::BaseService
3535
DEFAULT_ENDPOINT_TEMPLATE = "https://sheets.$UNIVERSE_DOMAIN$/"
3636

@@ -128,18 +128,18 @@ def create_spreadsheet(spreadsheet_object = nil, fields: nil, quota_user: nil, o
128128
# Returns the spreadsheet at the given ID. The caller must specify the
129129
# spreadsheet ID. By default, data within grids is not returned. You can include
130130
# grid data in one of 2 ways: * Specify a [field mask](https://developers.google.
131-
# com/sheets/api/guides/field-masks) listing your desired fields using the `
132-
# fields` URL parameter in HTTP * Set the includeGridData URL parameter to true.
133-
# If a field mask is set, the `includeGridData` parameter is ignored For large
134-
# spreadsheets, as a best practice, retrieve only the specific spreadsheet
131+
# com/workspace/sheets/api/guides/field-masks) listing your desired fields using
132+
# the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to
133+
# true. If a field mask is set, the `includeGridData` parameter is ignored For
134+
# large spreadsheets, as a best practice, retrieve only the specific spreadsheet
135135
# fields that you want. To retrieve only subsets of spreadsheet data, use the
136-
# ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/
137-
# guides/concepts#cell). You can define a single cell (for example, `A1`) or
138-
# multiple cells (for example, `A1:D5`). You can also get cells from other
139-
# sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve
140-
# multiple ranges at once (for example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`).
141-
# Limiting the range returns only the portions of the spreadsheet that intersect
142-
# the requested ranges.
136+
# ranges URL parameter. Ranges are specified using [A1 notation](https://
137+
# developers.google.com/workspace/sheets/api/guides/concepts#cell). You can
138+
# define a single cell (for example, `A1`) or multiple cells (for example, `A1:
139+
# D5`). You can also get cells from other sheets within the same spreadsheet (
140+
# for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example,
141+
# `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the
142+
# portions of the spreadsheet that intersect the requested ranges.
143143
# @param [String] spreadsheet_id
144144
# The spreadsheet to request.
145145
# @param [Boolean] include_grid_data
@@ -183,8 +183,8 @@ def get_spreadsheet(spreadsheet_id, include_grid_data: nil, ranges: nil, fields:
183183
# or more data filters returns the portions of the spreadsheet that intersect
184184
# ranges matched by any of the filters. By default, data within grids is not
185185
# returned. You can include grid data one of 2 ways: * Specify a [field mask](
186-
# https://developers.google.com/sheets/api/guides/field-masks) listing your
187-
# desired fields using the `fields` URL parameter in HTTP * Set the
186+
# https://developers.google.com/workspace/sheets/api/guides/field-masks) listing
187+
# your desired fields using the `fields` URL parameter in HTTP * Set the
188188
# includeGridData parameter to true. If a field mask is set, the `
189189
# includeGridData` parameter is ignored For large spreadsheets, as a best
190190
# practice, retrieve only the specific spreadsheet fields that you want.
@@ -331,7 +331,8 @@ def copy_spreadsheet(spreadsheet_id, sheet_id, copy_sheet_to_another_spreadsheet
331331
# Appends values to a spreadsheet. The input range is used to search for
332332
# existing data and find a "table" within that range. Values will be appended to
333333
# the next row of the table, starting with the first column of the table. See
334-
# the [guide](/sheets/api/guides/values#appending_values) and [sample code](/
334+
# the [guide](https://developers.google.com/workspace/sheets/api/guides/values#
335+
# appending_values) and [sample code](https://developers.google.com/workspace/
335336
# sheets/api/samples/writing#append_values) for specific details of how tables
336337
# are detected and data is appended. The caller must specify the spreadsheet ID,
337338
# range, and a valueInputOption. The `valueInputOption` only controls how the
@@ -340,8 +341,9 @@ def copy_spreadsheet(spreadsheet_id, sheet_id, copy_sheet_to_another_spreadsheet
340341
# @param [String] spreadsheet_id
341342
# The ID of the spreadsheet to update.
342343
# @param [String] range
343-
# The [A1 notation](/sheets/api/guides/concepts#cell) of a range to search for a
344-
# logical table of data. Values are appended after the last row of the table.
344+
# The [A1 notation](https://developers.google.com/workspace/sheets/api/guides/
345+
# concepts#cell) of a range to search for a logical table of data. Values are
346+
# appended after the last row of the table.
345347
# @param [Google::Apis::SheetsV4::ValueRange] value_range_object
346348
# @param [Boolean] include_values_in_response
347349
# Determines if the update response should include the values of the cells that
@@ -479,8 +481,8 @@ def batch_spreadsheet_value_clear_by_data_filter(spreadsheet_id, batch_clear_val
479481
# majorDimension=ROWS` returns `[[1,2],[3,4]]`, whereas requesting `ranges=["A1:
480482
# B2"],majorDimension=COLUMNS` returns `[[1,3],[2,4]]`.
481483
# @param [Array<String>, String] ranges
482-
# The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the
483-
# range to retrieve values from.
484+
# The [A1 notation or R1C1 notation](https://developers.google.com/workspace/
485+
# sheets/api/guides/concepts#cell) of the range to retrieve values from.
484486
# @param [String] value_render_option
485487
# How values should be represented in the output. The default render option is
486488
# ValueRenderOption.FORMATTED_VALUE.
@@ -624,8 +626,8 @@ def batch_spreadsheet_value_update_by_data_filter(spreadsheet_id, batch_update_v
624626
# @param [String] spreadsheet_id
625627
# The ID of the spreadsheet to update.
626628
# @param [String] range
627-
# The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the
628-
# values to clear.
629+
# The [A1 notation or R1C1 notation](https://developers.google.com/workspace/
630+
# sheets/api/guides/concepts#cell) of the values to clear.
629631
# @param [Google::Apis::SheetsV4::ClearValuesRequest] clear_values_request_object
630632
# @param [String] fields
631633
# Selector specifying which fields to include in a partial response.
@@ -662,8 +664,8 @@ def clear_values(spreadsheet_id, range, clear_values_request_object = nil, field
662664
# @param [String] spreadsheet_id
663665
# The ID of the spreadsheet to retrieve data from.
664666
# @param [String] range
665-
# The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the
666-
# range to retrieve values from.
667+
# The [A1 notation or R1C1 notation](https://developers.google.com/workspace/
668+
# sheets/api/guides/concepts#cell) of the range to retrieve values from.
667669
# @param [String] date_time_render_option
668670
# How dates, times, and durations should be represented in the output. This is
669671
# ignored if value_render_option is FORMATTED_VALUE. The default dateTime render
@@ -712,7 +714,8 @@ def get_spreadsheet_values(spreadsheet_id, range, date_time_render_option: nil,
712714
# @param [String] spreadsheet_id
713715
# The ID of the spreadsheet to update.
714716
# @param [String] range
715-
# The [A1 notation](/sheets/api/guides/concepts#cell) of the values to update.
717+
# The [A1 notation](https://developers.google.com/workspace/sheets/api/guides/
718+
# concepts#cell) of the values to update.
716719
# @param [Google::Apis::SheetsV4::ValueRange] value_range_object
717720
# @param [Boolean] include_values_in_response
718721
# Determines if the update response should include the values of the cells that

0 commit comments

Comments
 (0)