google-apis-docs_v1 0.40.0 → 0.41.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: 8b05b0bf23f7d41464d100469cd1b749eab4b19466a1ddec73cad977c5b36804
4
- data.tar.gz: 1dc4b2d467528c373e5e81aa2eea2c007a7fc73c4abbbc48eade31515e02344f
3
+ metadata.gz: 04e0aab71085d2d91e24ff7b32fc706d80d1bd2b75d4a31a837b7f9c24ec8aa3
4
+ data.tar.gz: 5c244b262947489f1b047da90eff341e7d11afc69fce3e189e677ef2c6793d14
5
5
  SHA512:
6
- metadata.gz: 8e5be470b2d0436082b496f3aa7ecde673fe60399fc1ea44b8a410fb21985dc308fe9513b7044ac11fa85b307e002421bbfba8e4c34de9c555acbd223fcd120f
7
- data.tar.gz: 4798ae4741d3a2e3249c90d0a2e671f6ddccffe7609d7c4d6e506d4f2f101d9e5b7df162120e6f277588a202de3063e411be44970b33146ec8153d9e14c7b9a5
6
+ metadata.gz: 6be7f53d465b298e9b63d7201fac0dc599f5ae1979498f02ce4907f1b56e7492f584e695760dffe94e2b5be6853db09b12526e8de295dddd94c9dbc2dcd4c0ba
7
+ data.tar.gz: '09ac19b704556c64e24130bc0614b23412aa260c1d8b480704c26a3f83ec527b9d14c2b9ec82c33e86a378c956c694bb99d644cf73474aa45d4e8bc072b1ce20'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-docs_v1
2
2
 
3
+ ### v0.41.0 (2026-01-11)
4
+
5
+ * Regenerated from discovery document revision 20251222
6
+
3
7
  ### v0.40.0 (2025-12-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20251215
@@ -22,6 +22,45 @@ module Google
22
22
  module Apis
23
23
  module DocsV1
24
24
 
25
+ # Adds a document tab. When a tab is added at a given index, all subsequent tabs'
26
+ # indexes are incremented.
27
+ class AddDocumentTabRequest
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # Properties of a tab.
31
+ # Corresponds to the JSON property `tabProperties`
32
+ # @return [Google::Apis::DocsV1::TabProperties]
33
+ attr_accessor :tab_properties
34
+
35
+ def initialize(**args)
36
+ update!(**args)
37
+ end
38
+
39
+ # Update properties of this object
40
+ def update!(**args)
41
+ @tab_properties = args[:tab_properties] if args.key?(:tab_properties)
42
+ end
43
+ end
44
+
45
+ # The result of adding a document tab.
46
+ class AddDocumentTabResponse
47
+ include Google::Apis::Core::Hashable
48
+
49
+ # Properties of a tab.
50
+ # Corresponds to the JSON property `tabProperties`
51
+ # @return [Google::Apis::DocsV1::TabProperties]
52
+ attr_accessor :tab_properties
53
+
54
+ def initialize(**args)
55
+ update!(**args)
56
+ end
57
+
58
+ # Update properties of this object
59
+ def update!(**args)
60
+ @tab_properties = args[:tab_properties] if args.key?(:tab_properties)
61
+ end
62
+ end
63
+
25
64
  # A ParagraphElement representing a spot in the text that's dynamically replaced
26
65
  # with content that can change over time, like a page number.
27
66
  class AutoText
@@ -1046,6 +1085,25 @@ module Google
1046
1085
  end
1047
1086
  end
1048
1087
 
1088
+ # Deletes a tab. If the tab has child tabs, they are deleted as well.
1089
+ class DeleteTabRequest
1090
+ include Google::Apis::Core::Hashable
1091
+
1092
+ # The ID of the tab to delete.
1093
+ # Corresponds to the JSON property `tabId`
1094
+ # @return [String]
1095
+ attr_accessor :tab_id
1096
+
1097
+ def initialize(**args)
1098
+ update!(**args)
1099
+ end
1100
+
1101
+ # Update properties of this object
1102
+ def update!(**args)
1103
+ @tab_id = args[:tab_id] if args.key?(:tab_id)
1104
+ end
1105
+ end
1106
+
1049
1107
  # Deletes a column from a table.
1050
1108
  class DeleteTableColumnRequest
1051
1109
  include Google::Apis::Core::Hashable
@@ -4606,6 +4664,12 @@ module Google
4606
4664
  class Request
4607
4665
  include Google::Apis::Core::Hashable
4608
4666
 
4667
+ # Adds a document tab. When a tab is added at a given index, all subsequent tabs'
4668
+ # indexes are incremented.
4669
+ # Corresponds to the JSON property `addDocumentTab`
4670
+ # @return [Google::Apis::DocsV1::AddDocumentTabRequest]
4671
+ attr_accessor :add_document_tab
4672
+
4609
4673
  # Creates a Footer. The new footer is applied to the SectionStyle at the
4610
4674
  # location of the SectionBreak if specified, otherwise it is applied to the
4611
4675
  # DocumentStyle. If a footer of the specified type already exists, a 400 bad
@@ -4677,6 +4741,11 @@ module Google
4677
4741
  # @return [Google::Apis::DocsV1::DeletePositionedObjectRequest]
4678
4742
  attr_accessor :delete_positioned_object
4679
4743
 
4744
+ # Deletes a tab. If the tab has child tabs, they are deleted as well.
4745
+ # Corresponds to the JSON property `deleteTab`
4746
+ # @return [Google::Apis::DocsV1::DeleteTabRequest]
4747
+ attr_accessor :delete_tab
4748
+
4680
4749
  # Deletes a column from a table.
4681
4750
  # Corresponds to the JSON property `deleteTableColumn`
4682
4751
  # @return [Google::Apis::DocsV1::DeleteTableColumnRequest]
@@ -4776,6 +4845,11 @@ module Google
4776
4845
  # @return [Google::Apis::DocsV1::UpdateDocumentStyleRequest]
4777
4846
  attr_accessor :update_document_style
4778
4847
 
4848
+ # Update the properties of a document tab.
4849
+ # Corresponds to the JSON property `updateDocumentTabProperties`
4850
+ # @return [Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest]
4851
+ attr_accessor :update_document_tab_properties
4852
+
4779
4853
  # Update the styling of all paragraphs that overlap with the given range.
4780
4854
  # Corresponds to the JSON property `updateParagraphStyle`
4781
4855
  # @return [Google::Apis::DocsV1::UpdateParagraphStyleRequest]
@@ -4812,6 +4886,7 @@ module Google
4812
4886
 
4813
4887
  # Update properties of this object
4814
4888
  def update!(**args)
4889
+ @add_document_tab = args[:add_document_tab] if args.key?(:add_document_tab)
4815
4890
  @create_footer = args[:create_footer] if args.key?(:create_footer)
4816
4891
  @create_footnote = args[:create_footnote] if args.key?(:create_footnote)
4817
4892
  @create_header = args[:create_header] if args.key?(:create_header)
@@ -4823,6 +4898,7 @@ module Google
4823
4898
  @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range)
4824
4899
  @delete_paragraph_bullets = args[:delete_paragraph_bullets] if args.key?(:delete_paragraph_bullets)
4825
4900
  @delete_positioned_object = args[:delete_positioned_object] if args.key?(:delete_positioned_object)
4901
+ @delete_tab = args[:delete_tab] if args.key?(:delete_tab)
4826
4902
  @delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column)
4827
4903
  @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
4828
4904
  @insert_date = args[:insert_date] if args.key?(:insert_date)
@@ -4841,6 +4917,7 @@ module Google
4841
4917
  @replace_named_range_content = args[:replace_named_range_content] if args.key?(:replace_named_range_content)
4842
4918
  @unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells)
4843
4919
  @update_document_style = args[:update_document_style] if args.key?(:update_document_style)
4920
+ @update_document_tab_properties = args[:update_document_tab_properties] if args.key?(:update_document_tab_properties)
4844
4921
  @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
4845
4922
  @update_section_style = args[:update_section_style] if args.key?(:update_section_style)
4846
4923
  @update_table_cell_style = args[:update_table_cell_style] if args.key?(:update_table_cell_style)
@@ -4854,6 +4931,11 @@ module Google
4854
4931
  class Response
4855
4932
  include Google::Apis::Core::Hashable
4856
4933
 
4934
+ # The result of adding a document tab.
4935
+ # Corresponds to the JSON property `addDocumentTab`
4936
+ # @return [Google::Apis::DocsV1::AddDocumentTabResponse]
4937
+ attr_accessor :add_document_tab
4938
+
4857
4939
  # The result of creating a footer.
4858
4940
  # Corresponds to the JSON property `createFooter`
4859
4941
  # @return [Google::Apis::DocsV1::CreateFooterResponse]
@@ -4895,6 +4977,7 @@ module Google
4895
4977
 
4896
4978
  # Update properties of this object
4897
4979
  def update!(**args)
4980
+ @add_document_tab = args[:add_document_tab] if args.key?(:add_document_tab)
4898
4981
  @create_footer = args[:create_footer] if args.key?(:create_footer)
4899
4982
  @create_footnote = args[:create_footnote] if args.key?(:create_footnote)
4900
4983
  @create_header = args[:create_header] if args.key?(:create_header)
@@ -5898,7 +5981,7 @@ module Google
5898
5981
  # @return [String]
5899
5982
  attr_accessor :parent_tab_id
5900
5983
 
5901
- # Output only. The ID of the tab. This field can't be changed.
5984
+ # The immutable ID of the tab.
5902
5985
  # Corresponds to the JSON property `tabId`
5903
5986
  # @return [String]
5904
5987
  attr_accessor :tab_id
@@ -6868,6 +6951,33 @@ module Google
6868
6951
  end
6869
6952
  end
6870
6953
 
6954
+ # Update the properties of a document tab.
6955
+ class UpdateDocumentTabPropertiesRequest
6956
+ include Google::Apis::Core::Hashable
6957
+
6958
+ # The fields that should be updated. At least one field must be specified. The
6959
+ # root `tab_properties` is implied and should not be specified. A single `"*"`
6960
+ # can be used as short-hand for listing every field.
6961
+ # Corresponds to the JSON property `fields`
6962
+ # @return [String]
6963
+ attr_accessor :fields
6964
+
6965
+ # Properties of a tab.
6966
+ # Corresponds to the JSON property `tabProperties`
6967
+ # @return [Google::Apis::DocsV1::TabProperties]
6968
+ attr_accessor :tab_properties
6969
+
6970
+ def initialize(**args)
6971
+ update!(**args)
6972
+ end
6973
+
6974
+ # Update properties of this object
6975
+ def update!(**args)
6976
+ @fields = args[:fields] if args.key?(:fields)
6977
+ @tab_properties = args[:tab_properties] if args.key?(:tab_properties)
6978
+ end
6979
+ end
6980
+
6871
6981
  # Update the styling of all paragraphs that overlap with the given range.
6872
6982
  class UpdateParagraphStyleRequest
6873
6983
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocsV1
18
18
  # Version of the google-apis-docs_v1 gem
19
- GEM_VERSION = "0.40.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251215"
25
+ REVISION = "20251222"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module DocsV1
24
24
 
25
+ class AddDocumentTabRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AddDocumentTabResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class AutoText
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -208,6 +220,12 @@ module Google
208
220
  include Google::Apis::Core::JsonObjectSupport
209
221
  end
210
222
 
223
+ class DeleteTabRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
211
229
  class DeleteTableColumnRequest
212
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
231
 
@@ -958,6 +976,12 @@ module Google
958
976
  include Google::Apis::Core::JsonObjectSupport
959
977
  end
960
978
 
979
+ class UpdateDocumentTabPropertiesRequest
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
961
985
  class UpdateParagraphStyleRequest
962
986
  class Representation < Google::Apis::Core::JsonRepresentation; end
963
987
 
@@ -1006,6 +1030,22 @@ module Google
1006
1030
  include Google::Apis::Core::JsonObjectSupport
1007
1031
  end
1008
1032
 
1033
+ class AddDocumentTabRequest
1034
+ # @private
1035
+ class Representation < Google::Apis::Core::JsonRepresentation
1036
+ property :tab_properties, as: 'tabProperties', class: Google::Apis::DocsV1::TabProperties, decorator: Google::Apis::DocsV1::TabProperties::Representation
1037
+
1038
+ end
1039
+ end
1040
+
1041
+ class AddDocumentTabResponse
1042
+ # @private
1043
+ class Representation < Google::Apis::Core::JsonRepresentation
1044
+ property :tab_properties, as: 'tabProperties', class: Google::Apis::DocsV1::TabProperties, decorator: Google::Apis::DocsV1::TabProperties::Representation
1045
+
1046
+ end
1047
+ end
1048
+
1009
1049
  class AutoText
1010
1050
  # @private
1011
1051
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1297,6 +1337,13 @@ module Google
1297
1337
  end
1298
1338
  end
1299
1339
 
1340
+ class DeleteTabRequest
1341
+ # @private
1342
+ class Representation < Google::Apis::Core::JsonRepresentation
1343
+ property :tab_id, as: 'tabId'
1344
+ end
1345
+ end
1346
+
1300
1347
  class DeleteTableColumnRequest
1301
1348
  # @private
1302
1349
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2256,6 +2303,8 @@ module Google
2256
2303
  class Request
2257
2304
  # @private
2258
2305
  class Representation < Google::Apis::Core::JsonRepresentation
2306
+ property :add_document_tab, as: 'addDocumentTab', class: Google::Apis::DocsV1::AddDocumentTabRequest, decorator: Google::Apis::DocsV1::AddDocumentTabRequest::Representation
2307
+
2259
2308
  property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterRequest, decorator: Google::Apis::DocsV1::CreateFooterRequest::Representation
2260
2309
 
2261
2310
  property :create_footnote, as: 'createFootnote', class: Google::Apis::DocsV1::CreateFootnoteRequest, decorator: Google::Apis::DocsV1::CreateFootnoteRequest::Representation
@@ -2278,6 +2327,8 @@ module Google
2278
2327
 
2279
2328
  property :delete_positioned_object, as: 'deletePositionedObject', class: Google::Apis::DocsV1::DeletePositionedObjectRequest, decorator: Google::Apis::DocsV1::DeletePositionedObjectRequest::Representation
2280
2329
 
2330
+ property :delete_tab, as: 'deleteTab', class: Google::Apis::DocsV1::DeleteTabRequest, decorator: Google::Apis::DocsV1::DeleteTabRequest::Representation
2331
+
2281
2332
  property :delete_table_column, as: 'deleteTableColumn', class: Google::Apis::DocsV1::DeleteTableColumnRequest, decorator: Google::Apis::DocsV1::DeleteTableColumnRequest::Representation
2282
2333
 
2283
2334
  property :delete_table_row, as: 'deleteTableRow', class: Google::Apis::DocsV1::DeleteTableRowRequest, decorator: Google::Apis::DocsV1::DeleteTableRowRequest::Representation
@@ -2314,6 +2365,8 @@ module Google
2314
2365
 
2315
2366
  property :update_document_style, as: 'updateDocumentStyle', class: Google::Apis::DocsV1::UpdateDocumentStyleRequest, decorator: Google::Apis::DocsV1::UpdateDocumentStyleRequest::Representation
2316
2367
 
2368
+ property :update_document_tab_properties, as: 'updateDocumentTabProperties', class: Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest, decorator: Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest::Representation
2369
+
2317
2370
  property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::DocsV1::UpdateParagraphStyleRequest, decorator: Google::Apis::DocsV1::UpdateParagraphStyleRequest::Representation
2318
2371
 
2319
2372
  property :update_section_style, as: 'updateSectionStyle', class: Google::Apis::DocsV1::UpdateSectionStyleRequest, decorator: Google::Apis::DocsV1::UpdateSectionStyleRequest::Representation
@@ -2332,6 +2385,8 @@ module Google
2332
2385
  class Response
2333
2386
  # @private
2334
2387
  class Representation < Google::Apis::Core::JsonRepresentation
2388
+ property :add_document_tab, as: 'addDocumentTab', class: Google::Apis::DocsV1::AddDocumentTabResponse, decorator: Google::Apis::DocsV1::AddDocumentTabResponse::Representation
2389
+
2335
2390
  property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterResponse, decorator: Google::Apis::DocsV1::CreateFooterResponse::Representation
2336
2391
 
2337
2392
  property :create_footnote, as: 'createFootnote', class: Google::Apis::DocsV1::CreateFootnoteResponse, decorator: Google::Apis::DocsV1::CreateFootnoteResponse::Representation
@@ -2894,6 +2949,15 @@ module Google
2894
2949
  end
2895
2950
  end
2896
2951
 
2952
+ class UpdateDocumentTabPropertiesRequest
2953
+ # @private
2954
+ class Representation < Google::Apis::Core::JsonRepresentation
2955
+ property :fields, as: 'fields'
2956
+ property :tab_properties, as: 'tabProperties', class: Google::Apis::DocsV1::TabProperties, decorator: Google::Apis::DocsV1::TabProperties::Representation
2957
+
2958
+ end
2959
+ end
2960
+
2897
2961
  class UpdateParagraphStyleRequest
2898
2962
  # @private
2899
2963
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-docs_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.41.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-docs_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.40.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.41.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-docs_v1
62
62
  rdoc_options: []
63
63
  require_paths: