google-apis-sheets_v4 0.43.0 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76c0a4c3e6c8d9bb778115d9edecfc2b75839993fcaa66cc7f204749cf228bb9
4
- data.tar.gz: 5c22b478b7b68929c82c40bcd756cc40417a8a7d5682cfc3e855dcc11679dd48
3
+ metadata.gz: 369cd67ea52f4dd0b8aba4eca1e6439f1ac7fbe45abf2b812d498de19b116446
4
+ data.tar.gz: 996ecf4aca07a701fb8a8aac3ee32ec930584a733d6e39f14dba4ad7ef2e1481
5
5
  SHA512:
6
- metadata.gz: 80b36c20f00ab92d262d3c1666e4f883fd0cd2bb74040db06d86f0fa4edbf0c3474ae94235a7d67ff02f39dfea4232b2cc64b2cac93b8ea8aac5b009a3bf82da
7
- data.tar.gz: 8ae13bc068423c3b4fcb422e437715332260e7b99879dc35f356595026c330420549c12f6cf8a634fc941ada3558bba52897402d1ec784684cd6d3e2c0c84d80
6
+ metadata.gz: 90735c9fab96a5a3e1892f2368e3afdc90b8c1c56c2714742b74a1b086b1ad7c8f6656acb02cf673340ac84582bab4a8cf1f3519f228e3968911e8ca11109702
7
+ data.tar.gz: 6b60daed3b5386080e1cf7038022a5fe96b0961b66e1681106aab62f480b0efc57f74404f71feb0c59c4728ab33ba75776a9df0353b5a4cc3286d9c20e7ffd31
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-sheets_v4
2
2
 
3
+ ### v0.45.0 (2025-06-22)
4
+
5
+ * Regenerated from discovery document revision 20250616
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.44.0 (2025-05-21)
9
+
10
+ * Regenerated from discovery document revision 20250513
11
+
3
12
  ### v0.43.0 (2025-05-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20250509
@@ -643,11 +643,17 @@ module Google
643
643
  class BandedRange
644
644
  include Google::Apis::Core::Hashable
645
645
 
646
- # The ID of the banded range.
646
+ # The ID of the banded range. If unset, refer to banded_range_reference.
647
647
  # Corresponds to the JSON property `bandedRangeId`
648
648
  # @return [Fixnum]
649
649
  attr_accessor :banded_range_id
650
650
 
651
+ # Output only. The reference of the banded range, used to identify the ID that
652
+ # is not supported by the banded_range_id.
653
+ # Corresponds to the JSON property `bandedRangeReference`
654
+ # @return [String]
655
+ attr_accessor :banded_range_reference
656
+
651
657
  # Properties referring a single dimension (either row or column). If both
652
658
  # BandedRange.row_properties and BandedRange.column_properties are set, the fill
653
659
  # colors are applied to cells according to the following rules: * header_color
@@ -700,6 +706,7 @@ module Google
700
706
  # Update properties of this object
701
707
  def update!(**args)
702
708
  @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id)
709
+ @banded_range_reference = args[:banded_range_reference] if args.key?(:banded_range_reference)
703
710
  @column_properties = args[:column_properties] if args.key?(:column_properties)
704
711
  @range = args[:range] if args.key?(:range)
705
712
  @row_properties = args[:row_properties] if args.key?(:row_properties)
@@ -2603,6 +2610,17 @@ module Google
2603
2610
  class CellData
2604
2611
  include Google::Apis::Core::Hashable
2605
2612
 
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. When writing, only runs with chips are included. Runs
2617
+ # containing chips are of length 1 and are represented in the user-entered text
2618
+ # by an “@” placeholder symbol. New runs will overwrite any prior runs. Writing
2619
+ # 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
+
2606
2624
  # A data source formula.
2607
2625
  # Corresponds to the JSON property `dataSourceFormula`
2608
2626
  # @return [Google::Apis::SheetsV4::DataSourceFormula]
@@ -2682,6 +2700,7 @@ module Google
2682
2700
 
2683
2701
  # Update properties of this object
2684
2702
  def update!(**args)
2703
+ @chip_runs = args[:chip_runs] if args.key?(:chip_runs)
2685
2704
  @data_source_formula = args[:data_source_formula] if args.key?(:data_source_formula)
2686
2705
  @data_source_table = args[:data_source_table] if args.key?(:data_source_table)
2687
2706
  @data_validation = args[:data_validation] if args.key?(:data_validation)
@@ -3271,6 +3290,61 @@ module Google
3271
3290
  end
3272
3291
  end
3273
3292
 
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
+
3274
3348
  # Clears the basic filter, if any exists on the sheet.
3275
3349
  class ClearBasicFilterRequest
3276
3350
  include Google::Apis::Core::Hashable
@@ -7263,6 +7337,33 @@ module Google
7263
7337
  end
7264
7338
  end
7265
7339
 
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
+
7266
7367
  # A pie chart.
7267
7368
  class PieChartSpec
7268
7369
  include Google::Apis::Core::Hashable
@@ -8770,6 +8871,36 @@ module Google
8770
8871
  end
8771
8872
  end
8772
8873
 
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
+
8773
8904
  # Data about each cell in a row.
8774
8905
  class RowData
8775
8906
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SheetsV4
18
18
  # Version of the google-apis-sheets_v4 gem
19
- GEM_VERSION = "0.43.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250509"
25
+ REVISION = "20250616"
26
26
  end
27
27
  end
28
28
  end
@@ -460,6 +460,18 @@ module Google
460
460
  include Google::Apis::Core::JsonObjectSupport
461
461
  end
462
462
 
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
+
463
475
  class ClearBasicFilterRequest
464
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
477
 
@@ -1078,6 +1090,12 @@ module Google
1078
1090
  include Google::Apis::Core::JsonObjectSupport
1079
1091
  end
1080
1092
 
1093
+ class PersonProperties
1094
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1095
+
1096
+ include Google::Apis::Core::JsonObjectSupport
1097
+ end
1098
+
1081
1099
  class PieChartSpec
1082
1100
  class Representation < Google::Apis::Core::JsonRepresentation; end
1083
1101
 
@@ -1198,6 +1216,12 @@ module Google
1198
1216
  include Google::Apis::Core::JsonObjectSupport
1199
1217
  end
1200
1218
 
1219
+ class RichLinkProperties
1220
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1221
+
1222
+ include Google::Apis::Core::JsonObjectSupport
1223
+ end
1224
+
1201
1225
  class RowData
1202
1226
  class Representation < Google::Apis::Core::JsonRepresentation; end
1203
1227
 
@@ -1796,6 +1820,7 @@ module Google
1796
1820
  # @private
1797
1821
  class Representation < Google::Apis::Core::JsonRepresentation
1798
1822
  property :banded_range_id, as: 'bandedRangeId'
1823
+ property :banded_range_reference, as: 'bandedRangeReference'
1799
1824
  property :column_properties, as: 'columnProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation
1800
1825
 
1801
1826
  property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
@@ -2244,6 +2269,8 @@ module Google
2244
2269
  class CellData
2245
2270
  # @private
2246
2271
  class Representation < Google::Apis::Core::JsonRepresentation
2272
+ collection :chip_runs, as: 'chipRuns', class: Google::Apis::SheetsV4::ChipRun, decorator: Google::Apis::SheetsV4::ChipRun::Representation
2273
+
2247
2274
  property :data_source_formula, as: 'dataSourceFormula', class: Google::Apis::SheetsV4::DataSourceFormula, decorator: Google::Apis::SheetsV4::DataSourceFormula::Representation
2248
2275
 
2249
2276
  property :data_source_table, as: 'dataSourceTable', class: Google::Apis::SheetsV4::DataSourceTable, decorator: Google::Apis::SheetsV4::DataSourceTable::Representation
@@ -2405,6 +2432,25 @@ module Google
2405
2432
  end
2406
2433
  end
2407
2434
 
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
+
2408
2454
  class ClearBasicFilterRequest
2409
2455
  # @private
2410
2456
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3432,6 +3478,14 @@ module Google
3432
3478
  end
3433
3479
  end
3434
3480
 
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
+
3435
3489
  class PieChartSpec
3436
3490
  # @private
3437
3491
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3842,6 +3896,14 @@ module Google
3842
3896
  end
3843
3897
  end
3844
3898
 
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
+
3845
3907
  class RowData
3846
3908
  # @private
3847
3909
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sheets_v4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sheets_v4/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-sheets_v4/v0.43.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sheets_v4/v0.45.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sheets_v4
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Google Sheets API V4
79
79
  test_files: []