google-apis-docs_v1 0.39.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: 2feb90a7bc8f8159f0b2298b801dfb8508ceddf5fcb91c22f828bffdaaf7ca36
4
- data.tar.gz: 8c8d9744eb1124458740f0cb752ee1f186a41aba0f89cbce49106e47bf9c6a89
3
+ metadata.gz: 04e0aab71085d2d91e24ff7b32fc706d80d1bd2b75d4a31a837b7f9c24ec8aa3
4
+ data.tar.gz: 5c244b262947489f1b047da90eff341e7d11afc69fce3e189e677ef2c6793d14
5
5
  SHA512:
6
- metadata.gz: 2d4f10d0e6fc32da1509429fa74690b33d607e6d5ec630ce8aa2b24add279e1c86b3a92156070f35ab5f6738155c4e6b9b1a6da9650f40650be87767326a4c1e
7
- data.tar.gz: 5e2b78143c4673ede192a3a11987d2f83df541145aad1f28bd7f9eefeecff70db9e6d5b9e937986dee02f7164c3e129cb4e70a41593f4881ee7846012fc64796
6
+ metadata.gz: 6be7f53d465b298e9b63d7201fac0dc599f5ae1979498f02ce4907f1b56e7492f584e695760dffe94e2b5be6853db09b12526e8de295dddd94c9dbc2dcd4c0ba
7
+ data.tar.gz: '09ac19b704556c64e24130bc0614b23412aa260c1d8b480704c26a3f83ec527b9d14c2b9ec82c33e86a378c956c694bb99d644cf73474aa45d4e8bc072b1ce20'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.40.0 (2025-12-21)
8
+
9
+ * Regenerated from discovery document revision 20251215
10
+
3
11
  ### v0.39.0 (2025-12-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20251124
@@ -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
@@ -692,6 +731,75 @@ module Google
692
731
  end
693
732
  end
694
733
 
734
+ # A date instance mentioned in a document.
735
+ class DateElement
736
+ include Google::Apis::Core::Hashable
737
+
738
+ # Properties of a DateElement.
739
+ # Corresponds to the JSON property `dateElementProperties`
740
+ # @return [Google::Apis::DocsV1::DateElementProperties]
741
+ attr_accessor :date_element_properties
742
+
743
+ # Output only. The unique ID of this date.
744
+ # Corresponds to the JSON property `dateId`
745
+ # @return [String]
746
+ attr_accessor :date_id
747
+
748
+ # The suggested changes to the date element properties, keyed by suggestion ID.
749
+ # Corresponds to the JSON property `suggestedDateElementPropertiesChanges`
750
+ # @return [Hash<String,Google::Apis::DocsV1::SuggestedDateElementProperties>]
751
+ attr_accessor :suggested_date_element_properties_changes
752
+
753
+ # IDs for suggestions that remove this date from the document. A DateElement
754
+ # might have multiple deletion IDs if, for example, multiple users suggest
755
+ # deleting it. If empty, then this date isn't suggested for deletion.
756
+ # Corresponds to the JSON property `suggestedDeletionIds`
757
+ # @return [Array<String>]
758
+ attr_accessor :suggested_deletion_ids
759
+
760
+ # IDs for suggestions that insert this date into the document. A DateElement
761
+ # might have multiple insertion IDs if it's a nested suggested change (a
762
+ # suggestion within a suggestion made by a different user, for example). If
763
+ # empty, then this date isn't a suggested insertion.
764
+ # Corresponds to the JSON property `suggestedInsertionIds`
765
+ # @return [Array<String>]
766
+ attr_accessor :suggested_insertion_ids
767
+
768
+ # The suggested text style changes to this DateElement, keyed by suggestion ID.
769
+ # Corresponds to the JSON property `suggestedTextStyleChanges`
770
+ # @return [Hash<String,Google::Apis::DocsV1::SuggestedTextStyle>]
771
+ attr_accessor :suggested_text_style_changes
772
+
773
+ # Represents the styling that can be applied to text. Inherited text styles are
774
+ # represented as unset fields in this message. A text style's parent depends on
775
+ # where the text style is defined: * The TextStyle of text in a Paragraph
776
+ # inherits from the paragraph's corresponding named style type. * The TextStyle
777
+ # on a named style inherits from the normal text named style. * The TextStyle of
778
+ # the normal text named style inherits from the default text style in the Docs
779
+ # editor. * The TextStyle on a Paragraph element that's contained in a table may
780
+ # inherit its text style from the table style. If the text style does not
781
+ # inherit from a parent, unsetting fields will revert the style to a value
782
+ # matching the defaults in the Docs editor.
783
+ # Corresponds to the JSON property `textStyle`
784
+ # @return [Google::Apis::DocsV1::TextStyle]
785
+ attr_accessor :text_style
786
+
787
+ def initialize(**args)
788
+ update!(**args)
789
+ end
790
+
791
+ # Update properties of this object
792
+ def update!(**args)
793
+ @date_element_properties = args[:date_element_properties] if args.key?(:date_element_properties)
794
+ @date_id = args[:date_id] if args.key?(:date_id)
795
+ @suggested_date_element_properties_changes = args[:suggested_date_element_properties_changes] if args.key?(:suggested_date_element_properties_changes)
796
+ @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids)
797
+ @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids)
798
+ @suggested_text_style_changes = args[:suggested_text_style_changes] if args.key?(:suggested_text_style_changes)
799
+ @text_style = args[:text_style] if args.key?(:text_style)
800
+ end
801
+ end
802
+
695
803
  # Properties of a DateElement.
696
804
  class DateElementProperties
697
805
  include Google::Apis::Core::Hashable
@@ -757,6 +865,56 @@ module Google
757
865
  end
758
866
  end
759
867
 
868
+ # A mask that indicates which of the fields on the base DateElementProperties
869
+ # have been changed in this suggestion. For any field set to true, there's a new
870
+ # suggested value.
871
+ class DateElementPropertiesSuggestionState
872
+ include Google::Apis::Core::Hashable
873
+
874
+ # Indicates if there was a suggested change to date_format.
875
+ # Corresponds to the JSON property `dateFormatSuggested`
876
+ # @return [Boolean]
877
+ attr_accessor :date_format_suggested
878
+ alias_method :date_format_suggested?, :date_format_suggested
879
+
880
+ # Indicates if there was a suggested change to locale.
881
+ # Corresponds to the JSON property `localeSuggested`
882
+ # @return [Boolean]
883
+ attr_accessor :locale_suggested
884
+ alias_method :locale_suggested?, :locale_suggested
885
+
886
+ # Indicates if there was a suggested change to time_format.
887
+ # Corresponds to the JSON property `timeFormatSuggested`
888
+ # @return [Boolean]
889
+ attr_accessor :time_format_suggested
890
+ alias_method :time_format_suggested?, :time_format_suggested
891
+
892
+ # Indicates if there was a suggested change to time_zone_id.
893
+ # Corresponds to the JSON property `timeZoneIdSuggested`
894
+ # @return [Boolean]
895
+ attr_accessor :time_zone_id_suggested
896
+ alias_method :time_zone_id_suggested?, :time_zone_id_suggested
897
+
898
+ # Indicates if there was a suggested change to timestamp.
899
+ # Corresponds to the JSON property `timestampSuggested`
900
+ # @return [Boolean]
901
+ attr_accessor :timestamp_suggested
902
+ alias_method :timestamp_suggested?, :timestamp_suggested
903
+
904
+ def initialize(**args)
905
+ update!(**args)
906
+ end
907
+
908
+ # Update properties of this object
909
+ def update!(**args)
910
+ @date_format_suggested = args[:date_format_suggested] if args.key?(:date_format_suggested)
911
+ @locale_suggested = args[:locale_suggested] if args.key?(:locale_suggested)
912
+ @time_format_suggested = args[:time_format_suggested] if args.key?(:time_format_suggested)
913
+ @time_zone_id_suggested = args[:time_zone_id_suggested] if args.key?(:time_zone_id_suggested)
914
+ @timestamp_suggested = args[:timestamp_suggested] if args.key?(:timestamp_suggested)
915
+ end
916
+ end
917
+
760
918
  # Deletes content from the document.
761
919
  class DeleteContentRangeRequest
762
920
  include Google::Apis::Core::Hashable
@@ -927,6 +1085,25 @@ module Google
927
1085
  end
928
1086
  end
929
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
+
930
1107
  # Deletes a column from a table.
931
1108
  class DeleteTableColumnRequest
932
1109
  include Google::Apis::Core::Hashable
@@ -3586,6 +3763,11 @@ module Google
3586
3763
  # @return [Google::Apis::DocsV1::ColumnBreak]
3587
3764
  attr_accessor :column_break
3588
3765
 
3766
+ # A date instance mentioned in a document.
3767
+ # Corresponds to the JSON property `dateElement`
3768
+ # @return [Google::Apis::DocsV1::DateElement]
3769
+ attr_accessor :date_element
3770
+
3589
3771
  # The zero-base end index of this paragraph element, exclusive, in UTF-16 code
3590
3772
  # units.
3591
3773
  # Corresponds to the JSON property `endIndex`
@@ -3649,6 +3831,7 @@ module Google
3649
3831
  def update!(**args)
3650
3832
  @auto_text = args[:auto_text] if args.key?(:auto_text)
3651
3833
  @column_break = args[:column_break] if args.key?(:column_break)
3834
+ @date_element = args[:date_element] if args.key?(:date_element)
3652
3835
  @end_index = args[:end_index] if args.key?(:end_index)
3653
3836
  @equation = args[:equation] if args.key?(:equation)
3654
3837
  @footnote_reference = args[:footnote_reference] if args.key?(:footnote_reference)
@@ -4481,6 +4664,12 @@ module Google
4481
4664
  class Request
4482
4665
  include Google::Apis::Core::Hashable
4483
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
+
4484
4673
  # Creates a Footer. The new footer is applied to the SectionStyle at the
4485
4674
  # location of the SectionBreak if specified, otherwise it is applied to the
4486
4675
  # DocumentStyle. If a footer of the specified type already exists, a 400 bad
@@ -4552,6 +4741,11 @@ module Google
4552
4741
  # @return [Google::Apis::DocsV1::DeletePositionedObjectRequest]
4553
4742
  attr_accessor :delete_positioned_object
4554
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
+
4555
4749
  # Deletes a column from a table.
4556
4750
  # Corresponds to the JSON property `deleteTableColumn`
4557
4751
  # @return [Google::Apis::DocsV1::DeleteTableColumnRequest]
@@ -4651,6 +4845,11 @@ module Google
4651
4845
  # @return [Google::Apis::DocsV1::UpdateDocumentStyleRequest]
4652
4846
  attr_accessor :update_document_style
4653
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
+
4654
4853
  # Update the styling of all paragraphs that overlap with the given range.
4655
4854
  # Corresponds to the JSON property `updateParagraphStyle`
4656
4855
  # @return [Google::Apis::DocsV1::UpdateParagraphStyleRequest]
@@ -4687,6 +4886,7 @@ module Google
4687
4886
 
4688
4887
  # Update properties of this object
4689
4888
  def update!(**args)
4889
+ @add_document_tab = args[:add_document_tab] if args.key?(:add_document_tab)
4690
4890
  @create_footer = args[:create_footer] if args.key?(:create_footer)
4691
4891
  @create_footnote = args[:create_footnote] if args.key?(:create_footnote)
4692
4892
  @create_header = args[:create_header] if args.key?(:create_header)
@@ -4698,6 +4898,7 @@ module Google
4698
4898
  @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range)
4699
4899
  @delete_paragraph_bullets = args[:delete_paragraph_bullets] if args.key?(:delete_paragraph_bullets)
4700
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)
4701
4902
  @delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column)
4702
4903
  @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
4703
4904
  @insert_date = args[:insert_date] if args.key?(:insert_date)
@@ -4716,6 +4917,7 @@ module Google
4716
4917
  @replace_named_range_content = args[:replace_named_range_content] if args.key?(:replace_named_range_content)
4717
4918
  @unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells)
4718
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)
4719
4921
  @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
4720
4922
  @update_section_style = args[:update_section_style] if args.key?(:update_section_style)
4721
4923
  @update_table_cell_style = args[:update_table_cell_style] if args.key?(:update_table_cell_style)
@@ -4729,6 +4931,11 @@ module Google
4729
4931
  class Response
4730
4932
  include Google::Apis::Core::Hashable
4731
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
+
4732
4939
  # The result of creating a footer.
4733
4940
  # Corresponds to the JSON property `createFooter`
4734
4941
  # @return [Google::Apis::DocsV1::CreateFooterResponse]
@@ -4770,6 +4977,7 @@ module Google
4770
4977
 
4771
4978
  # Update properties of this object
4772
4979
  def update!(**args)
4980
+ @add_document_tab = args[:add_document_tab] if args.key?(:add_document_tab)
4773
4981
  @create_footer = args[:create_footer] if args.key?(:create_footer)
4774
4982
  @create_footnote = args[:create_footnote] if args.key?(:create_footnote)
4775
4983
  @create_header = args[:create_header] if args.key?(:create_header)
@@ -5422,6 +5630,33 @@ module Google
5422
5630
  end
5423
5631
  end
5424
5632
 
5633
+ # A suggested change to a DateElementProperties.
5634
+ class SuggestedDateElementProperties
5635
+ include Google::Apis::Core::Hashable
5636
+
5637
+ # Properties of a DateElement.
5638
+ # Corresponds to the JSON property `dateElementProperties`
5639
+ # @return [Google::Apis::DocsV1::DateElementProperties]
5640
+ attr_accessor :date_element_properties
5641
+
5642
+ # A mask that indicates which of the fields on the base DateElementProperties
5643
+ # have been changed in this suggestion. For any field set to true, there's a new
5644
+ # suggested value.
5645
+ # Corresponds to the JSON property `dateElementPropertiesSuggestionState`
5646
+ # @return [Google::Apis::DocsV1::DateElementPropertiesSuggestionState]
5647
+ attr_accessor :date_element_properties_suggestion_state
5648
+
5649
+ def initialize(**args)
5650
+ update!(**args)
5651
+ end
5652
+
5653
+ # Update properties of this object
5654
+ def update!(**args)
5655
+ @date_element_properties = args[:date_element_properties] if args.key?(:date_element_properties)
5656
+ @date_element_properties_suggestion_state = args[:date_element_properties_suggestion_state] if args.key?(:date_element_properties_suggestion_state)
5657
+ end
5658
+ end
5659
+
5425
5660
  # A suggested change to the DocumentStyle.
5426
5661
  class SuggestedDocumentStyle
5427
5662
  include Google::Apis::Core::Hashable
@@ -5746,7 +5981,7 @@ module Google
5746
5981
  # @return [String]
5747
5982
  attr_accessor :parent_tab_id
5748
5983
 
5749
- # Output only. The ID of the tab. This field can't be changed.
5984
+ # The immutable ID of the tab.
5750
5985
  # Corresponds to the JSON property `tabId`
5751
5986
  # @return [String]
5752
5987
  attr_accessor :tab_id
@@ -6716,6 +6951,33 @@ module Google
6716
6951
  end
6717
6952
  end
6718
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
+
6719
6981
  # Update the styling of all paragraphs that overlap with the given range.
6720
6982
  class UpdateParagraphStyleRequest
6721
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.39.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 = "20251124"
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
 
@@ -154,12 +166,24 @@ module Google
154
166
  include Google::Apis::Core::JsonObjectSupport
155
167
  end
156
168
 
169
+ class DateElement
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
157
175
  class DateElementProperties
158
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
177
 
160
178
  include Google::Apis::Core::JsonObjectSupport
161
179
  end
162
180
 
181
+ class DateElementPropertiesSuggestionState
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
163
187
  class DeleteContentRangeRequest
164
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
189
 
@@ -196,6 +220,12 @@ module Google
196
220
  include Google::Apis::Core::JsonObjectSupport
197
221
  end
198
222
 
223
+ class DeleteTabRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
199
229
  class DeleteTableColumnRequest
200
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
231
 
@@ -754,6 +784,12 @@ module Google
754
784
  include Google::Apis::Core::JsonObjectSupport
755
785
  end
756
786
 
787
+ class SuggestedDateElementProperties
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
757
793
  class SuggestedDocumentStyle
758
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
759
795
 
@@ -940,6 +976,12 @@ module Google
940
976
  include Google::Apis::Core::JsonObjectSupport
941
977
  end
942
978
 
979
+ class UpdateDocumentTabPropertiesRequest
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
943
985
  class UpdateParagraphStyleRequest
944
986
  class Representation < Google::Apis::Core::JsonRepresentation; end
945
987
 
@@ -988,6 +1030,22 @@ module Google
988
1030
  include Google::Apis::Core::JsonObjectSupport
989
1031
  end
990
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
+
991
1049
  class AutoText
992
1050
  # @private
993
1051
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1189,6 +1247,23 @@ module Google
1189
1247
  end
1190
1248
  end
1191
1249
 
1250
+ class DateElement
1251
+ # @private
1252
+ class Representation < Google::Apis::Core::JsonRepresentation
1253
+ property :date_element_properties, as: 'dateElementProperties', class: Google::Apis::DocsV1::DateElementProperties, decorator: Google::Apis::DocsV1::DateElementProperties::Representation
1254
+
1255
+ property :date_id, as: 'dateId'
1256
+ hash :suggested_date_element_properties_changes, as: 'suggestedDateElementPropertiesChanges', class: Google::Apis::DocsV1::SuggestedDateElementProperties, decorator: Google::Apis::DocsV1::SuggestedDateElementProperties::Representation
1257
+
1258
+ collection :suggested_deletion_ids, as: 'suggestedDeletionIds'
1259
+ collection :suggested_insertion_ids, as: 'suggestedInsertionIds'
1260
+ hash :suggested_text_style_changes, as: 'suggestedTextStyleChanges', class: Google::Apis::DocsV1::SuggestedTextStyle, decorator: Google::Apis::DocsV1::SuggestedTextStyle::Representation
1261
+
1262
+ property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation
1263
+
1264
+ end
1265
+ end
1266
+
1192
1267
  class DateElementProperties
1193
1268
  # @private
1194
1269
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1201,6 +1276,17 @@ module Google
1201
1276
  end
1202
1277
  end
1203
1278
 
1279
+ class DateElementPropertiesSuggestionState
1280
+ # @private
1281
+ class Representation < Google::Apis::Core::JsonRepresentation
1282
+ property :date_format_suggested, as: 'dateFormatSuggested'
1283
+ property :locale_suggested, as: 'localeSuggested'
1284
+ property :time_format_suggested, as: 'timeFormatSuggested'
1285
+ property :time_zone_id_suggested, as: 'timeZoneIdSuggested'
1286
+ property :timestamp_suggested, as: 'timestampSuggested'
1287
+ end
1288
+ end
1289
+
1204
1290
  class DeleteContentRangeRequest
1205
1291
  # @private
1206
1292
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1251,6 +1337,13 @@ module Google
1251
1337
  end
1252
1338
  end
1253
1339
 
1340
+ class DeleteTabRequest
1341
+ # @private
1342
+ class Representation < Google::Apis::Core::JsonRepresentation
1343
+ property :tab_id, as: 'tabId'
1344
+ end
1345
+ end
1346
+
1254
1347
  class DeleteTableColumnRequest
1255
1348
  # @private
1256
1349
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1982,6 +2075,8 @@ module Google
1982
2075
 
1983
2076
  property :column_break, as: 'columnBreak', class: Google::Apis::DocsV1::ColumnBreak, decorator: Google::Apis::DocsV1::ColumnBreak::Representation
1984
2077
 
2078
+ property :date_element, as: 'dateElement', class: Google::Apis::DocsV1::DateElement, decorator: Google::Apis::DocsV1::DateElement::Representation
2079
+
1985
2080
  property :end_index, as: 'endIndex'
1986
2081
  property :equation, as: 'equation', class: Google::Apis::DocsV1::Equation, decorator: Google::Apis::DocsV1::Equation::Representation
1987
2082
 
@@ -2208,6 +2303,8 @@ module Google
2208
2303
  class Request
2209
2304
  # @private
2210
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
+
2211
2308
  property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterRequest, decorator: Google::Apis::DocsV1::CreateFooterRequest::Representation
2212
2309
 
2213
2310
  property :create_footnote, as: 'createFootnote', class: Google::Apis::DocsV1::CreateFootnoteRequest, decorator: Google::Apis::DocsV1::CreateFootnoteRequest::Representation
@@ -2230,6 +2327,8 @@ module Google
2230
2327
 
2231
2328
  property :delete_positioned_object, as: 'deletePositionedObject', class: Google::Apis::DocsV1::DeletePositionedObjectRequest, decorator: Google::Apis::DocsV1::DeletePositionedObjectRequest::Representation
2232
2329
 
2330
+ property :delete_tab, as: 'deleteTab', class: Google::Apis::DocsV1::DeleteTabRequest, decorator: Google::Apis::DocsV1::DeleteTabRequest::Representation
2331
+
2233
2332
  property :delete_table_column, as: 'deleteTableColumn', class: Google::Apis::DocsV1::DeleteTableColumnRequest, decorator: Google::Apis::DocsV1::DeleteTableColumnRequest::Representation
2234
2333
 
2235
2334
  property :delete_table_row, as: 'deleteTableRow', class: Google::Apis::DocsV1::DeleteTableRowRequest, decorator: Google::Apis::DocsV1::DeleteTableRowRequest::Representation
@@ -2266,6 +2365,8 @@ module Google
2266
2365
 
2267
2366
  property :update_document_style, as: 'updateDocumentStyle', class: Google::Apis::DocsV1::UpdateDocumentStyleRequest, decorator: Google::Apis::DocsV1::UpdateDocumentStyleRequest::Representation
2268
2367
 
2368
+ property :update_document_tab_properties, as: 'updateDocumentTabProperties', class: Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest, decorator: Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest::Representation
2369
+
2269
2370
  property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::DocsV1::UpdateParagraphStyleRequest, decorator: Google::Apis::DocsV1::UpdateParagraphStyleRequest::Representation
2270
2371
 
2271
2372
  property :update_section_style, as: 'updateSectionStyle', class: Google::Apis::DocsV1::UpdateSectionStyleRequest, decorator: Google::Apis::DocsV1::UpdateSectionStyleRequest::Representation
@@ -2284,6 +2385,8 @@ module Google
2284
2385
  class Response
2285
2386
  # @private
2286
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
+
2287
2390
  property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterResponse, decorator: Google::Apis::DocsV1::CreateFooterResponse::Representation
2288
2391
 
2289
2392
  property :create_footnote, as: 'createFootnote', class: Google::Apis::DocsV1::CreateFootnoteResponse, decorator: Google::Apis::DocsV1::CreateFootnoteResponse::Representation
@@ -2470,6 +2573,16 @@ module Google
2470
2573
  end
2471
2574
  end
2472
2575
 
2576
+ class SuggestedDateElementProperties
2577
+ # @private
2578
+ class Representation < Google::Apis::Core::JsonRepresentation
2579
+ property :date_element_properties, as: 'dateElementProperties', class: Google::Apis::DocsV1::DateElementProperties, decorator: Google::Apis::DocsV1::DateElementProperties::Representation
2580
+
2581
+ property :date_element_properties_suggestion_state, as: 'dateElementPropertiesSuggestionState', class: Google::Apis::DocsV1::DateElementPropertiesSuggestionState, decorator: Google::Apis::DocsV1::DateElementPropertiesSuggestionState::Representation
2582
+
2583
+ end
2584
+ end
2585
+
2473
2586
  class SuggestedDocumentStyle
2474
2587
  # @private
2475
2588
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2836,6 +2949,15 @@ module Google
2836
2949
  end
2837
2950
  end
2838
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
+
2839
2961
  class UpdateParagraphStyleRequest
2840
2962
  # @private
2841
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.39.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.39.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: