google-apis-docs_v1 0.34.0 → 0.36.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/docs_v1/classes.rb +73 -0
- data/lib/google/apis/docs_v1/gem_version.rb +2 -2
- data/lib/google/apis/docs_v1/representations.rb +36 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4a927e3d7530b977b2231da0eb408f23fdf8db9a501ceef8a532c2da7e8504b
|
|
4
|
+
data.tar.gz: f1e7a08ba98aa26edb1ce6712b96d7b7c90b8fda2137f9fc751393c86ac38e51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bfc0b7b8630c8dfd22ce34c8e8e519630140f0e228f1f8ee9a2c0ef1ec9c0573d2fe8d8de716f038f01fb021a6b9ea0a0b71041ce9ea348c456d8df0b6ba4a59
|
|
7
|
+
data.tar.gz: 4b2f8ad7a7db2fe6c1c474e6e7579c3320646eb7f40e158e7590494e8cb312056044a442b3db53cc384d18bea96a8654376b4c86f9c9385dbf3741a8cc268182
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-docs_v1
|
|
2
2
|
|
|
3
|
+
### v0.36.0 (2025-10-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251013
|
|
6
|
+
|
|
7
|
+
### v0.35.0 (2025-10-05)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250925
|
|
10
|
+
|
|
3
11
|
### v0.34.0 (2025-09-28)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250917
|
|
@@ -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
|
|
@@ -1112,6 +1131,11 @@ module Google
|
|
|
1112
1131
|
# @return [String]
|
|
1113
1132
|
attr_accessor :default_header_id
|
|
1114
1133
|
|
|
1134
|
+
# Represents document-level format settings.
|
|
1135
|
+
# Corresponds to the JSON property `documentFormat`
|
|
1136
|
+
# @return [Google::Apis::DocsV1::DocumentFormat]
|
|
1137
|
+
attr_accessor :document_format
|
|
1138
|
+
|
|
1115
1139
|
# The ID of the footer used only for even pages. The value of
|
|
1116
1140
|
# use_even_page_header_footer determines whether to use the default_footer_id or
|
|
1117
1141
|
# this value for the footer on even pages. If not set, there's no even page
|
|
@@ -1223,6 +1247,7 @@ module Google
|
|
|
1223
1247
|
@background = args[:background] if args.key?(:background)
|
|
1224
1248
|
@default_footer_id = args[:default_footer_id] if args.key?(:default_footer_id)
|
|
1225
1249
|
@default_header_id = args[:default_header_id] if args.key?(:default_header_id)
|
|
1250
|
+
@document_format = args[:document_format] if args.key?(:document_format)
|
|
1226
1251
|
@even_page_footer_id = args[:even_page_footer_id] if args.key?(:even_page_footer_id)
|
|
1227
1252
|
@even_page_header_id = args[:even_page_header_id] if args.key?(:even_page_header_id)
|
|
1228
1253
|
@first_page_footer_id = args[:first_page_footer_id] if args.key?(:first_page_footer_id)
|
|
@@ -2425,6 +2450,38 @@ module Google
|
|
|
2425
2450
|
end
|
|
2426
2451
|
end
|
|
2427
2452
|
|
|
2453
|
+
# Inserts a person mention.
|
|
2454
|
+
class InsertPersonRequest
|
|
2455
|
+
include Google::Apis::Core::Hashable
|
|
2456
|
+
|
|
2457
|
+
# Location at the end of a body, header, footer or footnote. The location is
|
|
2458
|
+
# immediately before the last newline in the document segment.
|
|
2459
|
+
# Corresponds to the JSON property `endOfSegmentLocation`
|
|
2460
|
+
# @return [Google::Apis::DocsV1::EndOfSegmentLocation]
|
|
2461
|
+
attr_accessor :end_of_segment_location
|
|
2462
|
+
|
|
2463
|
+
# A particular location in the document.
|
|
2464
|
+
# Corresponds to the JSON property `location`
|
|
2465
|
+
# @return [Google::Apis::DocsV1::Location]
|
|
2466
|
+
attr_accessor :location
|
|
2467
|
+
|
|
2468
|
+
# Properties specific to a linked Person.
|
|
2469
|
+
# Corresponds to the JSON property `personProperties`
|
|
2470
|
+
# @return [Google::Apis::DocsV1::PersonProperties]
|
|
2471
|
+
attr_accessor :person_properties
|
|
2472
|
+
|
|
2473
|
+
def initialize(**args)
|
|
2474
|
+
update!(**args)
|
|
2475
|
+
end
|
|
2476
|
+
|
|
2477
|
+
# Update properties of this object
|
|
2478
|
+
def update!(**args)
|
|
2479
|
+
@end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location)
|
|
2480
|
+
@location = args[:location] if args.key?(:location)
|
|
2481
|
+
@person_properties = args[:person_properties] if args.key?(:person_properties)
|
|
2482
|
+
end
|
|
2483
|
+
end
|
|
2484
|
+
|
|
2428
2485
|
# Inserts a section break at the given location. A newline character will be
|
|
2429
2486
|
# inserted before the section break.
|
|
2430
2487
|
class InsertSectionBreakRequest
|
|
@@ -4407,6 +4464,11 @@ module Google
|
|
|
4407
4464
|
# @return [Google::Apis::DocsV1::InsertPageBreakRequest]
|
|
4408
4465
|
attr_accessor :insert_page_break
|
|
4409
4466
|
|
|
4467
|
+
# Inserts a person mention.
|
|
4468
|
+
# Corresponds to the JSON property `insertPerson`
|
|
4469
|
+
# @return [Google::Apis::DocsV1::InsertPersonRequest]
|
|
4470
|
+
attr_accessor :insert_person
|
|
4471
|
+
|
|
4410
4472
|
# Inserts a section break at the given location. A newline character will be
|
|
4411
4473
|
# inserted before the section break.
|
|
4412
4474
|
# Corresponds to the JSON property `insertSectionBreak`
|
|
@@ -4527,6 +4589,7 @@ module Google
|
|
|
4527
4589
|
@delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
|
|
4528
4590
|
@insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
|
|
4529
4591
|
@insert_page_break = args[:insert_page_break] if args.key?(:insert_page_break)
|
|
4592
|
+
@insert_person = args[:insert_person] if args.key?(:insert_person)
|
|
4530
4593
|
@insert_section_break = args[:insert_section_break] if args.key?(:insert_section_break)
|
|
4531
4594
|
@insert_table = args[:insert_table] if args.key?(:insert_table)
|
|
4532
4595
|
@insert_table_column = args[:insert_table_column] if args.key?(:insert_table_column)
|
|
@@ -5535,6 +5598,15 @@ module Google
|
|
|
5535
5598
|
class TabProperties
|
|
5536
5599
|
include Google::Apis::Core::Hashable
|
|
5537
5600
|
|
|
5601
|
+
# Optional. The emoji icon displayed with the tab. A valid emoji icon is
|
|
5602
|
+
# represented by a non-empty Unicode string. Any set of characters that don't
|
|
5603
|
+
# represent a single emoji is invalid. If an emoji is invalid, a 400 bad request
|
|
5604
|
+
# error is returned. If this value is unset or empty, the tab will display the
|
|
5605
|
+
# default tab icon.
|
|
5606
|
+
# Corresponds to the JSON property `iconEmoji`
|
|
5607
|
+
# @return [String]
|
|
5608
|
+
attr_accessor :icon_emoji
|
|
5609
|
+
|
|
5538
5610
|
# The zero-based index of the tab within the parent.
|
|
5539
5611
|
# Corresponds to the JSON property `index`
|
|
5540
5612
|
# @return [Fixnum]
|
|
@@ -5568,6 +5640,7 @@ module Google
|
|
|
5568
5640
|
|
|
5569
5641
|
# Update properties of this object
|
|
5570
5642
|
def update!(**args)
|
|
5643
|
+
@icon_emoji = args[:icon_emoji] if args.key?(:icon_emoji)
|
|
5571
5644
|
@index = args[:index] if args.key?(:index)
|
|
5572
5645
|
@nesting_level = args[:nesting_level] if args.key?(:nesting_level)
|
|
5573
5646
|
@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.
|
|
19
|
+
GEM_VERSION = "0.36.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 = "
|
|
25
|
+
REVISION = "20251013"
|
|
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
|
|
|
@@ -376,6 +382,12 @@ module Google
|
|
|
376
382
|
include Google::Apis::Core::JsonObjectSupport
|
|
377
383
|
end
|
|
378
384
|
|
|
385
|
+
class InsertPersonRequest
|
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
|
+
|
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
389
|
+
end
|
|
390
|
+
|
|
379
391
|
class InsertSectionBreakRequest
|
|
380
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
393
|
|
|
@@ -1275,6 +1287,13 @@ module Google
|
|
|
1275
1287
|
end
|
|
1276
1288
|
end
|
|
1277
1289
|
|
|
1290
|
+
class DocumentFormat
|
|
1291
|
+
# @private
|
|
1292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1293
|
+
property :document_mode, as: 'documentMode'
|
|
1294
|
+
end
|
|
1295
|
+
end
|
|
1296
|
+
|
|
1278
1297
|
class DocumentStyle
|
|
1279
1298
|
# @private
|
|
1280
1299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1282,6 +1301,8 @@ module Google
|
|
|
1282
1301
|
|
|
1283
1302
|
property :default_footer_id, as: 'defaultFooterId'
|
|
1284
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
|
+
|
|
1285
1306
|
property :even_page_footer_id, as: 'evenPageFooterId'
|
|
1286
1307
|
property :even_page_header_id, as: 'evenPageHeaderId'
|
|
1287
1308
|
property :first_page_footer_id, as: 'firstPageFooterId'
|
|
@@ -1631,6 +1652,18 @@ module Google
|
|
|
1631
1652
|
end
|
|
1632
1653
|
end
|
|
1633
1654
|
|
|
1655
|
+
class InsertPersonRequest
|
|
1656
|
+
# @private
|
|
1657
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1658
|
+
property :end_of_segment_location, as: 'endOfSegmentLocation', class: Google::Apis::DocsV1::EndOfSegmentLocation, decorator: Google::Apis::DocsV1::EndOfSegmentLocation::Representation
|
|
1659
|
+
|
|
1660
|
+
property :location, as: 'location', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation
|
|
1661
|
+
|
|
1662
|
+
property :person_properties, as: 'personProperties', class: Google::Apis::DocsV1::PersonProperties, decorator: Google::Apis::DocsV1::PersonProperties::Representation
|
|
1663
|
+
|
|
1664
|
+
end
|
|
1665
|
+
end
|
|
1666
|
+
|
|
1634
1667
|
class InsertSectionBreakRequest
|
|
1635
1668
|
# @private
|
|
1636
1669
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2169,6 +2202,8 @@ module Google
|
|
|
2169
2202
|
|
|
2170
2203
|
property :insert_page_break, as: 'insertPageBreak', class: Google::Apis::DocsV1::InsertPageBreakRequest, decorator: Google::Apis::DocsV1::InsertPageBreakRequest::Representation
|
|
2171
2204
|
|
|
2205
|
+
property :insert_person, as: 'insertPerson', class: Google::Apis::DocsV1::InsertPersonRequest, decorator: Google::Apis::DocsV1::InsertPersonRequest::Representation
|
|
2206
|
+
|
|
2172
2207
|
property :insert_section_break, as: 'insertSectionBreak', class: Google::Apis::DocsV1::InsertSectionBreakRequest, decorator: Google::Apis::DocsV1::InsertSectionBreakRequest::Representation
|
|
2173
2208
|
|
|
2174
2209
|
property :insert_table, as: 'insertTable', class: Google::Apis::DocsV1::InsertTableRequest, decorator: Google::Apis::DocsV1::InsertTableRequest::Representation
|
|
@@ -2502,6 +2537,7 @@ module Google
|
|
|
2502
2537
|
class TabProperties
|
|
2503
2538
|
# @private
|
|
2504
2539
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2540
|
+
property :icon_emoji, as: 'iconEmoji'
|
|
2505
2541
|
property :index, as: 'index'
|
|
2506
2542
|
property :nesting_level, as: 'nestingLevel'
|
|
2507
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.
|
|
4
|
+
version: 0.36.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.36.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:
|