google-apis-docs_v1 0.35.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 +4 -0
- data/lib/google/apis/docs_v1/classes.rb +35 -0
- data/lib/google/apis/docs_v1/gem_version.rb +2 -2
- data/lib/google/apis/docs_v1/representations.rb +16 -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
@@ -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)
|
@@ -5573,6 +5598,15 @@ module Google
|
|
5573
5598
|
class TabProperties
|
5574
5599
|
include Google::Apis::Core::Hashable
|
5575
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
|
+
|
5576
5610
|
# The zero-based index of the tab within the parent.
|
5577
5611
|
# Corresponds to the JSON property `index`
|
5578
5612
|
# @return [Fixnum]
|
@@ -5606,6 +5640,7 @@ module Google
|
|
5606
5640
|
|
5607
5641
|
# Update properties of this object
|
5608
5642
|
def update!(**args)
|
5643
|
+
@icon_emoji = args[:icon_emoji] if args.key?(:icon_emoji)
|
5609
5644
|
@index = args[:index] if args.key?(:index)
|
5610
5645
|
@nesting_level = args[:nesting_level] if args.key?(:nesting_level)
|
5611
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
|
|
@@ -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.
|
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:
|