google-apis-sheets_v4 0.44.0 → 0.47.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: 9250ad8b05394cac233fcf6efbb243206c593d4890f2f5266431110eaf7d7761
4
+ data.tar.gz: 042045b04b1feb84026b6e0d5f814f42441f631fa2d5cb2392dcface8f5ec169
5
5
  SHA512:
6
- metadata.gz: 954009dc63db8c58964566b1e48608e4fa34962fef8a3c87228e0eb0e9a3ff49a0ca081e2fcda6249ade871ca64760a548e7785880c283e5b5d160c020898e26
7
- data.tar.gz: 1e7cc41bfb59221ba304d1cacebc918b750a0e1425dc3f55da7da52854d247e1abc9b31f49288609103030c486b0746569d9649d313e4c569ecc94c9ba5c8d01
6
+ metadata.gz: 5aed2c03a07d98744c7dd11029a9e71a7b4cd35b2435e0046834809b0ae853ca4a3aabdfefcb5d8ed8ee11ffdf85be118c7265b3b705628668e2ea1aa2a7ec0c
7
+ data.tar.gz: 5e9fd64a927a5e84d714847318d60f47f8ba2efe8a8b888de2bd5280be703caabd259e29bd8f3668a5b57cd01542fa31b87b609d7400ee784e1709d4940bd86e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-sheets_v4
2
2
 
3
+ ### v0.47.0 (2026-02-22)
4
+
5
+ * Regenerated from discovery document revision 20260213
6
+
7
+ ### v0.46.0 (2025-11-16)
8
+
9
+ * Regenerated from discovery document revision 20251110
10
+
11
+ ### v0.45.0 (2025-06-22)
12
+
13
+ * Regenerated from discovery document revision 20250616
14
+ * Regenerated using generator version 0.18.0
15
+
3
16
  ### v0.44.0 (2025-05-21)
4
17
 
5
18
  * Regenerated from discovery document revision 20250513
@@ -235,7 +235,8 @@ module Google
235
235
  class AddFilterViewRequest
236
236
  include Google::Apis::Core::Hashable
237
237
 
238
- # A filter view.
238
+ # A filter view. For more information, see [Manage data visibility with filters](
239
+ # https://developers.google.com/workspace/sheets/api/guides/filters).
239
240
  # Corresponds to the JSON property `filter`
240
241
  # @return [Google::Apis::SheetsV4::FilterView]
241
242
  attr_accessor :filter
@@ -254,7 +255,8 @@ module Google
254
255
  class AddFilterViewResponse
255
256
  include Google::Apis::Core::Hashable
256
257
 
257
- # A filter view.
258
+ # A filter view. For more information, see [Manage data visibility with filters](
259
+ # https://developers.google.com/workspace/sheets/api/guides/filters).
258
260
  # Corresponds to the JSON property `filter`
259
261
  # @return [Google::Apis::SheetsV4::FilterView]
260
262
  attr_accessor :filter
@@ -1405,7 +1407,9 @@ module Google
1405
1407
  end
1406
1408
  end
1407
1409
 
1408
- # The default filter associated with a sheet.
1410
+ # The default filter associated with a sheet. For more information, see [Manage
1411
+ # data visibility with filters](https://developers.google.com/workspace/sheets/
1412
+ # api/guides/filters).
1409
1413
  class BasicFilter
1410
1414
  include Google::Apis::Core::Hashable
1411
1415
 
@@ -1574,7 +1578,7 @@ module Google
1574
1578
 
1575
1579
  # The ranges that were cleared, in [A1 notation](https://developers.google.com/
1576
1580
  # workspace/sheets/api/guides/concepts#cell). If the requests are for an
1577
- # unbounded range or a ranger larger than the bounds of the sheet, this is the
1581
+ # unbounded range or a range larger than the bounds of the sheet, this is the
1578
1582
  # actual ranges that were cleared, bounded to the sheet's limits.
1579
1583
  # Corresponds to the JSON property `clearedRanges`
1580
1584
  # @return [Array<String>]
@@ -1621,7 +1625,7 @@ module Google
1621
1625
  include Google::Apis::Core::Hashable
1622
1626
 
1623
1627
  # The ranges that were cleared, in A1 notation. If the requests are for an
1624
- # unbounded range or a ranger larger than the bounds of the sheet, this is the
1628
+ # unbounded range or a range larger than the bounds of the sheet, this is the
1625
1629
  # actual ranges that were cleared, bounded to the sheet's limits.
1626
1630
  # Corresponds to the JSON property `clearedRanges`
1627
1631
  # @return [Array<String>]
@@ -2610,6 +2614,17 @@ module Google
2610
2614
  class CellData
2611
2615
  include Google::Apis::Core::Hashable
2612
2616
 
2617
+ # Optional. Runs of chips applied to subsections of the cell. Properties of a
2618
+ # run start at a specific index in the text and continue until the next run.
2619
+ # When reading, all chipped and non-chipped runs are included. Non-chipped runs
2620
+ # will have an empty Chip. When writing, only runs with chips are included. Runs
2621
+ # containing chips are of length 1 and are represented in the user-entered text
2622
+ # by an “@” placeholder symbol. New runs will overwrite any prior runs. Writing
2623
+ # a new user_entered_value will erase previous runs.
2624
+ # Corresponds to the JSON property `chipRuns`
2625
+ # @return [Array<Google::Apis::SheetsV4::ChipRun>]
2626
+ attr_accessor :chip_runs
2627
+
2613
2628
  # A data source formula.
2614
2629
  # Corresponds to the JSON property `dataSourceFormula`
2615
2630
  # @return [Google::Apis::SheetsV4::DataSourceFormula]
@@ -2689,6 +2704,7 @@ module Google
2689
2704
 
2690
2705
  # Update properties of this object
2691
2706
  def update!(**args)
2707
+ @chip_runs = args[:chip_runs] if args.key?(:chip_runs)
2692
2708
  @data_source_formula = args[:data_source_formula] if args.key?(:data_source_formula)
2693
2709
  @data_source_table = args[:data_source_table] if args.key?(:data_source_table)
2694
2710
  @data_validation = args[:data_validation] if args.key?(:data_validation)
@@ -3278,6 +3294,61 @@ module Google
3278
3294
  end
3279
3295
  end
3280
3296
 
3297
+ # The Smart Chip.
3298
+ class Chip
3299
+ include Google::Apis::Core::Hashable
3300
+
3301
+ # Properties specific to a linked person.
3302
+ # Corresponds to the JSON property `personProperties`
3303
+ # @return [Google::Apis::SheetsV4::PersonProperties]
3304
+ attr_accessor :person_properties
3305
+
3306
+ # Properties of a link to a Google resource (such as a file in Drive, a YouTube
3307
+ # video, a Maps address, or a Calendar event). Only Drive files can be written
3308
+ # as chips. All other rich link types are read only. URIs cannot exceed 2000
3309
+ # bytes when writing. NOTE: Writing Drive file chips requires at least one of
3310
+ # the `drive.file`, `drive.readonly`, or `drive` OAuth scopes.
3311
+ # Corresponds to the JSON property `richLinkProperties`
3312
+ # @return [Google::Apis::SheetsV4::RichLinkProperties]
3313
+ attr_accessor :rich_link_properties
3314
+
3315
+ def initialize(**args)
3316
+ update!(**args)
3317
+ end
3318
+
3319
+ # Update properties of this object
3320
+ def update!(**args)
3321
+ @person_properties = args[:person_properties] if args.key?(:person_properties)
3322
+ @rich_link_properties = args[:rich_link_properties] if args.key?(:rich_link_properties)
3323
+ end
3324
+ end
3325
+
3326
+ # The run of a chip. The chip continues until the start index of the next run.
3327
+ class ChipRun
3328
+ include Google::Apis::Core::Hashable
3329
+
3330
+ # The Smart Chip.
3331
+ # Corresponds to the JSON property `chip`
3332
+ # @return [Google::Apis::SheetsV4::Chip]
3333
+ attr_accessor :chip
3334
+
3335
+ # Required. The zero-based character index where this run starts, in UTF-16 code
3336
+ # units.
3337
+ # Corresponds to the JSON property `startIndex`
3338
+ # @return [Fixnum]
3339
+ attr_accessor :start_index
3340
+
3341
+ def initialize(**args)
3342
+ update!(**args)
3343
+ end
3344
+
3345
+ # Update properties of this object
3346
+ def update!(**args)
3347
+ @chip = args[:chip] if args.key?(:chip)
3348
+ @start_index = args[:start_index] if args.key?(:start_index)
3349
+ end
3350
+ end
3351
+
3281
3352
  # Clears the basic filter, if any exists on the sheet.
3282
3353
  class ClearBasicFilterRequest
3283
3354
  include Google::Apis::Core::Hashable
@@ -3315,7 +3386,7 @@ module Google
3315
3386
  include Google::Apis::Core::Hashable
3316
3387
 
3317
3388
  # The range (in A1 notation) that was cleared. (If the request was for an
3318
- # unbounded range or a ranger larger than the bounds of the sheet, this will be
3389
+ # unbounded range or a range larger than the bounds of the sheet, this will be
3319
3390
  # the actual range that was cleared, bounded to the sheet's limits.)
3320
3391
  # Corresponds to the JSON property `clearedRange`
3321
3392
  # @return [String]
@@ -3641,14 +3712,16 @@ module Google
3641
3712
  class CreateDeveloperMetadataRequest
3642
3713
  include Google::Apis::Core::Hashable
3643
3714
 
3644
- # Developer metadata associated with a location or object in a spreadsheet.
3645
- # Developer metadata may be used to associate arbitrary data with various parts
3646
- # of a spreadsheet and will remain associated at those locations as they move
3647
- # around and the spreadsheet is edited. For example, if developer metadata is
3648
- # associated with row 5 and another row is then subsequently inserted above row
3649
- # 5, that original metadata will still be associated with the row it was first
3650
- # associated with (what is now row 6). If the associated object is deleted its
3651
- # metadata is deleted too.
3715
+ # Developer metadata associated with a location or object in a spreadsheet. For
3716
+ # more information, see [Read, write, and search metadata](https://developers.
3717
+ # google.com/workspace/sheets/api/guides/metadata). Developer metadata may be
3718
+ # used to associate arbitrary data with various parts of a spreadsheet and it
3719
+ # will remain associated at those locations as they move around and the
3720
+ # spreadsheet is edited. For example, if developer metadata is associated with
3721
+ # row 5 and another row is then subsequently inserted above row 5, that original
3722
+ # metadata is still associated with the row it was first associated with (what
3723
+ # is now row 6). If the associated object is deleted then its metadata is
3724
+ # deleted too.
3652
3725
  # Corresponds to the JSON property `developerMetadata`
3653
3726
  # @return [Google::Apis::SheetsV4::DeveloperMetadata]
3654
3727
  attr_accessor :developer_metadata
@@ -3667,14 +3740,16 @@ module Google
3667
3740
  class CreateDeveloperMetadataResponse
3668
3741
  include Google::Apis::Core::Hashable
3669
3742
 
3670
- # Developer metadata associated with a location or object in a spreadsheet.
3671
- # Developer metadata may be used to associate arbitrary data with various parts
3672
- # of a spreadsheet and will remain associated at those locations as they move
3673
- # around and the spreadsheet is edited. For example, if developer metadata is
3674
- # associated with row 5 and another row is then subsequently inserted above row
3675
- # 5, that original metadata will still be associated with the row it was first
3676
- # associated with (what is now row 6). If the associated object is deleted its
3677
- # metadata is deleted too.
3743
+ # Developer metadata associated with a location or object in a spreadsheet. For
3744
+ # more information, see [Read, write, and search metadata](https://developers.
3745
+ # google.com/workspace/sheets/api/guides/metadata). Developer metadata may be
3746
+ # used to associate arbitrary data with various parts of a spreadsheet and it
3747
+ # will remain associated at those locations as they move around and the
3748
+ # spreadsheet is edited. For example, if developer metadata is associated with
3749
+ # row 5 and another row is then subsequently inserted above row 5, that original
3750
+ # metadata is still associated with the row it was first associated with (what
3751
+ # is now row 6). If the associated object is deleted then its metadata is
3752
+ # deleted too.
3678
3753
  # Corresponds to the JSON property `developerMetadata`
3679
3754
  # @return [Google::Apis::SheetsV4::DeveloperMetadata]
3680
3755
  attr_accessor :developer_metadata
@@ -3779,6 +3854,8 @@ module Google
3779
3854
  end
3780
3855
 
3781
3856
  # Filter that describes what data should be selected or returned from a request.
3857
+ # For more information, see [Read, write, and search metadata](https://
3858
+ # developers.google.com/workspace/sheets/api/guides/metadata).
3782
3859
  class DataFilter
3783
3860
  include Google::Apis::Core::Hashable
3784
3861
 
@@ -3793,7 +3870,7 @@ module Google
3793
3870
  # specified, this considers all developer metadata with that key. If a key,
3794
3871
  # visibility, and location type are all specified, this considers all developer
3795
3872
  # metadata with that key and visibility that are associated with a location of
3796
- # that type. In general, this selects all DeveloperMetadata that matches the
3873
+ # that type. In general, this selects all DeveloperMetadata that match the
3797
3874
  # intersection of all the specified fields; any field or combination of fields
3798
3875
  # may be specified.
3799
3876
  # Corresponds to the JSON property `developerMetadataLookup`
@@ -3834,6 +3911,8 @@ module Google
3834
3911
  include Google::Apis::Core::Hashable
3835
3912
 
3836
3913
  # Filter that describes what data should be selected or returned from a request.
3914
+ # For more information, see [Read, write, and search metadata](https://
3915
+ # developers.google.com/workspace/sheets/api/guides/metadata).
3837
3916
  # Corresponds to the JSON property `dataFilter`
3838
3917
  # @return [Google::Apis::SheetsV4::DataFilter]
3839
3918
  attr_accessor :data_filter
@@ -4623,6 +4702,8 @@ module Google
4623
4702
  include Google::Apis::Core::Hashable
4624
4703
 
4625
4704
  # Filter that describes what data should be selected or returned from a request.
4705
+ # For more information, see [Read, write, and search metadata](https://
4706
+ # developers.google.com/workspace/sheets/api/guides/metadata).
4626
4707
  # Corresponds to the JSON property `dataFilter`
4627
4708
  # @return [Google::Apis::SheetsV4::DataFilter]
4628
4709
  attr_accessor :data_filter
@@ -4938,14 +5019,16 @@ module Google
4938
5019
  end
4939
5020
  end
4940
5021
 
4941
- # Developer metadata associated with a location or object in a spreadsheet.
4942
- # Developer metadata may be used to associate arbitrary data with various parts
4943
- # of a spreadsheet and will remain associated at those locations as they move
4944
- # around and the spreadsheet is edited. For example, if developer metadata is
4945
- # associated with row 5 and another row is then subsequently inserted above row
4946
- # 5, that original metadata will still be associated with the row it was first
4947
- # associated with (what is now row 6). If the associated object is deleted its
4948
- # metadata is deleted too.
5022
+ # Developer metadata associated with a location or object in a spreadsheet. For
5023
+ # more information, see [Read, write, and search metadata](https://developers.
5024
+ # google.com/workspace/sheets/api/guides/metadata). Developer metadata may be
5025
+ # used to associate arbitrary data with various parts of a spreadsheet and it
5026
+ # will remain associated at those locations as they move around and the
5027
+ # spreadsheet is edited. For example, if developer metadata is associated with
5028
+ # row 5 and another row is then subsequently inserted above row 5, that original
5029
+ # metadata is still associated with the row it was first associated with (what
5030
+ # is now row 6). If the associated object is deleted then its metadata is
5031
+ # deleted too.
4949
5032
  class DeveloperMetadata
4950
5033
  include Google::Apis::Core::Hashable
4951
5034
 
@@ -4972,7 +5055,7 @@ module Google
4972
5055
  # @return [String]
4973
5056
  attr_accessor :metadata_value
4974
5057
 
4975
- # The metadata visibility. Developer metadata must always have a visibility
5058
+ # The metadata visibility. Developer metadata must always have visibility
4976
5059
  # specified.
4977
5060
  # Corresponds to the JSON property `visibility`
4978
5061
  # @return [String]
@@ -5038,7 +5121,7 @@ module Google
5038
5121
  # specified, this considers all developer metadata with that key. If a key,
5039
5122
  # visibility, and location type are all specified, this considers all developer
5040
5123
  # metadata with that key and visibility that are associated with a location of
5041
- # that type. In general, this selects all DeveloperMetadata that matches the
5124
+ # that type. In general, this selects all DeveloperMetadata that match the
5042
5125
  # intersection of all the specified fields; any field or combination of fields
5043
5126
  # may be specified.
5044
5127
  class DeveloperMetadataLookup
@@ -5060,7 +5143,7 @@ module Google
5060
5143
  # rows. If the field is left unspecified, all location types are considered.
5061
5144
  # This field cannot be specified as SPREADSHEET when the
5062
5145
  # locationMatchingStrategy is specified as INTERSECTING or when the
5063
- # metadataLocation is specified as a non-spreadsheet location: spreadsheet
5146
+ # metadataLocation is specified as a non-spreadsheet location. Spreadsheet
5064
5147
  # metadata cannot intersect any other developer metadata location. This field
5065
5148
  # also must be left unspecified when the locationMatchingStrategy is specified
5066
5149
  # as EXACT.
@@ -5263,7 +5346,8 @@ module Google
5263
5346
  class DuplicateFilterViewResponse
5264
5347
  include Google::Apis::Core::Hashable
5265
5348
 
5266
- # A filter view.
5349
+ # A filter view. For more information, see [Manage data visibility with filters](
5350
+ # https://developers.google.com/workspace/sheets/api/guides/filters).
5267
5351
  # Corresponds to the JSON property `filter`
5268
5352
  # @return [Google::Apis::SheetsV4::FilterView]
5269
5353
  attr_accessor :filter
@@ -5584,7 +5668,7 @@ module Google
5584
5668
  end
5585
5669
  end
5586
5670
 
5587
- # Criteria for showing/hiding rows in a filter or filter view.
5671
+ # Criteria for showing or hiding rows in a filter or filter view.
5588
5672
  class FilterCriteria
5589
5673
  include Google::Apis::Core::Hashable
5590
5674
 
@@ -5736,7 +5820,7 @@ module Google
5736
5820
  # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
5737
5821
  attr_accessor :data_source_column_reference
5738
5822
 
5739
- # Criteria for showing/hiding rows in a filter or filter view.
5823
+ # Criteria for showing or hiding rows in a filter or filter view.
5740
5824
  # Corresponds to the JSON property `filterCriteria`
5741
5825
  # @return [Google::Apis::SheetsV4::FilterCriteria]
5742
5826
  attr_accessor :filter_criteria
@@ -5753,7 +5837,8 @@ module Google
5753
5837
  end
5754
5838
  end
5755
5839
 
5756
- # A filter view.
5840
+ # A filter view. For more information, see [Manage data visibility with filters](
5841
+ # https://developers.google.com/workspace/sheets/api/guides/filters).
5757
5842
  class FilterView
5758
5843
  include Google::Apis::Core::Hashable
5759
5844
 
@@ -5764,7 +5849,7 @@ module Google
5764
5849
  # @return [Hash<String,Google::Apis::SheetsV4::FilterCriteria>]
5765
5850
  attr_accessor :criteria
5766
5851
 
5767
- # The filter criteria for showing/hiding values per column. Both criteria and
5852
+ # The filter criteria for showing or hiding values per column. Both criteria and
5768
5853
  # filter_specs are populated in responses. If both fields are specified in an
5769
5854
  # update request, this field takes precedence.
5770
5855
  # Corresponds to the JSON property `filterSpecs`
@@ -5777,7 +5862,7 @@ module Google
5777
5862
  attr_accessor :filter_view_id
5778
5863
 
5779
5864
  # The named range this filter view is backed by, if any. When writing, only one
5780
- # of range or named_range_id or table_id may be set.
5865
+ # of range, named_range_id, or table_id may be set.
5781
5866
  # Corresponds to the JSON property `namedRangeId`
5782
5867
  # @return [String]
5783
5868
  attr_accessor :named_range_id
@@ -5806,7 +5891,7 @@ module Google
5806
5891
  attr_accessor :sort_specs
5807
5892
 
5808
5893
  # The table this filter view is backed by, if any. When writing, only one of
5809
- # range or named_range_id or table_id may be set.
5894
+ # range, named_range_id, or table_id may be set.
5810
5895
  # Corresponds to the JSON property `tableId`
5811
5896
  # @return [String]
5812
5897
  attr_accessor :table_id
@@ -6797,14 +6882,16 @@ module Google
6797
6882
  # @return [Array<Google::Apis::SheetsV4::DataFilter>]
6798
6883
  attr_accessor :data_filters
6799
6884
 
6800
- # Developer metadata associated with a location or object in a spreadsheet.
6801
- # Developer metadata may be used to associate arbitrary data with various parts
6802
- # of a spreadsheet and will remain associated at those locations as they move
6803
- # around and the spreadsheet is edited. For example, if developer metadata is
6804
- # associated with row 5 and another row is then subsequently inserted above row
6805
- # 5, that original metadata will still be associated with the row it was first
6806
- # associated with (what is now row 6). If the associated object is deleted its
6807
- # metadata is deleted too.
6885
+ # Developer metadata associated with a location or object in a spreadsheet. For
6886
+ # more information, see [Read, write, and search metadata](https://developers.
6887
+ # google.com/workspace/sheets/api/guides/metadata). Developer metadata may be
6888
+ # used to associate arbitrary data with various parts of a spreadsheet and it
6889
+ # will remain associated at those locations as they move around and the
6890
+ # spreadsheet is edited. For example, if developer metadata is associated with
6891
+ # row 5 and another row is then subsequently inserted above row 5, that original
6892
+ # metadata is still associated with the row it was first associated with (what
6893
+ # is now row 6). If the associated object is deleted then its metadata is
6894
+ # deleted too.
6808
6895
  # Corresponds to the JSON property `developerMetadata`
6809
6896
  # @return [Google::Apis::SheetsV4::DeveloperMetadata]
6810
6897
  attr_accessor :developer_metadata
@@ -6965,9 +7052,9 @@ module Google
6965
7052
  include Google::Apis::Core::Hashable
6966
7053
 
6967
7054
  # Pattern string used for formatting. If not set, a default pattern based on the
6968
- # user's locale will be used if necessary for the given type. See the [Date and
6969
- # Number Formats guide](https://developers.google.com/workspace/sheets/api/
6970
- # guides/formats) for more information about the supported patterns.
7055
+ # spreadsheet's locale will be used if necessary for the given type. See the [
7056
+ # Date and Number Formats guide](https://developers.google.com/workspace/sheets/
7057
+ # api/guides/formats) for more information about the supported patterns.
6971
7058
  # Corresponds to the JSON property `pattern`
6972
7059
  # @return [String]
6973
7060
  attr_accessor :pattern
@@ -7270,6 +7357,33 @@ module Google
7270
7357
  end
7271
7358
  end
7272
7359
 
7360
+ # Properties specific to a linked person.
7361
+ class PersonProperties
7362
+ include Google::Apis::Core::Hashable
7363
+
7364
+ # Optional. The display format of the person chip. If not set, the default
7365
+ # display format is used.
7366
+ # Corresponds to the JSON property `displayFormat`
7367
+ # @return [String]
7368
+ attr_accessor :display_format
7369
+
7370
+ # Required. The email address linked to this person. This field is always
7371
+ # present.
7372
+ # Corresponds to the JSON property `email`
7373
+ # @return [String]
7374
+ attr_accessor :email
7375
+
7376
+ def initialize(**args)
7377
+ update!(**args)
7378
+ end
7379
+
7380
+ # Update properties of this object
7381
+ def update!(**args)
7382
+ @display_format = args[:display_format] if args.key?(:display_format)
7383
+ @email = args[:email] if args.key?(:email)
7384
+ end
7385
+ end
7386
+
7273
7387
  # A pie chart.
7274
7388
  class PieChartSpec
7275
7389
  include Google::Apis::Core::Hashable
@@ -8777,6 +8891,36 @@ module Google
8777
8891
  end
8778
8892
  end
8779
8893
 
8894
+ # Properties of a link to a Google resource (such as a file in Drive, a YouTube
8895
+ # video, a Maps address, or a Calendar event). Only Drive files can be written
8896
+ # as chips. All other rich link types are read only. URIs cannot exceed 2000
8897
+ # bytes when writing. NOTE: Writing Drive file chips requires at least one of
8898
+ # the `drive.file`, `drive.readonly`, or `drive` OAuth scopes.
8899
+ class RichLinkProperties
8900
+ include Google::Apis::Core::Hashable
8901
+
8902
+ # Output only. The [MIME type](https://developers.google.com/drive/api/v3/mime-
8903
+ # types) of the link, if there's one (for example, when it's a file in Drive).
8904
+ # Corresponds to the JSON property `mimeType`
8905
+ # @return [String]
8906
+ attr_accessor :mime_type
8907
+
8908
+ # Required. The URI to the link. This is always present.
8909
+ # Corresponds to the JSON property `uri`
8910
+ # @return [String]
8911
+ attr_accessor :uri
8912
+
8913
+ def initialize(**args)
8914
+ update!(**args)
8915
+ end
8916
+
8917
+ # Update properties of this object
8918
+ def update!(**args)
8919
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
8920
+ @uri = args[:uri] if args.key?(:uri)
8921
+ end
8922
+ end
8923
+
8780
8924
  # Data about each cell in a row.
8781
8925
  class RowData
8782
8926
  include Google::Apis::Core::Hashable
@@ -8910,7 +9054,9 @@ module Google
8910
9054
  class SetBasicFilterRequest
8911
9055
  include Google::Apis::Core::Hashable
8912
9056
 
8913
- # The default filter associated with a sheet.
9057
+ # The default filter associated with a sheet. For more information, see [Manage
9058
+ # data visibility with filters](https://developers.google.com/workspace/sheets/
9059
+ # api/guides/filters).
8914
9060
  # Corresponds to the JSON property `filter`
8915
9061
  # @return [Google::Apis::SheetsV4::BasicFilter]
8916
9062
  attr_accessor :filter
@@ -8980,7 +9126,9 @@ module Google
8980
9126
  # @return [Array<Google::Apis::SheetsV4::BandedRange>]
8981
9127
  attr_accessor :banded_ranges
8982
9128
 
8983
- # The default filter associated with a sheet.
9129
+ # The default filter associated with a sheet. For more information, see [Manage
9130
+ # data visibility with filters](https://developers.google.com/workspace/sheets/
9131
+ # api/guides/filters).
8984
9132
  # Corresponds to the JSON property `basicFilter`
8985
9133
  # @return [Google::Apis::SheetsV4::BasicFilter]
8986
9134
  attr_accessor :basic_filter
@@ -9322,7 +9470,7 @@ module Google
9322
9470
  # @return [Google::Apis::SheetsV4::GridRange]
9323
9471
  attr_accessor :data_range
9324
9472
 
9325
- # Criteria for showing/hiding rows in a filter or filter view.
9473
+ # Criteria for showing or hiding rows in a filter or filter view.
9326
9474
  # Corresponds to the JSON property `filterCriteria`
9327
9475
  # @return [Google::Apis::SheetsV4::FilterCriteria]
9328
9476
  attr_accessor :filter_criteria
@@ -11003,14 +11151,16 @@ module Google
11003
11151
  # @return [Array<Google::Apis::SheetsV4::DataFilter>]
11004
11152
  attr_accessor :data_filters
11005
11153
 
11006
- # Developer metadata associated with a location or object in a spreadsheet.
11007
- # Developer metadata may be used to associate arbitrary data with various parts
11008
- # of a spreadsheet and will remain associated at those locations as they move
11009
- # around and the spreadsheet is edited. For example, if developer metadata is
11010
- # associated with row 5 and another row is then subsequently inserted above row
11011
- # 5, that original metadata will still be associated with the row it was first
11012
- # associated with (what is now row 6). If the associated object is deleted its
11013
- # metadata is deleted too.
11154
+ # Developer metadata associated with a location or object in a spreadsheet. For
11155
+ # more information, see [Read, write, and search metadata](https://developers.
11156
+ # google.com/workspace/sheets/api/guides/metadata). Developer metadata may be
11157
+ # used to associate arbitrary data with various parts of a spreadsheet and it
11158
+ # will remain associated at those locations as they move around and the
11159
+ # spreadsheet is edited. For example, if developer metadata is associated with
11160
+ # row 5 and another row is then subsequently inserted above row 5, that original
11161
+ # metadata is still associated with the row it was first associated with (what
11162
+ # is now row 6). If the associated object is deleted then its metadata is
11163
+ # deleted too.
11014
11164
  # Corresponds to the JSON property `developerMetadata`
11015
11165
  # @return [Google::Apis::SheetsV4::DeveloperMetadata]
11016
11166
  attr_accessor :developer_metadata
@@ -11222,7 +11372,8 @@ module Google
11222
11372
  # @return [String]
11223
11373
  attr_accessor :fields
11224
11374
 
11225
- # A filter view.
11375
+ # A filter view. For more information, see [Manage data visibility with filters](
11376
+ # https://developers.google.com/workspace/sheets/api/guides/filters).
11226
11377
  # Corresponds to the JSON property `filter`
11227
11378
  # @return [Google::Apis::SheetsV4::FilterView]
11228
11379
  attr_accessor :filter
@@ -11412,6 +11563,8 @@ module Google
11412
11563
  include Google::Apis::Core::Hashable
11413
11564
 
11414
11565
  # Filter that describes what data should be selected or returned from a request.
11566
+ # For more information, see [Read, write, and search metadata](https://
11567
+ # developers.google.com/workspace/sheets/api/guides/metadata).
11415
11568
  # Corresponds to the JSON property `dataFilter`
11416
11569
  # @return [Google::Apis::SheetsV4::DataFilter]
11417
11570
  attr_accessor :data_filter
@@ -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.47.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 = "20260213"
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
@@ -180,17 +180,19 @@ module Google
180
180
  end
181
181
 
182
182
  # Returns the spreadsheet at the given ID. The caller must specify the
183
- # spreadsheet ID. This method differs from GetSpreadsheet in that it allows
184
- # selecting which subsets of spreadsheet data to return by specifying a
185
- # dataFilters parameter. Multiple DataFilters can be specified. Specifying one
186
- # or more data filters returns the portions of the spreadsheet that intersect
187
- # ranges matched by any of the filters. By default, data within grids is not
188
- # returned. You can include grid data one of 2 ways: * Specify a [field mask](
189
- # https://developers.google.com/workspace/sheets/api/guides/field-masks) listing
190
- # your desired fields using the `fields` URL parameter in HTTP * Set the
191
- # includeGridData parameter to true. If a field mask is set, the `
192
- # includeGridData` parameter is ignored For large spreadsheets, as a best
193
- # practice, retrieve only the specific spreadsheet fields that you want.
183
+ # spreadsheet ID. For more information, see [Read, write, and search metadata](
184
+ # https://developers.google.com/workspace/sheets/api/guides/metadata). This
185
+ # method differs from GetSpreadsheet in that it allows selecting which subsets
186
+ # of spreadsheet data to return by specifying a dataFilters parameter. Multiple
187
+ # DataFilters can be specified. Specifying one or more data filters returns the
188
+ # portions of the spreadsheet that intersect ranges matched by any of the
189
+ # filters. By default, data within grids is not returned. You can include grid
190
+ # data in one of two ways: * Specify a [field mask](https://developers.google.
191
+ # com/workspace/sheets/api/guides/field-masks) listing your desired fields using
192
+ # the `fields` URL parameter in HTTP. * Set the includeGridData parameter to `
193
+ # true`. If a field mask is set, the `includeGridData` parameter is ignored. For
194
+ # large spreadsheets, as a best practice, retrieve only the specific spreadsheet
195
+ # fields that you want.
194
196
  # @param [String] spreadsheet_id
195
197
  # The spreadsheet to request.
196
198
  # @param [Google::Apis::SheetsV4::GetSpreadsheetByDataFilterRequest] get_spreadsheet_by_data_filter_request_object
@@ -224,7 +226,9 @@ module Google
224
226
  end
225
227
 
226
228
  # Returns the developer metadata with the specified ID. The caller must specify
227
- # the spreadsheet ID and the developer metadata's unique metadataId.
229
+ # the spreadsheet ID and the developer metadata's unique metadataId. For more
230
+ # information, see [Read, write, and search metadata](https://developers.google.
231
+ # com/workspace/sheets/api/guides/metadata).
228
232
  # @param [String] spreadsheet_id
229
233
  # The ID of the spreadsheet to retrieve metadata from.
230
234
  # @param [Fixnum] metadata_id
@@ -257,11 +261,13 @@ module Google
257
261
  execute_or_queue_command(command, &block)
258
262
  end
259
263
 
260
- # Returns all developer metadata matching the specified DataFilter. If the
261
- # provided DataFilter represents a DeveloperMetadataLookup object, this will
262
- # return all DeveloperMetadata entries selected by it. If the DataFilter
263
- # represents a location in a spreadsheet, this will return all developer
264
- # metadata associated with locations intersecting that region.
264
+ # Returns all developer metadata matching the specified DataFilter. For more
265
+ # information, see [Read, write, and search metadata](https://developers.google.
266
+ # com/workspace/sheets/api/guides/metadata). If the provided DataFilter
267
+ # represents a DeveloperMetadataLookup object, this will return all
268
+ # DeveloperMetadata entries selected by it. If the DataFilter represents a
269
+ # location in a spreadsheet, this will return all developer metadata associated
270
+ # with locations intersecting that region.
265
271
  # @param [String] spreadsheet_id
266
272
  # The ID of the spreadsheet to retrieve metadata from.
267
273
  # @param [Google::Apis::SheetsV4::SearchDeveloperMetadataRequest] search_developer_metadata_request_object
@@ -433,11 +439,12 @@ module Google
433
439
  execute_or_queue_command(command, &block)
434
440
  end
435
441
 
436
- # Clears one or more ranges of values from a spreadsheet. The caller must
437
- # specify the spreadsheet ID and one or more DataFilters. Ranges matching any of
438
- # the specified data filters will be cleared. Only values are cleared -- all
439
- # other properties of the cell (such as formatting, data validation, etc..) are
440
- # kept.
442
+ # Clears one or more ranges of values from a spreadsheet. For more information,
443
+ # see [Read, write, and search metadata](https://developers.google.com/workspace/
444
+ # sheets/api/guides/metadata). The caller must specify the spreadsheet ID and
445
+ # one or more DataFilters. Ranges matching any of the specified data filters
446
+ # will be cleared. Only values are cleared -- all other properties of the cell (
447
+ # such as formatting, data validation, etc.) are kept.
441
448
  # @param [String] spreadsheet_id
442
449
  # The ID of the spreadsheet to update.
443
450
  # @param [Google::Apis::SheetsV4::BatchClearValuesByDataFilterRequest] batch_clear_values_by_data_filter_request_object
@@ -521,8 +528,10 @@ module Google
521
528
  end
522
529
 
523
530
  # Returns one or more ranges of values that match the specified data filters.
524
- # The caller must specify the spreadsheet ID and one or more DataFilters. Ranges
525
- # that match any of the data filters in the request will be returned.
531
+ # For more information, see [Read, write, and search metadata](https://
532
+ # developers.google.com/workspace/sheets/api/guides/metadata). The caller must
533
+ # specify the spreadsheet ID and one or more DataFilters. Ranges that match any
534
+ # of the data filters in the request will be returned.
526
535
  # @param [String] spreadsheet_id
527
536
  # The ID of the spreadsheet to retrieve data from.
528
537
  # @param [Google::Apis::SheetsV4::BatchGetValuesByDataFilterRequest] batch_get_values_by_data_filter_request_object
@@ -589,8 +598,10 @@ module Google
589
598
  execute_or_queue_command(command, &block)
590
599
  end
591
600
 
592
- # Sets values in one or more ranges of a spreadsheet. The caller must specify
593
- # the spreadsheet ID, a valueInputOption, and one or more DataFilterValueRanges.
601
+ # Sets values in one or more ranges of a spreadsheet. For more information, see [
602
+ # Read, write, and search metadata](https://developers.google.com/workspace/
603
+ # sheets/api/guides/metadata). The caller must specify the spreadsheet ID, a
604
+ # valueInputOption, and one or more DataFilterValueRanges.
594
605
  # @param [String] spreadsheet_id
595
606
  # The ID of the spreadsheet to update.
596
607
  # @param [Google::Apis::SheetsV4::BatchUpdateValuesByDataFilterRequest] batch_update_values_by_data_filter_request_object
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.47.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.47.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: