Skip to content

Commit 00353b3

Browse files
feat: Automated regeneration of docs v1 client (googleapis#24692)
Auto-created at 2025-10-19 10:38:49 +0000 using the toys pull request generator.
1 parent 30ac467 commit 00353b3

File tree

5 files changed

+61
-2
lines changed

5 files changed

+61
-2
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238051,10 +238051,13 @@
238051238051
"/docs:v1/Document/tabs": tabs
238052238052
"/docs:v1/Document/tabs/tab": tab
238053238053
"/docs:v1/Document/title": title
238054+
"/docs:v1/DocumentFormat": document_format
238055+
"/docs:v1/DocumentFormat/documentMode": document_mode
238054238056
"/docs:v1/DocumentStyle": document_style
238055238057
"/docs:v1/DocumentStyle/background": background
238056238058
"/docs:v1/DocumentStyle/defaultFooterId": default_footer_id
238057238059
"/docs:v1/DocumentStyle/defaultHeaderId": default_header_id
238060+
"/docs:v1/DocumentStyle/documentFormat": document_format
238058238061
"/docs:v1/DocumentStyle/evenPageFooterId": even_page_footer_id
238059238062
"/docs:v1/DocumentStyle/evenPageHeaderId": even_page_header_id
238060238063
"/docs:v1/DocumentStyle/firstPageFooterId": first_page_footer_id
@@ -238636,6 +238639,7 @@
238636238639
"/docs:v1/Tab/documentTab": document_tab
238637238640
"/docs:v1/Tab/tabProperties": tab_properties
238638238641
"/docs:v1/TabProperties": tab_properties
238642+
"/docs:v1/TabProperties/iconEmoji": icon_emoji
238639238643
"/docs:v1/TabProperties/index": index
238640238644
"/docs:v1/TabProperties/nestingLevel": nesting_level
238641238645
"/docs:v1/TabProperties/parentTabId": parent_tab_id

generated/google-apis-docs_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-docs_v1
22

3+
### v0.36.0 (2025-10-19)
4+
5+
* Regenerated from discovery document revision 20251013
6+
37
### v0.35.0 (2025-10-05)
48

59
* Regenerated from discovery document revision 20250925

generated/google-apis-docs_v1/lib/google/apis/docs_v1/classes.rb

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,25 @@ def update!(**args)
10911091
end
10921092
end
10931093

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+
10941113
# The style of the document.
10951114
class DocumentStyle
10961115
include Google::Apis::Core::Hashable
@@ -1112,6 +1131,11 @@ class DocumentStyle
11121131
# @return [String]
11131132
attr_accessor :default_header_id
11141133

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+
11151139
# The ID of the footer used only for even pages. The value of
11161140
# use_even_page_header_footer determines whether to use the default_footer_id or
11171141
# this value for the footer on even pages. If not set, there's no even page
@@ -1223,6 +1247,7 @@ def update!(**args)
12231247
@background = args[:background] if args.key?(:background)
12241248
@default_footer_id = args[:default_footer_id] if args.key?(:default_footer_id)
12251249
@default_header_id = args[:default_header_id] if args.key?(:default_header_id)
1250+
@document_format = args[:document_format] if args.key?(:document_format)
12261251
@even_page_footer_id = args[:even_page_footer_id] if args.key?(:even_page_footer_id)
12271252
@even_page_header_id = args[:even_page_header_id] if args.key?(:even_page_header_id)
12281253
@first_page_footer_id = args[:first_page_footer_id] if args.key?(:first_page_footer_id)
@@ -5573,6 +5598,15 @@ def update!(**args)
55735598
class TabProperties
55745599
include Google::Apis::Core::Hashable
55755600

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+
55765610
# The zero-based index of the tab within the parent.
55775611
# Corresponds to the JSON property `index`
55785612
# @return [Fixnum]
@@ -5606,6 +5640,7 @@ def initialize(**args)
56065640

56075641
# Update properties of this object
56085642
def update!(**args)
5643+
@icon_emoji = args[:icon_emoji] if args.key?(:icon_emoji)
56095644
@index = args[:index] if args.key?(:index)
56105645
@nesting_level = args[:nesting_level] if args.key?(:nesting_level)
56115646
@parent_tab_id = args[:parent_tab_id] if args.key?(:parent_tab_id)

generated/google-apis-docs_v1/lib/google/apis/docs_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DocsV1
1818
# Version of the google-apis-docs_v1 gem
19-
GEM_VERSION = "0.35.0"
19+
GEM_VERSION = "0.36.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250925"
25+
REVISION = "20251013"
2626
end
2727
end
2828
end

generated/google-apis-docs_v1/lib/google/apis/docs_v1/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
214214
include Google::Apis::Core::JsonObjectSupport
215215
end
216216

217+
class DocumentFormat
218+
class Representation < Google::Apis::Core::JsonRepresentation; end
219+
220+
include Google::Apis::Core::JsonObjectSupport
221+
end
222+
217223
class DocumentStyle
218224
class Representation < Google::Apis::Core::JsonRepresentation; end
219225

@@ -1281,13 +1287,22 @@ class Representation < Google::Apis::Core::JsonRepresentation
12811287
end
12821288
end
12831289

1290+
class DocumentFormat
1291+
# @private
1292+
class Representation < Google::Apis::Core::JsonRepresentation
1293+
property :document_mode, as: 'documentMode'
1294+
end
1295+
end
1296+
12841297
class DocumentStyle
12851298
# @private
12861299
class Representation < Google::Apis::Core::JsonRepresentation
12871300
property :background, as: 'background', class: Google::Apis::DocsV1::Background, decorator: Google::Apis::DocsV1::Background::Representation
12881301

12891302
property :default_footer_id, as: 'defaultFooterId'
12901303
property :default_header_id, as: 'defaultHeaderId'
1304+
property :document_format, as: 'documentFormat', class: Google::Apis::DocsV1::DocumentFormat, decorator: Google::Apis::DocsV1::DocumentFormat::Representation
1305+
12911306
property :even_page_footer_id, as: 'evenPageFooterId'
12921307
property :even_page_header_id, as: 'evenPageHeaderId'
12931308
property :first_page_footer_id, as: 'firstPageFooterId'
@@ -2522,6 +2537,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
25222537
class TabProperties
25232538
# @private
25242539
class Representation < Google::Apis::Core::JsonRepresentation
2540+
property :icon_emoji, as: 'iconEmoji'
25252541
property :index, as: 'index'
25262542
property :nesting_level, as: 'nestingLevel'
25272543
property :parent_tab_id, as: 'parentTabId'

0 commit comments

Comments
 (0)