google-apis-sheets_v4 0.44.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: d8a3b55f51ac50fe2b566b6e093b68242205d51d895c317fc650b76ef158e143
4
- data.tar.gz: 2f5cbbc2e4dab80daf208139cd69307b170d362085db87725cf0a944a62bed8d
3
+ metadata.gz: 369cd67ea52f4dd0b8aba4eca1e6439f1ac7fbe45abf2b812d498de19b116446
4
+ data.tar.gz: 996ecf4aca07a701fb8a8aac3ee32ec930584a733d6e39f14dba4ad7ef2e1481
5
5
  SHA512:
6
- metadata.gz: 954009dc63db8c58964566b1e48608e4fa34962fef8a3c87228e0eb0e9a3ff49a0ca081e2fcda6249ade871ca64760a548e7785880c283e5b5d160c020898e26
7
- data.tar.gz: 1e7cc41bfb59221ba304d1cacebc918b750a0e1425dc3f55da7da52854d247e1abc9b31f49288609103030c486b0746569d9649d313e4c569ecc94c9ba5c8d01
6
+ metadata.gz: 90735c9fab96a5a3e1892f2368e3afdc90b8c1c56c2714742b74a1b086b1ad7c8f6656acb02cf673340ac84582bab4a8cf1f3519f228e3968911e8ca11109702
7
+ data.tar.gz: 6b60daed3b5386080e1cf7038022a5fe96b0961b66e1681106aab62f480b0efc57f74404f71feb0c59c4728ab33ba75776a9df0353b5a4cc3286d9c20e7ffd31
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.44.0 (2025-05-21)
4
9
 
5
10
  * Regenerated from discovery document revision 20250513
@@ -2610,6 +2610,17 @@ module Google
2610
2610
  class CellData
2611
2611
  include Google::Apis::Core::Hashable
2612
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
+
2613
2624
  # A data source formula.
2614
2625
  # Corresponds to the JSON property `dataSourceFormula`
2615
2626
  # @return [Google::Apis::SheetsV4::DataSourceFormula]
@@ -2689,6 +2700,7 @@ module Google
2689
2700
 
2690
2701
  # Update properties of this object
2691
2702
  def update!(**args)
2703
+ @chip_runs = args[:chip_runs] if args.key?(:chip_runs)
2692
2704
  @data_source_formula = args[:data_source_formula] if args.key?(:data_source_formula)
2693
2705
  @data_source_table = args[:data_source_table] if args.key?(:data_source_table)
2694
2706
  @data_validation = args[:data_validation] if args.key?(:data_validation)
@@ -3278,6 +3290,61 @@ module Google
3278
3290
  end
3279
3291
  end
3280
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
+
3281
3348
  # Clears the basic filter, if any exists on the sheet.
3282
3349
  class ClearBasicFilterRequest
3283
3350
  include Google::Apis::Core::Hashable
@@ -7270,6 +7337,33 @@ module Google
7270
7337
  end
7271
7338
  end
7272
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
+
7273
7367
  # A pie chart.
7274
7368
  class PieChartSpec
7275
7369
  include Google::Apis::Core::Hashable
@@ -8777,6 +8871,36 @@ module Google
8777
8871
  end
8778
8872
  end
8779
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
+
8780
8904
  # Data about each cell in a row.
8781
8905
  class RowData
8782
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.44.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 = "20250513"
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
 
@@ -2245,6 +2269,8 @@ module Google
2245
2269
  class CellData
2246
2270
  # @private
2247
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
+
2248
2274
  property :data_source_formula, as: 'dataSourceFormula', class: Google::Apis::SheetsV4::DataSourceFormula, decorator: Google::Apis::SheetsV4::DataSourceFormula::Representation
2249
2275
 
2250
2276
  property :data_source_table, as: 'dataSourceTable', class: Google::Apis::SheetsV4::DataSourceTable, decorator: Google::Apis::SheetsV4::DataSourceTable::Representation
@@ -2406,6 +2432,25 @@ module Google
2406
2432
  end
2407
2433
  end
2408
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
+
2409
2454
  class ClearBasicFilterRequest
2410
2455
  # @private
2411
2456
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3433,6 +3478,14 @@ module Google
3433
3478
  end
3434
3479
  end
3435
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
+
3436
3489
  class PieChartSpec
3437
3490
  # @private
3438
3491
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3843,6 +3896,14 @@ module Google
3843
3896
  end
3844
3897
  end
3845
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
+
3846
3907
  class RowData
3847
3908
  # @private
3848
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.44.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.44.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: