Skip to content

Commit 46b5408

Browse files
feat: Automated regeneration of sheets v4 client (googleapis#23448)
Auto-created at 2025-06-15 10:42:49 +0000 using the toys pull request generator.
1 parent 29569ca commit 46b5408

File tree

5 files changed

+207
-3
lines changed

5 files changed

+207
-3
lines changed

api_names_out.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339894,6 +339894,8 @@
339894339894
"/sheets:v4/CandlestickSeries": candlestick_series
339895339895
"/sheets:v4/CandlestickSeries/data": data
339896339896
"/sheets:v4/CellData": cell_data
339897+
"/sheets:v4/CellData/chipRuns": chip_runs
339898+
"/sheets:v4/CellData/chipRuns/chip_run": chip_run
339897339899
"/sheets:v4/CellData/dataSourceFormula": data_source_formula
339898339900
"/sheets:v4/CellData/dataSourceTable": data_source_table
339899339901
"/sheets:v4/CellData/dataValidation": data_validation
@@ -339971,6 +339973,12 @@
339971339973
"/sheets:v4/ChartSpec/titleTextPosition": title_text_position
339972339974
"/sheets:v4/ChartSpec/treemapChart": treemap_chart
339973339975
"/sheets:v4/ChartSpec/waterfallChart": waterfall_chart
339976+
"/sheets:v4/Chip": chip
339977+
"/sheets:v4/Chip/personProperties": person_properties
339978+
"/sheets:v4/Chip/richLinkProperties": rich_link_properties
339979+
"/sheets:v4/ChipRun": chip_run
339980+
"/sheets:v4/ChipRun/chip": chip
339981+
"/sheets:v4/ChipRun/startIndex": start_index
339974339982
"/sheets:v4/ClearBasicFilterRequest": clear_basic_filter_request
339975339983
"/sheets:v4/ClearBasicFilterRequest/sheetId": sheet_id
339976339984
"/sheets:v4/ClearValuesRequest": clear_values_request
@@ -340396,6 +340404,9 @@
340396340404
"/sheets:v4/PasteDataRequest/delimiter": delimiter
340397340405
"/sheets:v4/PasteDataRequest/html": html
340398340406
"/sheets:v4/PasteDataRequest/type": type
340407+
"/sheets:v4/PersonProperties": person_properties
340408+
"/sheets:v4/PersonProperties/displayFormat": display_format
340409+
"/sheets:v4/PersonProperties/email": email
340399340410
"/sheets:v4/PieChartSpec": pie_chart_spec
340400340411
"/sheets:v4/PieChartSpec/domain": domain
340401340412
"/sheets:v4/PieChartSpec/legendPosition": legend_position
@@ -340589,6 +340600,9 @@
340589340600
"/sheets:v4/Response/updateDataSource": update_data_source
340590340601
"/sheets:v4/Response/updateDeveloperMetadata": update_developer_metadata
340591340602
"/sheets:v4/Response/updateEmbeddedObjectPosition": update_embedded_object_position
340603+
"/sheets:v4/RichLinkProperties": rich_link_properties
340604+
"/sheets:v4/RichLinkProperties/mimeType": mime_type
340605+
"/sheets:v4/RichLinkProperties/uri": uri
340592340606
"/sheets:v4/RowData": row_data
340593340607
"/sheets:v4/RowData/values": values
340594340608
"/sheets:v4/RowData/values/value": value

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.45.0 (2025-06-15)
4+
5+
* Regenerated from discovery document revision 20250603
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.44.0 (2025-05-21)
49

510
* Regenerated from discovery document revision 20250513

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

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2610,6 +2610,17 @@ def update!(**args)
26102610
class CellData
26112611
include Google::Apis::Core::Hashable
26122612

2613+
# Optional. Runs of chips applied to subsections of the cell. Properties of a
2614+
# run start at a specific index in the text and continue until the next run.
2615+
# When reading, all chipped and non-chipped runs are included. Non-chipped runs
2616+
# will have an empty chip_run.chip. When writing, only runs with chips are
2617+
# included. Runs containing chips are of length 1 and are represented in the
2618+
# user-entered text by an “@” placeholder symbol. New runs will overwrite any
2619+
# prior runs. Writing a new user_entered_value will erase previous runs.
2620+
# Corresponds to the JSON property `chipRuns`
2621+
# @return [Array<Google::Apis::SheetsV4::ChipRun>]
2622+
attr_accessor :chip_runs
2623+
26132624
# A data source formula.
26142625
# Corresponds to the JSON property `dataSourceFormula`
26152626
# @return [Google::Apis::SheetsV4::DataSourceFormula]
@@ -2689,6 +2700,7 @@ def initialize(**args)
26892700

26902701
# Update properties of this object
26912702
def update!(**args)
2703+
@chip_runs = args[:chip_runs] if args.key?(:chip_runs)
26922704
@data_source_formula = args[:data_source_formula] if args.key?(:data_source_formula)
26932705
@data_source_table = args[:data_source_table] if args.key?(:data_source_table)
26942706
@data_validation = args[:data_validation] if args.key?(:data_validation)
@@ -3278,6 +3290,61 @@ def update!(**args)
32783290
end
32793291
end
32803292

3293+
# The Smart Chip.
3294+
class Chip
3295+
include Google::Apis::Core::Hashable
3296+
3297+
# Properties specific to a linked person.
3298+
# Corresponds to the JSON property `personProperties`
3299+
# @return [Google::Apis::SheetsV4::PersonProperties]
3300+
attr_accessor :person_properties
3301+
3302+
# Properties of a link to a Google resource (such as a file in Drive, a YouTube
3303+
# video, a Maps address, or a Calendar event). Only Drive files can be written
3304+
# as chips. All other rich link types are read only. URIs cannot exceed 2000
3305+
# bytes when writing. NOTE: Writing Drive file chips requires at least one of
3306+
# the `drive.file`, `drive.readonly`, or `drive` OAuth scopes.
3307+
# Corresponds to the JSON property `richLinkProperties`
3308+
# @return [Google::Apis::SheetsV4::RichLinkProperties]
3309+
attr_accessor :rich_link_properties
3310+
3311+
def initialize(**args)
3312+
update!(**args)
3313+
end
3314+
3315+
# Update properties of this object
3316+
def update!(**args)
3317+
@person_properties = args[:person_properties] if args.key?(:person_properties)
3318+
@rich_link_properties = args[:rich_link_properties] if args.key?(:rich_link_properties)
3319+
end
3320+
end
3321+
3322+
# The run of a chip. The chip continues until the start index of the next run.
3323+
class ChipRun
3324+
include Google::Apis::Core::Hashable
3325+
3326+
# The Smart Chip.
3327+
# Corresponds to the JSON property `chip`
3328+
# @return [Google::Apis::SheetsV4::Chip]
3329+
attr_accessor :chip
3330+
3331+
# Required. The zero-based character index where this run starts, in UTF-16 code
3332+
# units.
3333+
# Corresponds to the JSON property `startIndex`
3334+
# @return [Fixnum]
3335+
attr_accessor :start_index
3336+
3337+
def initialize(**args)
3338+
update!(**args)
3339+
end
3340+
3341+
# Update properties of this object
3342+
def update!(**args)
3343+
@chip = args[:chip] if args.key?(:chip)
3344+
@start_index = args[:start_index] if args.key?(:start_index)
3345+
end
3346+
end
3347+
32813348
# Clears the basic filter, if any exists on the sheet.
32823349
class ClearBasicFilterRequest
32833350
include Google::Apis::Core::Hashable
@@ -7270,6 +7337,33 @@ def update!(**args)
72707337
end
72717338
end
72727339

7340+
# Properties specific to a linked person.
7341+
class PersonProperties
7342+
include Google::Apis::Core::Hashable
7343+
7344+
# Optional. The display format of the person chip. If not set, the default
7345+
# display format is used.
7346+
# Corresponds to the JSON property `displayFormat`
7347+
# @return [String]
7348+
attr_accessor :display_format
7349+
7350+
# Required. The email address linked to this person. This field is always
7351+
# present.
7352+
# Corresponds to the JSON property `email`
7353+
# @return [String]
7354+
attr_accessor :email
7355+
7356+
def initialize(**args)
7357+
update!(**args)
7358+
end
7359+
7360+
# Update properties of this object
7361+
def update!(**args)
7362+
@display_format = args[:display_format] if args.key?(:display_format)
7363+
@email = args[:email] if args.key?(:email)
7364+
end
7365+
end
7366+
72737367
# A pie chart.
72747368
class PieChartSpec
72757369
include Google::Apis::Core::Hashable
@@ -8777,6 +8871,36 @@ def update!(**args)
87778871
end
87788872
end
87798873

8874+
# Properties of a link to a Google resource (such as a file in Drive, a YouTube
8875+
# video, a Maps address, or a Calendar event). Only Drive files can be written
8876+
# as chips. All other rich link types are read only. URIs cannot exceed 2000
8877+
# bytes when writing. NOTE: Writing Drive file chips requires at least one of
8878+
# the `drive.file`, `drive.readonly`, or `drive` OAuth scopes.
8879+
class RichLinkProperties
8880+
include Google::Apis::Core::Hashable
8881+
8882+
# Output only. The [MIME type](https://developers.google.com/drive/api/v3/mime-
8883+
# types) of the link, if there's one (for example, when it's a file in Drive).
8884+
# Corresponds to the JSON property `mimeType`
8885+
# @return [String]
8886+
attr_accessor :mime_type
8887+
8888+
# Required. The URI to the link. This is always present.
8889+
# Corresponds to the JSON property `uri`
8890+
# @return [String]
8891+
attr_accessor :uri
8892+
8893+
def initialize(**args)
8894+
update!(**args)
8895+
end
8896+
8897+
# Update properties of this object
8898+
def update!(**args)
8899+
@mime_type = args[:mime_type] if args.key?(:mime_type)
8900+
@uri = args[:uri] if args.key?(:uri)
8901+
end
8902+
end
8903+
87808904
# Data about each cell in a row.
87818905
class RowData
87828906
include Google::Apis::Core::Hashable

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.44.0"
19+
GEM_VERSION = "0.45.0"
2020

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

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

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

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
460460
include Google::Apis::Core::JsonObjectSupport
461461
end
462462

463+
class Chip
464+
class Representation < Google::Apis::Core::JsonRepresentation; end
465+
466+
include Google::Apis::Core::JsonObjectSupport
467+
end
468+
469+
class ChipRun
470+
class Representation < Google::Apis::Core::JsonRepresentation; end
471+
472+
include Google::Apis::Core::JsonObjectSupport
473+
end
474+
463475
class ClearBasicFilterRequest
464476
class Representation < Google::Apis::Core::JsonRepresentation; end
465477

@@ -1078,6 +1090,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
10781090
include Google::Apis::Core::JsonObjectSupport
10791091
end
10801092

1093+
class PersonProperties
1094+
class Representation < Google::Apis::Core::JsonRepresentation; end
1095+
1096+
include Google::Apis::Core::JsonObjectSupport
1097+
end
1098+
10811099
class PieChartSpec
10821100
class Representation < Google::Apis::Core::JsonRepresentation; end
10831101

@@ -1198,6 +1216,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
11981216
include Google::Apis::Core::JsonObjectSupport
11991217
end
12001218

1219+
class RichLinkProperties
1220+
class Representation < Google::Apis::Core::JsonRepresentation; end
1221+
1222+
include Google::Apis::Core::JsonObjectSupport
1223+
end
1224+
12011225
class RowData
12021226
class Representation < Google::Apis::Core::JsonRepresentation; end
12031227

@@ -2245,6 +2269,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
22452269
class CellData
22462270
# @private
22472271
class Representation < Google::Apis::Core::JsonRepresentation
2272+
collection :chip_runs, as: 'chipRuns', class: Google::Apis::SheetsV4::ChipRun, decorator: Google::Apis::SheetsV4::ChipRun::Representation
2273+
22482274
property :data_source_formula, as: 'dataSourceFormula', class: Google::Apis::SheetsV4::DataSourceFormula, decorator: Google::Apis::SheetsV4::DataSourceFormula::Representation
22492275

22502276
property :data_source_table, as: 'dataSourceTable', class: Google::Apis::SheetsV4::DataSourceTable, decorator: Google::Apis::SheetsV4::DataSourceTable::Representation
@@ -2406,6 +2432,25 @@ class Representation < Google::Apis::Core::JsonRepresentation
24062432
end
24072433
end
24082434

2435+
class Chip
2436+
# @private
2437+
class Representation < Google::Apis::Core::JsonRepresentation
2438+
property :person_properties, as: 'personProperties', class: Google::Apis::SheetsV4::PersonProperties, decorator: Google::Apis::SheetsV4::PersonProperties::Representation
2439+
2440+
property :rich_link_properties, as: 'richLinkProperties', class: Google::Apis::SheetsV4::RichLinkProperties, decorator: Google::Apis::SheetsV4::RichLinkProperties::Representation
2441+
2442+
end
2443+
end
2444+
2445+
class ChipRun
2446+
# @private
2447+
class Representation < Google::Apis::Core::JsonRepresentation
2448+
property :chip, as: 'chip', class: Google::Apis::SheetsV4::Chip, decorator: Google::Apis::SheetsV4::Chip::Representation
2449+
2450+
property :start_index, as: 'startIndex'
2451+
end
2452+
end
2453+
24092454
class ClearBasicFilterRequest
24102455
# @private
24112456
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3433,6 +3478,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
34333478
end
34343479
end
34353480

3481+
class PersonProperties
3482+
# @private
3483+
class Representation < Google::Apis::Core::JsonRepresentation
3484+
property :display_format, as: 'displayFormat'
3485+
property :email, as: 'email'
3486+
end
3487+
end
3488+
34363489
class PieChartSpec
34373490
# @private
34383491
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3843,6 +3896,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
38433896
end
38443897
end
38453898

3899+
class RichLinkProperties
3900+
# @private
3901+
class Representation < Google::Apis::Core::JsonRepresentation
3902+
property :mime_type, as: 'mimeType'
3903+
property :uri, as: 'uri'
3904+
end
3905+
end
3906+
38463907
class RowData
38473908
# @private
38483909
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)