google-apis-docs_v1 0.40.0 → 0.42.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: b8ec8cf6f62cbfb1417fc719609bdd92d501e354983ad53f493e793df0bcdfab
4
+ data.tar.gz: 0fcf4aac3cbbb81b3edd0f29db414300fd3380935ee2ad5487ff3e3aaa441c71
5
5
  SHA512:
6
- metadata.gz: 8e5be470b2d0436082b496f3aa7ecde673fe60399fc1ea44b8a410fb21985dc308fe9513b7044ac11fa85b307e002421bbfba8e4c34de9c555acbd223fcd120f
7
- data.tar.gz: 4798ae4741d3a2e3249c90d0a2e671f6ddccffe7609d7c4d6e506d4f2f101d9e5b7df162120e6f277588a202de3063e411be44970b33146ec8153d9e14c7b9a5
6
+ metadata.gz: 863bc75e91a231d31a18910c9610e3bded0480203b3333474ed9156cbf5a23f641a67a66cb38f97615c2c1c09214092e0ba0b775e51fabbb111d747edde2cd14
7
+ data.tar.gz: 7c1dda6c9c0c591bdc3ab24a59d87f87dcbb1ad2f35a626a96f2f482675fa3cd48c569434844154b9554fc1cc7e3a9da4b2171edfedd10c1bc7aad410fce038b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-docs_v1
2
2
 
3
+ ### v0.42.0 (2026-03-15)
4
+
5
+ * Regenerated from discovery document revision 20260309
6
+
7
+ ### v0.41.0 (2026-01-11)
8
+
9
+ * Regenerated from discovery document revision 20251222
10
+
3
11
  ### v0.40.0 (2025-12-21)
4
12
 
5
13
  * 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
@@ -768,7 +807,7 @@ module Google
768
807
  # Determines how the date part of the DateElement will be displayed in the
769
808
  # document. If unset, the default value is
770
809
  # DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED, indicating the DateElement will be
771
- # formatted as `MMM d, y` in `en_US`, or locale specific equivalent.
810
+ # formatted as `MMM d, y` in `en`, or locale specific equivalent.
772
811
  # Corresponds to the JSON property `dateFormat`
773
812
  # @return [String]
774
813
  attr_accessor :date_format
@@ -778,9 +817,14 @@ module Google
778
817
  # @return [String]
779
818
  attr_accessor :display_text
780
819
 
781
- # The locale of the document, as defined by the Unicode Common Locale Data
782
- # Repository (CLDR) project. For example, `en_US`. If unset, the default locale
783
- # is `en_US`.
820
+ # The language code of the DateElement. For example, `en`. If unset, the default
821
+ # locale is `en`. Limited to the following locales: `af`, `am`, `ar`, `az`, `be`,
822
+ # `bg`, `bn`, `ca`, `cs`, `da`, `de`, `el`, `en`, `en-CA`, `en-GB`, `es`, `es-
823
+ # 419`, `et`, `eu`, `fa`, `fi`, `fil`, `fr`, `fr-CA`, `gl`, `gu`, `hi`, `hr`, `
824
+ # hu`, `hy`, `id`, `is`, `it`, `iw`, `ja`, `ka`, `kk`, `km`, `kn`, `ko`, `lo`, `
825
+ # lt`, `lv`, `ml`, `mn`, `mr`, `ms`, `ne`, `nl`, `no`, `pa`, `pl`, `pt-BR`, `pt-
826
+ # PT`, `ro`, `ru`, `si`, `sk`, `sl`, `sr`, `sv`, `sw`, `ta`, `te`, `th`, `tr`, `
827
+ # uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`, `zu`, `cy`, `my`.
784
828
  # Corresponds to the JSON property `locale`
785
829
  # @return [String]
786
830
  attr_accessor :locale
@@ -1046,6 +1090,25 @@ module Google
1046
1090
  end
1047
1091
  end
1048
1092
 
1093
+ # Deletes a tab. If the tab has child tabs, they are deleted as well.
1094
+ class DeleteTabRequest
1095
+ include Google::Apis::Core::Hashable
1096
+
1097
+ # The ID of the tab to delete.
1098
+ # Corresponds to the JSON property `tabId`
1099
+ # @return [String]
1100
+ attr_accessor :tab_id
1101
+
1102
+ def initialize(**args)
1103
+ update!(**args)
1104
+ end
1105
+
1106
+ # Update properties of this object
1107
+ def update!(**args)
1108
+ @tab_id = args[:tab_id] if args.key?(:tab_id)
1109
+ end
1110
+ end
1111
+
1049
1112
  # Deletes a column from a table.
1050
1113
  class DeleteTableColumnRequest
1051
1114
  include Google::Apis::Core::Hashable
@@ -4606,6 +4669,12 @@ module Google
4606
4669
  class Request
4607
4670
  include Google::Apis::Core::Hashable
4608
4671
 
4672
+ # Adds a document tab. When a tab is added at a given index, all subsequent tabs'
4673
+ # indexes are incremented.
4674
+ # Corresponds to the JSON property `addDocumentTab`
4675
+ # @return [Google::Apis::DocsV1::AddDocumentTabRequest]
4676
+ attr_accessor :add_document_tab
4677
+
4609
4678
  # Creates a Footer. The new footer is applied to the SectionStyle at the
4610
4679
  # location of the SectionBreak if specified, otherwise it is applied to the
4611
4680
  # DocumentStyle. If a footer of the specified type already exists, a 400 bad
@@ -4677,6 +4746,11 @@ module Google
4677
4746
  # @return [Google::Apis::DocsV1::DeletePositionedObjectRequest]
4678
4747
  attr_accessor :delete_positioned_object
4679
4748
 
4749
+ # Deletes a tab. If the tab has child tabs, they are deleted as well.
4750
+ # Corresponds to the JSON property `deleteTab`
4751
+ # @return [Google::Apis::DocsV1::DeleteTabRequest]
4752
+ attr_accessor :delete_tab
4753
+
4680
4754
  # Deletes a column from a table.
4681
4755
  # Corresponds to the JSON property `deleteTableColumn`
4682
4756
  # @return [Google::Apis::DocsV1::DeleteTableColumnRequest]
@@ -4776,6 +4850,11 @@ module Google
4776
4850
  # @return [Google::Apis::DocsV1::UpdateDocumentStyleRequest]
4777
4851
  attr_accessor :update_document_style
4778
4852
 
4853
+ # Update the properties of a document tab.
4854
+ # Corresponds to the JSON property `updateDocumentTabProperties`
4855
+ # @return [Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest]
4856
+ attr_accessor :update_document_tab_properties
4857
+
4779
4858
  # Update the styling of all paragraphs that overlap with the given range.
4780
4859
  # Corresponds to the JSON property `updateParagraphStyle`
4781
4860
  # @return [Google::Apis::DocsV1::UpdateParagraphStyleRequest]
@@ -4812,6 +4891,7 @@ module Google
4812
4891
 
4813
4892
  # Update properties of this object
4814
4893
  def update!(**args)
4894
+ @add_document_tab = args[:add_document_tab] if args.key?(:add_document_tab)
4815
4895
  @create_footer = args[:create_footer] if args.key?(:create_footer)
4816
4896
  @create_footnote = args[:create_footnote] if args.key?(:create_footnote)
4817
4897
  @create_header = args[:create_header] if args.key?(:create_header)
@@ -4823,6 +4903,7 @@ module Google
4823
4903
  @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range)
4824
4904
  @delete_paragraph_bullets = args[:delete_paragraph_bullets] if args.key?(:delete_paragraph_bullets)
4825
4905
  @delete_positioned_object = args[:delete_positioned_object] if args.key?(:delete_positioned_object)
4906
+ @delete_tab = args[:delete_tab] if args.key?(:delete_tab)
4826
4907
  @delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column)
4827
4908
  @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
4828
4909
  @insert_date = args[:insert_date] if args.key?(:insert_date)
@@ -4841,6 +4922,7 @@ module Google
4841
4922
  @replace_named_range_content = args[:replace_named_range_content] if args.key?(:replace_named_range_content)
4842
4923
  @unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells)
4843
4924
  @update_document_style = args[:update_document_style] if args.key?(:update_document_style)
4925
+ @update_document_tab_properties = args[:update_document_tab_properties] if args.key?(:update_document_tab_properties)
4844
4926
  @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
4845
4927
  @update_section_style = args[:update_section_style] if args.key?(:update_section_style)
4846
4928
  @update_table_cell_style = args[:update_table_cell_style] if args.key?(:update_table_cell_style)
@@ -4854,6 +4936,11 @@ module Google
4854
4936
  class Response
4855
4937
  include Google::Apis::Core::Hashable
4856
4938
 
4939
+ # The result of adding a document tab.
4940
+ # Corresponds to the JSON property `addDocumentTab`
4941
+ # @return [Google::Apis::DocsV1::AddDocumentTabResponse]
4942
+ attr_accessor :add_document_tab
4943
+
4857
4944
  # The result of creating a footer.
4858
4945
  # Corresponds to the JSON property `createFooter`
4859
4946
  # @return [Google::Apis::DocsV1::CreateFooterResponse]
@@ -4895,6 +4982,7 @@ module Google
4895
4982
 
4896
4983
  # Update properties of this object
4897
4984
  def update!(**args)
4985
+ @add_document_tab = args[:add_document_tab] if args.key?(:add_document_tab)
4898
4986
  @create_footer = args[:create_footer] if args.key?(:create_footer)
4899
4987
  @create_footnote = args[:create_footnote] if args.key?(:create_footnote)
4900
4988
  @create_header = args[:create_header] if args.key?(:create_header)
@@ -5898,7 +5986,7 @@ module Google
5898
5986
  # @return [String]
5899
5987
  attr_accessor :parent_tab_id
5900
5988
 
5901
- # Output only. The ID of the tab. This field can't be changed.
5989
+ # The immutable ID of the tab.
5902
5990
  # Corresponds to the JSON property `tabId`
5903
5991
  # @return [String]
5904
5992
  attr_accessor :tab_id
@@ -6868,6 +6956,33 @@ module Google
6868
6956
  end
6869
6957
  end
6870
6958
 
6959
+ # Update the properties of a document tab.
6960
+ class UpdateDocumentTabPropertiesRequest
6961
+ include Google::Apis::Core::Hashable
6962
+
6963
+ # The fields that should be updated. At least one field must be specified. The
6964
+ # root `tab_properties` is implied and should not be specified. A single `"*"`
6965
+ # can be used as short-hand for listing every field.
6966
+ # Corresponds to the JSON property `fields`
6967
+ # @return [String]
6968
+ attr_accessor :fields
6969
+
6970
+ # Properties of a tab.
6971
+ # Corresponds to the JSON property `tabProperties`
6972
+ # @return [Google::Apis::DocsV1::TabProperties]
6973
+ attr_accessor :tab_properties
6974
+
6975
+ def initialize(**args)
6976
+ update!(**args)
6977
+ end
6978
+
6979
+ # Update properties of this object
6980
+ def update!(**args)
6981
+ @fields = args[:fields] if args.key?(:fields)
6982
+ @tab_properties = args[:tab_properties] if args.key?(:tab_properties)
6983
+ end
6984
+ end
6985
+
6871
6986
  # Update the styling of all paragraphs that overlap with the given range.
6872
6987
  class UpdateParagraphStyleRequest
6873
6988
  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.42.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 = "20260309"
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.42.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.42.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: