google-apis-docs_v1 0.35.0 → 0.37.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: 9ac8de843da8226b2b8d7d621e579234017a8254b144cbab74749815c51a0176
4
- data.tar.gz: 6bb5fae3e2463ef2b0b3ff81818c5dffd1fb17904ecde1d636fe6007d7692405
3
+ metadata.gz: 8c751120b7a265f3bf4a643a8226114e32b32a94dec9a838ae8feaf3bdef3a2c
4
+ data.tar.gz: e690baa7b7f4f4e45444f4498d2b818d904036cecaf89f031d9d0265107ffe7d
5
5
  SHA512:
6
- metadata.gz: ebf0481e551a42aaa02734eecd03f3bb3b0a88e999b2dc4c53f707c5edfcdac35331ae51aa61764076106d51c5c25d4a71c59af56b072f34f2080550625c050f
7
- data.tar.gz: bd80e724c3fdffe85d6d10e3ceae9a03363bffc3951a588090b4c1f6a90f2554045ba2424dc7f332ef3a6b7db00b822ea9faec1f60c98ca2b64d3f5e26f97f96
6
+ metadata.gz: fe2c071a0622488da9a7e5ed6bdebcc5b6e904c16842b820bc88a2bcbc5385f5329d53f99dafebe08d4c95089830db06b879e46a47813ae473af85cd6cf3791e
7
+ data.tar.gz: 00d6745e2f642e025b32b7d28a5f6fe6dcf2ac58bf264f4aab3d103a18dda6a823319d7d47090c2b77e8b4bd5cd03ea53e84e37724261d910b95f56504f7d37a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-docs_v1
2
2
 
3
+ ### v0.37.0 (2025-11-02)
4
+
5
+ * Regenerated from discovery document revision 20251022
6
+
7
+ ### v0.36.0 (2025-10-19)
8
+
9
+ * Regenerated from discovery document revision 20251013
10
+
3
11
  ### v0.35.0 (2025-10-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20250925
@@ -1091,6 +1091,25 @@ module Google
1091
1091
  end
1092
1092
  end
1093
1093
 
1094
+ # Represents document-level format settings.
1095
+ class DocumentFormat
1096
+ include Google::Apis::Core::Hashable
1097
+
1098
+ # Whether the document has pages or is pageless.
1099
+ # Corresponds to the JSON property `documentMode`
1100
+ # @return [String]
1101
+ attr_accessor :document_mode
1102
+
1103
+ def initialize(**args)
1104
+ update!(**args)
1105
+ end
1106
+
1107
+ # Update properties of this object
1108
+ def update!(**args)
1109
+ @document_mode = args[:document_mode] if args.key?(:document_mode)
1110
+ end
1111
+ end
1112
+
1094
1113
  # The style of the document.
1095
1114
  class DocumentStyle
1096
1115
  include Google::Apis::Core::Hashable
@@ -1100,22 +1119,30 @@ module Google
1100
1119
  # @return [Google::Apis::DocsV1::Background]
1101
1120
  attr_accessor :background
1102
1121
 
1103
- # The ID of the default footer. If not set, there's no default footer. This
1104
- # property is read-only.
1122
+ # The ID of the default footer. If not set, there's no default footer. If
1123
+ # DocumentMode is PAGELESS, this property will not be rendered. This property is
1124
+ # read-only.
1105
1125
  # Corresponds to the JSON property `defaultFooterId`
1106
1126
  # @return [String]
1107
1127
  attr_accessor :default_footer_id
1108
1128
 
1109
- # The ID of the default header. If not set, there's no default header. This
1110
- # property is read-only.
1129
+ # The ID of the default header. If not set, there's no default header. If
1130
+ # DocumentMode is PAGELESS, this property will not be rendered. This property is
1131
+ # read-only.
1111
1132
  # Corresponds to the JSON property `defaultHeaderId`
1112
1133
  # @return [String]
1113
1134
  attr_accessor :default_header_id
1114
1135
 
1136
+ # Represents document-level format settings.
1137
+ # Corresponds to the JSON property `documentFormat`
1138
+ # @return [Google::Apis::DocsV1::DocumentFormat]
1139
+ attr_accessor :document_format
1140
+
1115
1141
  # The ID of the footer used only for even pages. The value of
1116
1142
  # use_even_page_header_footer determines whether to use the default_footer_id or
1117
1143
  # this value for the footer on even pages. If not set, there's no even page
1118
- # footer. This property is read-only.
1144
+ # footer. If DocumentMode is PAGELESS, this property will not be rendered. This
1145
+ # property is read-only.
1119
1146
  # Corresponds to the JSON property `evenPageFooterId`
1120
1147
  # @return [String]
1121
1148
  attr_accessor :even_page_footer_id
@@ -1123,7 +1150,8 @@ module Google
1123
1150
  # The ID of the header used only for even pages. The value of
1124
1151
  # use_even_page_header_footer determines whether to use the default_header_id or
1125
1152
  # this value for the header on even pages. If not set, there's no even page
1126
- # header. This property is read-only.
1153
+ # header. If DocumentMode is PAGELESS, this property will not be rendered. This
1154
+ # property is read-only.
1127
1155
  # Corresponds to the JSON property `evenPageHeaderId`
1128
1156
  # @return [String]
1129
1157
  attr_accessor :even_page_header_id
@@ -1132,7 +1160,8 @@ module Google
1132
1160
  # footer for the first page does not exist. The value of
1133
1161
  # use_first_page_header_footer determines whether to use the default_footer_id
1134
1162
  # or this value for the footer on the first page. If not set, there's no first
1135
- # page footer. This property is read-only.
1163
+ # page footer. If DocumentMode is PAGELESS, this property will not be rendered.
1164
+ # This property is read-only.
1136
1165
  # Corresponds to the JSON property `firstPageFooterId`
1137
1166
  # @return [String]
1138
1167
  attr_accessor :first_page_footer_id
@@ -1141,13 +1170,15 @@ module Google
1141
1170
  # header for the first page does not exist. The value of
1142
1171
  # use_first_page_header_footer determines whether to use the default_header_id
1143
1172
  # or this value for the header on the first page. If not set, there's no first
1144
- # page header. This property is read-only.
1173
+ # page header. If DocumentMode is PAGELESS, this property will not be rendered.
1174
+ # This property is read-only.
1145
1175
  # Corresponds to the JSON property `firstPageHeaderId`
1146
1176
  # @return [String]
1147
1177
  attr_accessor :first_page_header_id
1148
1178
 
1149
1179
  # Optional. Indicates whether to flip the dimensions of the page_size, which
1150
- # allows changing the page orientation between portrait and landscape.
1180
+ # allows changing the page orientation between portrait and landscape. If
1181
+ # DocumentMode is PAGELESS, this property will not be rendered.
1151
1182
  # Corresponds to the JSON property `flipPageOrientation`
1152
1183
  # @return [Boolean]
1153
1184
  attr_accessor :flip_page_orientation
@@ -1183,7 +1214,8 @@ module Google
1183
1214
  # @return [Google::Apis::DocsV1::Dimension]
1184
1215
  attr_accessor :margin_top
1185
1216
 
1186
- # The page number from which to start counting the number of pages.
1217
+ # The page number from which to start counting the number of pages. If
1218
+ # DocumentMode is PAGELESS, this property will not be rendered.
1187
1219
  # Corresponds to the JSON property `pageNumberStart`
1188
1220
  # @return [Fixnum]
1189
1221
  attr_accessor :page_number_start
@@ -1196,19 +1228,22 @@ module Google
1196
1228
  # Indicates whether DocumentStyle margin_header, SectionStyle margin_header and
1197
1229
  # DocumentStyle margin_footer, SectionStyle margin_footer are respected. When
1198
1230
  # false, the default values in the Docs editor for header and footer margin is
1199
- # used. This property is read-only.
1231
+ # used. If DocumentMode is PAGELESS, this property will not be rendered. This
1232
+ # property is read-only.
1200
1233
  # Corresponds to the JSON property `useCustomHeaderFooterMargins`
1201
1234
  # @return [Boolean]
1202
1235
  attr_accessor :use_custom_header_footer_margins
1203
1236
  alias_method :use_custom_header_footer_margins?, :use_custom_header_footer_margins
1204
1237
 
1205
1238
  # Indicates whether to use the even page header / footer IDs for the even pages.
1239
+ # If DocumentMode is PAGELESS, this property will not be rendered.
1206
1240
  # Corresponds to the JSON property `useEvenPageHeaderFooter`
1207
1241
  # @return [Boolean]
1208
1242
  attr_accessor :use_even_page_header_footer
1209
1243
  alias_method :use_even_page_header_footer?, :use_even_page_header_footer
1210
1244
 
1211
1245
  # Indicates whether to use the first page header / footer IDs for the first page.
1246
+ # If DocumentMode is PAGELESS, this property will not be rendered.
1212
1247
  # Corresponds to the JSON property `useFirstPageHeaderFooter`
1213
1248
  # @return [Boolean]
1214
1249
  attr_accessor :use_first_page_header_footer
@@ -1223,6 +1258,7 @@ module Google
1223
1258
  @background = args[:background] if args.key?(:background)
1224
1259
  @default_footer_id = args[:default_footer_id] if args.key?(:default_footer_id)
1225
1260
  @default_header_id = args[:default_header_id] if args.key?(:default_header_id)
1261
+ @document_format = args[:document_format] if args.key?(:document_format)
1226
1262
  @even_page_footer_id = args[:even_page_footer_id] if args.key?(:even_page_footer_id)
1227
1263
  @even_page_header_id = args[:even_page_header_id] if args.key?(:even_page_header_id)
1228
1264
  @first_page_footer_id = args[:first_page_footer_id] if args.key?(:first_page_footer_id)
@@ -4862,14 +4898,16 @@ module Google
4862
4898
 
4863
4899
  # The ID of the default footer. If unset, the value inherits from the previous
4864
4900
  # SectionBreak's SectionStyle. If the value is unset in the first SectionBreak,
4865
- # it inherits from DocumentStyle's default_footer_id. This property is read-only.
4901
+ # it inherits from DocumentStyle's default_footer_id. If DocumentMode is
4902
+ # PAGELESS, this property will not be rendered. This property is read-only.
4866
4903
  # Corresponds to the JSON property `defaultFooterId`
4867
4904
  # @return [String]
4868
4905
  attr_accessor :default_footer_id
4869
4906
 
4870
4907
  # The ID of the default header. If unset, the value inherits from the previous
4871
4908
  # SectionBreak's SectionStyle. If the value is unset in the first SectionBreak,
4872
- # it inherits from DocumentStyle's default_header_id. This property is read-only.
4909
+ # it inherits from DocumentStyle's default_header_id. If DocumentMode is
4910
+ # PAGELESS, this property will not be rendered. This property is read-only.
4873
4911
  # Corresponds to the JSON property `defaultHeaderId`
4874
4912
  # @return [String]
4875
4913
  attr_accessor :default_header_id
@@ -4879,7 +4917,8 @@ module Google
4879
4917
  # even pages in the section. If it is false, the footers on even pages use the
4880
4918
  # default_footer_id. If unset, the value inherits from the previous SectionBreak'
4881
4919
  # s SectionStyle. If the value is unset in the first SectionBreak, it inherits
4882
- # from DocumentStyle's even_page_footer_id. This property is read-only.
4920
+ # from DocumentStyle's even_page_footer_id. If DocumentMode is PAGELESS, this
4921
+ # property will not be rendered. This property is read-only.
4883
4922
  # Corresponds to the JSON property `evenPageFooterId`
4884
4923
  # @return [String]
4885
4924
  attr_accessor :even_page_footer_id
@@ -4889,7 +4928,8 @@ module Google
4889
4928
  # even pages in the section. If it is false, the headers on even pages use the
4890
4929
  # default_header_id. If unset, the value inherits from the previous SectionBreak'
4891
4930
  # s SectionStyle. If the value is unset in the first SectionBreak, it inherits
4892
- # from DocumentStyle's even_page_header_id. This property is read-only.
4931
+ # from DocumentStyle's even_page_header_id. If DocumentMode is PAGELESS, this
4932
+ # property will not be rendered. This property is read-only.
4893
4933
  # Corresponds to the JSON property `evenPageHeaderId`
4894
4934
  # @return [String]
4895
4935
  attr_accessor :even_page_header_id
@@ -4899,8 +4939,9 @@ module Google
4899
4939
  # first page of the section. If it's false, the footer on the first page of the
4900
4940
  # section uses the default_footer_id. If unset, the value inherits from the
4901
4941
  # previous SectionBreak's SectionStyle. If the value is unset in the first
4902
- # SectionBreak, it inherits from DocumentStyle's first_page_footer_id. This
4903
- # property is read-only.
4942
+ # SectionBreak, it inherits from DocumentStyle's first_page_footer_id. If
4943
+ # DocumentMode is PAGELESS, this property will not be rendered. This property is
4944
+ # read-only.
4904
4945
  # Corresponds to the JSON property `firstPageFooterId`
4905
4946
  # @return [String]
4906
4947
  attr_accessor :first_page_footer_id
@@ -4910,8 +4951,9 @@ module Google
4910
4951
  # first page of the section. If it's false, the header on the first page of the
4911
4952
  # section uses the default_header_id. If unset, the value inherits from the
4912
4953
  # previous SectionBreak's SectionStyle. If the value is unset in the first
4913
- # SectionBreak, it inherits from DocumentStyle's first_page_header_id. This
4914
- # property is read-only.
4954
+ # SectionBreak, it inherits from DocumentStyle's first_page_header_id. If
4955
+ # DocumentMode is PAGELESS, this property will not be rendered. This property is
4956
+ # read-only.
4915
4957
  # Corresponds to the JSON property `firstPageHeaderId`
4916
4958
  # @return [String]
4917
4959
  attr_accessor :first_page_header_id
@@ -4919,8 +4961,9 @@ module Google
4919
4961
  # Optional. Indicates whether to flip the dimensions of DocumentStyle's
4920
4962
  # page_size for this section, which allows changing the page orientation between
4921
4963
  # portrait and landscape. If unset, the value inherits from DocumentStyle's
4922
- # flip_page_orientation. When updating this property, setting a concrete value
4923
- # is required. Unsetting this property results in a 400 bad request error.
4964
+ # flip_page_orientation. If DocumentMode is PAGELESS, this property will not be
4965
+ # rendered. When updating this property, setting a concrete value is required.
4966
+ # Unsetting this property results in a 400 bad request error.
4924
4967
  # Corresponds to the JSON property `flipPageOrientation`
4925
4968
  # @return [Boolean]
4926
4969
  attr_accessor :flip_page_orientation
@@ -4959,8 +5002,9 @@ module Google
4959
5002
  # The page number from which to start counting the number of pages for this
4960
5003
  # section. If unset, page numbering continues from the previous section. If the
4961
5004
  # value is unset in the first SectionBreak, refer to DocumentStyle's
4962
- # page_number_start. When updating this property, setting a concrete value is
4963
- # required. Unsetting this property results in a 400 bad request error.
5005
+ # page_number_start. If DocumentMode is PAGELESS, this property will not be
5006
+ # rendered. When updating this property, setting a concrete value is required.
5007
+ # Unsetting this property results in a 400 bad request error.
4964
5008
  # Corresponds to the JSON property `pageNumberStart`
4965
5009
  # @return [Fixnum]
4966
5010
  attr_accessor :page_number_start
@@ -4973,9 +5017,10 @@ module Google
4973
5017
  # Indicates whether to use the first page header / footer IDs for the first page
4974
5018
  # of the section. If unset, it inherits from DocumentStyle's
4975
5019
  # use_first_page_header_footer for the first section. If the value is unset for
4976
- # subsequent sectors, it should be interpreted as false. When updating this
4977
- # property, setting a concrete value is required. Unsetting this property
4978
- # results in a 400 bad request error.
5020
+ # subsequent sectors, it should be interpreted as false. If DocumentMode is
5021
+ # PAGELESS, this property will not be rendered. When updating this property,
5022
+ # setting a concrete value is required. Unsetting this property results in a 400
5023
+ # bad request error.
4979
5024
  # Corresponds to the JSON property `useFirstPageHeaderFooter`
4980
5025
  # @return [Boolean]
4981
5026
  attr_accessor :use_first_page_header_footer
@@ -5573,6 +5618,15 @@ module Google
5573
5618
  class TabProperties
5574
5619
  include Google::Apis::Core::Hashable
5575
5620
 
5621
+ # Optional. The emoji icon displayed with the tab. A valid emoji icon is
5622
+ # represented by a non-empty Unicode string. Any set of characters that don't
5623
+ # represent a single emoji is invalid. If an emoji is invalid, a 400 bad request
5624
+ # error is returned. If this value is unset or empty, the tab will display the
5625
+ # default tab icon.
5626
+ # Corresponds to the JSON property `iconEmoji`
5627
+ # @return [String]
5628
+ attr_accessor :icon_emoji
5629
+
5576
5630
  # The zero-based index of the tab within the parent.
5577
5631
  # Corresponds to the JSON property `index`
5578
5632
  # @return [Fixnum]
@@ -5606,6 +5660,7 @@ module Google
5606
5660
 
5607
5661
  # Update properties of this object
5608
5662
  def update!(**args)
5663
+ @icon_emoji = args[:icon_emoji] if args.key?(:icon_emoji)
5609
5664
  @index = args[:index] if args.key?(:index)
5610
5665
  @nesting_level = args[:nesting_level] if args.key?(:nesting_level)
5611
5666
  @parent_tab_id = args[:parent_tab_id] if args.key?(:parent_tab_id)
@@ -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.35.0"
19
+ GEM_VERSION = "0.37.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 = "20250925"
25
+ REVISION = "20251022"
26
26
  end
27
27
  end
28
28
  end
@@ -214,6 +214,12 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class DocumentFormat
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class DocumentStyle
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -1281,6 +1287,13 @@ module Google
1281
1287
  end
1282
1288
  end
1283
1289
 
1290
+ class DocumentFormat
1291
+ # @private
1292
+ class Representation < Google::Apis::Core::JsonRepresentation
1293
+ property :document_mode, as: 'documentMode'
1294
+ end
1295
+ end
1296
+
1284
1297
  class DocumentStyle
1285
1298
  # @private
1286
1299
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1288,6 +1301,8 @@ module Google
1288
1301
 
1289
1302
  property :default_footer_id, as: 'defaultFooterId'
1290
1303
  property :default_header_id, as: 'defaultHeaderId'
1304
+ property :document_format, as: 'documentFormat', class: Google::Apis::DocsV1::DocumentFormat, decorator: Google::Apis::DocsV1::DocumentFormat::Representation
1305
+
1291
1306
  property :even_page_footer_id, as: 'evenPageFooterId'
1292
1307
  property :even_page_header_id, as: 'evenPageHeaderId'
1293
1308
  property :first_page_footer_id, as: 'firstPageFooterId'
@@ -2522,6 +2537,7 @@ module Google
2522
2537
  class TabProperties
2523
2538
  # @private
2524
2539
  class Representation < Google::Apis::Core::JsonRepresentation
2540
+ property :icon_emoji, as: 'iconEmoji'
2525
2541
  property :index, as: 'index'
2526
2542
  property :nesting_level, as: 'nestingLevel'
2527
2543
  property :parent_tab_id, as: 'parentTabId'
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.35.0
4
+ version: 0.37.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.35.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.37.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: