google-apis-docs_v1 0.48.0 → 0.49.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 +626 -0
- data/lib/google/apis/docs_v1/gem_version.rb +2 -2
- data/lib/google/apis/docs_v1/representations.rb +275 -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: 51f5856ef73887a0214b3d50103613356a3c6fb8bf4f56bb639afd96de1829d8
|
|
4
|
+
data.tar.gz: ae22131f415491805d738dafbe98ff822b36ac4210dff865a996abb693b4d90a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c247ad43c20fc37b535041ed678d721f9064498db2d905e35ebc2f2550e26dcadcaebd2621258046d5fe0edacea16f447a408782a8d24212d25330d880296a3
|
|
7
|
+
data.tar.gz: bf91ff508aab6d5dbb1e40dd3dca07142790367f02dffaea18a787a8ce8a7c83cd93afd152d71ab601f988351a492ebcd1b5521bb262c5b630016728072569cf
|
data/CHANGELOG.md
CHANGED
|
@@ -574,6 +574,55 @@ module Google
|
|
|
574
574
|
end
|
|
575
575
|
end
|
|
576
576
|
|
|
577
|
+
# Creates a new DropdownDefinition in the document.
|
|
578
|
+
class CreateDropdownDefinitionRequest
|
|
579
|
+
include Google::Apis::Core::Hashable
|
|
580
|
+
|
|
581
|
+
# A dropdown definition in the document.
|
|
582
|
+
# Corresponds to the JSON property `dropdownDefinition`
|
|
583
|
+
# @return [Google::Apis::DocsV1::DropdownDefinition]
|
|
584
|
+
attr_accessor :dropdown_definition
|
|
585
|
+
|
|
586
|
+
# The ID of the tab to create the dropdown definition in. When omitted, the
|
|
587
|
+
# request is applied to the first tab. In a document containing a single tab: -
|
|
588
|
+
# If provided, must match the singular tab's ID. - If omitted, the request
|
|
589
|
+
# applies to the singular tab. In a document containing multiple tabs: - If
|
|
590
|
+
# provided, the request applies to the specified tab. - If omitted, the request
|
|
591
|
+
# applies to the first tab in the document.
|
|
592
|
+
# Corresponds to the JSON property `tabId`
|
|
593
|
+
# @return [String]
|
|
594
|
+
attr_accessor :tab_id
|
|
595
|
+
|
|
596
|
+
def initialize(**args)
|
|
597
|
+
update!(**args)
|
|
598
|
+
end
|
|
599
|
+
|
|
600
|
+
# Update properties of this object
|
|
601
|
+
def update!(**args)
|
|
602
|
+
@dropdown_definition = args[:dropdown_definition] if args.key?(:dropdown_definition)
|
|
603
|
+
@tab_id = args[:tab_id] if args.key?(:tab_id)
|
|
604
|
+
end
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
# Response message for creating a dropdown definition.
|
|
608
|
+
class CreateDropdownDefinitionResponse
|
|
609
|
+
include Google::Apis::Core::Hashable
|
|
610
|
+
|
|
611
|
+
# A dropdown definition in the document.
|
|
612
|
+
# Corresponds to the JSON property `dropdownDefinition`
|
|
613
|
+
# @return [Google::Apis::DocsV1::DropdownDefinition]
|
|
614
|
+
attr_accessor :dropdown_definition
|
|
615
|
+
|
|
616
|
+
def initialize(**args)
|
|
617
|
+
update!(**args)
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
# Update properties of this object
|
|
621
|
+
def update!(**args)
|
|
622
|
+
@dropdown_definition = args[:dropdown_definition] if args.key?(:dropdown_definition)
|
|
623
|
+
end
|
|
624
|
+
end
|
|
625
|
+
|
|
577
626
|
# Creates a Footer. The new footer is applied to the SectionStyle at the
|
|
578
627
|
# location of the SectionBreak if specified, otherwise it is applied to the
|
|
579
628
|
# DocumentStyle. If a footer of the specified type already exists, a 400 bad
|
|
@@ -1164,6 +1213,38 @@ module Google
|
|
|
1164
1213
|
end
|
|
1165
1214
|
end
|
|
1166
1215
|
|
|
1216
|
+
# Deletes a DropdownDefinition. If the dropdown definition is referenced by any
|
|
1217
|
+
# dropdown instances (chips) in the document, a 400 bad request error is
|
|
1218
|
+
# returned.
|
|
1219
|
+
class DeleteDropdownDefinitionRequest
|
|
1220
|
+
include Google::Apis::Core::Hashable
|
|
1221
|
+
|
|
1222
|
+
# The ID of the DropdownDefinition to delete.
|
|
1223
|
+
# Corresponds to the JSON property `dropdownDefinitionId`
|
|
1224
|
+
# @return [String]
|
|
1225
|
+
attr_accessor :dropdown_definition_id
|
|
1226
|
+
|
|
1227
|
+
# The ID of the tab that contains the dropdown definition to delete. When
|
|
1228
|
+
# omitted, the request is applied to the first tab. In a document containing a
|
|
1229
|
+
# single tab: - If provided, must match the singular tab's ID. - If omitted, the
|
|
1230
|
+
# request applies to the singular tab. In a document containing multiple tabs: -
|
|
1231
|
+
# If provided, the request applies to the specified tab. - If omitted, the
|
|
1232
|
+
# request applies to the first tab in the document.
|
|
1233
|
+
# Corresponds to the JSON property `tabId`
|
|
1234
|
+
# @return [String]
|
|
1235
|
+
attr_accessor :tab_id
|
|
1236
|
+
|
|
1237
|
+
def initialize(**args)
|
|
1238
|
+
update!(**args)
|
|
1239
|
+
end
|
|
1240
|
+
|
|
1241
|
+
# Update properties of this object
|
|
1242
|
+
def update!(**args)
|
|
1243
|
+
@dropdown_definition_id = args[:dropdown_definition_id] if args.key?(:dropdown_definition_id)
|
|
1244
|
+
@tab_id = args[:tab_id] if args.key?(:tab_id)
|
|
1245
|
+
end
|
|
1246
|
+
end
|
|
1247
|
+
|
|
1167
1248
|
# Deletes a Footer from the document.
|
|
1168
1249
|
class DeleteFooterRequest
|
|
1169
1250
|
include Google::Apis::Core::Hashable
|
|
@@ -1970,6 +2051,11 @@ module Google
|
|
|
1970
2051
|
# @return [Google::Apis::DocsV1::DocumentStyle]
|
|
1971
2052
|
attr_accessor :document_style
|
|
1972
2053
|
|
|
2054
|
+
# The dropdown definitions in a document tab, keyed by dropdown definition ID.
|
|
2055
|
+
# Corresponds to the JSON property `dropdownDefinitions`
|
|
2056
|
+
# @return [Hash<String,Google::Apis::DocsV1::DropdownDefinition>]
|
|
2057
|
+
attr_accessor :dropdown_definitions
|
|
2058
|
+
|
|
1973
2059
|
# The footers in the document tab, keyed by footer ID.
|
|
1974
2060
|
# Corresponds to the JSON property `footers`
|
|
1975
2061
|
# @return [Hash<String,Google::Apis::DocsV1::Footer>]
|
|
@@ -2031,6 +2117,7 @@ module Google
|
|
|
2031
2117
|
@body = args[:body] if args.key?(:body)
|
|
2032
2118
|
@comment_anchors = args[:comment_anchors] if args.key?(:comment_anchors)
|
|
2033
2119
|
@document_style = args[:document_style] if args.key?(:document_style)
|
|
2120
|
+
@dropdown_definitions = args[:dropdown_definitions] if args.key?(:dropdown_definitions)
|
|
2034
2121
|
@footers = args[:footers] if args.key?(:footers)
|
|
2035
2122
|
@footnotes = args[:footnotes] if args.key?(:footnotes)
|
|
2036
2123
|
@headers = args[:headers] if args.key?(:headers)
|
|
@@ -2044,6 +2131,273 @@ module Google
|
|
|
2044
2131
|
end
|
|
2045
2132
|
end
|
|
2046
2133
|
|
|
2134
|
+
# A dropdown in the document. The chip is displayed as a dropdown menu that
|
|
2135
|
+
# allows users to select an option from a configurable list of options.
|
|
2136
|
+
class Dropdown
|
|
2137
|
+
include Google::Apis::Core::Hashable
|
|
2138
|
+
|
|
2139
|
+
# The ID of this dropdown.
|
|
2140
|
+
# Corresponds to the JSON property `dropdownId`
|
|
2141
|
+
# @return [String]
|
|
2142
|
+
attr_accessor :dropdown_id
|
|
2143
|
+
|
|
2144
|
+
# Properties specific to a dropdown.
|
|
2145
|
+
# Corresponds to the JSON property `dropdownProperties`
|
|
2146
|
+
# @return [Google::Apis::DocsV1::DropdownProperties]
|
|
2147
|
+
attr_accessor :dropdown_properties
|
|
2148
|
+
|
|
2149
|
+
# IDs for suggestions that remove this dropdown from the document. If empty,
|
|
2150
|
+
# then this dropdown isn't suggested for deletion.
|
|
2151
|
+
# Corresponds to the JSON property `suggestedDeletionIds`
|
|
2152
|
+
# @return [Array<String>]
|
|
2153
|
+
attr_accessor :suggested_deletion_ids
|
|
2154
|
+
|
|
2155
|
+
# The suggested properties changes to this dropdown, keyed by suggestion ID.
|
|
2156
|
+
# Corresponds to the JSON property `suggestedDropdownPropertiesChanges`
|
|
2157
|
+
# @return [Hash<String,Google::Apis::DocsV1::SuggestedDropdownProperties>]
|
|
2158
|
+
attr_accessor :suggested_dropdown_properties_changes
|
|
2159
|
+
|
|
2160
|
+
# IDs for suggestions that insert this dropdown into the document. If empty,
|
|
2161
|
+
# then this dropdown isn't a suggested insertion.
|
|
2162
|
+
# Corresponds to the JSON property `suggestedInsertionIds`
|
|
2163
|
+
# @return [Array<String>]
|
|
2164
|
+
attr_accessor :suggested_insertion_ids
|
|
2165
|
+
|
|
2166
|
+
# The suggested text style changes to this dropdown, keyed by suggestion ID.
|
|
2167
|
+
# Corresponds to the JSON property `suggestedTextStyleChanges`
|
|
2168
|
+
# @return [Hash<String,Google::Apis::DocsV1::SuggestedTextStyle>]
|
|
2169
|
+
attr_accessor :suggested_text_style_changes
|
|
2170
|
+
|
|
2171
|
+
# Represents the styling that can be applied to text. Inherited text styles are
|
|
2172
|
+
# represented as unset fields in this message. A text style's parent depends on
|
|
2173
|
+
# where the text style is defined: * The TextStyle of text in a Paragraph
|
|
2174
|
+
# inherits from the paragraph's corresponding named style type. * The TextStyle
|
|
2175
|
+
# on a named style inherits from the normal text named style. * The TextStyle of
|
|
2176
|
+
# the normal text named style inherits from the default text style in the Docs
|
|
2177
|
+
# editor. * The TextStyle on a Paragraph element that's contained in a table may
|
|
2178
|
+
# inherit its text style from the table style. If the text style does not
|
|
2179
|
+
# inherit from a parent, unsetting fields will revert the style to a value
|
|
2180
|
+
# matching the defaults in the Docs editor.
|
|
2181
|
+
# Corresponds to the JSON property `textStyle`
|
|
2182
|
+
# @return [Google::Apis::DocsV1::TextStyle]
|
|
2183
|
+
attr_accessor :text_style
|
|
2184
|
+
|
|
2185
|
+
def initialize(**args)
|
|
2186
|
+
update!(**args)
|
|
2187
|
+
end
|
|
2188
|
+
|
|
2189
|
+
# Update properties of this object
|
|
2190
|
+
def update!(**args)
|
|
2191
|
+
@dropdown_id = args[:dropdown_id] if args.key?(:dropdown_id)
|
|
2192
|
+
@dropdown_properties = args[:dropdown_properties] if args.key?(:dropdown_properties)
|
|
2193
|
+
@suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids)
|
|
2194
|
+
@suggested_dropdown_properties_changes = args[:suggested_dropdown_properties_changes] if args.key?(:suggested_dropdown_properties_changes)
|
|
2195
|
+
@suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids)
|
|
2196
|
+
@suggested_text_style_changes = args[:suggested_text_style_changes] if args.key?(:suggested_text_style_changes)
|
|
2197
|
+
@text_style = args[:text_style] if args.key?(:text_style)
|
|
2198
|
+
end
|
|
2199
|
+
end
|
|
2200
|
+
|
|
2201
|
+
# A dropdown definition in the document.
|
|
2202
|
+
class DropdownDefinition
|
|
2203
|
+
include Google::Apis::Core::Hashable
|
|
2204
|
+
|
|
2205
|
+
# The ID of this dropdown definition. If you specify an ID, it must be unique
|
|
2206
|
+
# among all IDs in the tab. The ID must start with `kix.` and match regex `^kix\.
|
|
2207
|
+
# [a-zA-Z0-9_-]`2,14`$` (length 6-18 chars). If you don't specify an ID, a
|
|
2208
|
+
# unique one is generated.
|
|
2209
|
+
# Corresponds to the JSON property `dropdownDefinitionId`
|
|
2210
|
+
# @return [String]
|
|
2211
|
+
attr_accessor :dropdown_definition_id
|
|
2212
|
+
|
|
2213
|
+
# Properties of a dropdown definition.
|
|
2214
|
+
# Corresponds to the JSON property `dropdownDefinitionProperties`
|
|
2215
|
+
# @return [Google::Apis::DocsV1::DropdownDefinitionProperties]
|
|
2216
|
+
attr_accessor :dropdown_definition_properties
|
|
2217
|
+
|
|
2218
|
+
# ID for suggestion that deletes this dropdown definition.
|
|
2219
|
+
# Corresponds to the JSON property `suggestedDeletionId`
|
|
2220
|
+
# @return [String]
|
|
2221
|
+
attr_accessor :suggested_deletion_id
|
|
2222
|
+
|
|
2223
|
+
# Suggested property changes to this definition, keyed by suggestion ID.
|
|
2224
|
+
# Corresponds to the JSON property `suggestedDropdownDefinitionPropertiesChanges`
|
|
2225
|
+
# @return [Hash<String,Google::Apis::DocsV1::SuggestedDropdownDefinitionProperties>]
|
|
2226
|
+
attr_accessor :suggested_dropdown_definition_properties_changes
|
|
2227
|
+
|
|
2228
|
+
# ID for suggestion that inserts this dropdown definition.
|
|
2229
|
+
# Corresponds to the JSON property `suggestedInsertionId`
|
|
2230
|
+
# @return [String]
|
|
2231
|
+
attr_accessor :suggested_insertion_id
|
|
2232
|
+
|
|
2233
|
+
def initialize(**args)
|
|
2234
|
+
update!(**args)
|
|
2235
|
+
end
|
|
2236
|
+
|
|
2237
|
+
# Update properties of this object
|
|
2238
|
+
def update!(**args)
|
|
2239
|
+
@dropdown_definition_id = args[:dropdown_definition_id] if args.key?(:dropdown_definition_id)
|
|
2240
|
+
@dropdown_definition_properties = args[:dropdown_definition_properties] if args.key?(:dropdown_definition_properties)
|
|
2241
|
+
@suggested_deletion_id = args[:suggested_deletion_id] if args.key?(:suggested_deletion_id)
|
|
2242
|
+
@suggested_dropdown_definition_properties_changes = args[:suggested_dropdown_definition_properties_changes] if args.key?(:suggested_dropdown_definition_properties_changes)
|
|
2243
|
+
@suggested_insertion_id = args[:suggested_insertion_id] if args.key?(:suggested_insertion_id)
|
|
2244
|
+
end
|
|
2245
|
+
end
|
|
2246
|
+
|
|
2247
|
+
# Properties of a dropdown definition.
|
|
2248
|
+
class DropdownDefinitionProperties
|
|
2249
|
+
include Google::Apis::Core::Hashable
|
|
2250
|
+
|
|
2251
|
+
# The list of options defined by this dropdown definition. A dropdown definition
|
|
2252
|
+
# must have at least 2 options and at most 50 options.
|
|
2253
|
+
# Corresponds to the JSON property `options`
|
|
2254
|
+
# @return [Array<Google::Apis::DocsV1::DropdownOption>]
|
|
2255
|
+
attr_accessor :options
|
|
2256
|
+
|
|
2257
|
+
# The title of the dropdown definition.
|
|
2258
|
+
# Corresponds to the JSON property `title`
|
|
2259
|
+
# @return [String]
|
|
2260
|
+
attr_accessor :title
|
|
2261
|
+
|
|
2262
|
+
def initialize(**args)
|
|
2263
|
+
update!(**args)
|
|
2264
|
+
end
|
|
2265
|
+
|
|
2266
|
+
# Update properties of this object
|
|
2267
|
+
def update!(**args)
|
|
2268
|
+
@options = args[:options] if args.key?(:options)
|
|
2269
|
+
@title = args[:title] if args.key?(:title)
|
|
2270
|
+
end
|
|
2271
|
+
end
|
|
2272
|
+
|
|
2273
|
+
# A mask that indicates which of the fields on the base
|
|
2274
|
+
# DropdownDefinitionProperties have been changed in this suggestion. For any
|
|
2275
|
+
# field set to true, there's a new suggested value.
|
|
2276
|
+
class DropdownDefinitionPropertiesSuggestionState
|
|
2277
|
+
include Google::Apis::Core::Hashable
|
|
2278
|
+
|
|
2279
|
+
# Indicates if there was a suggested change to options.
|
|
2280
|
+
# Corresponds to the JSON property `optionsSuggested`
|
|
2281
|
+
# @return [Boolean]
|
|
2282
|
+
attr_accessor :options_suggested
|
|
2283
|
+
alias_method :options_suggested?, :options_suggested
|
|
2284
|
+
|
|
2285
|
+
# Indicates if there was a suggested change to title.
|
|
2286
|
+
# Corresponds to the JSON property `titleSuggested`
|
|
2287
|
+
# @return [Boolean]
|
|
2288
|
+
attr_accessor :title_suggested
|
|
2289
|
+
alias_method :title_suggested?, :title_suggested
|
|
2290
|
+
|
|
2291
|
+
def initialize(**args)
|
|
2292
|
+
update!(**args)
|
|
2293
|
+
end
|
|
2294
|
+
|
|
2295
|
+
# Update properties of this object
|
|
2296
|
+
def update!(**args)
|
|
2297
|
+
@options_suggested = args[:options_suggested] if args.key?(:options_suggested)
|
|
2298
|
+
@title_suggested = args[:title_suggested] if args.key?(:title_suggested)
|
|
2299
|
+
end
|
|
2300
|
+
end
|
|
2301
|
+
|
|
2302
|
+
# An option in a Dropdown.
|
|
2303
|
+
class DropdownOption
|
|
2304
|
+
include Google::Apis::Core::Hashable
|
|
2305
|
+
|
|
2306
|
+
# The display value of this dropdown option.
|
|
2307
|
+
# Corresponds to the JSON property `displayValue`
|
|
2308
|
+
# @return [String]
|
|
2309
|
+
attr_accessor :display_value
|
|
2310
|
+
|
|
2311
|
+
# The ID of this dropdown option. If you specify an ID, it must be unique among
|
|
2312
|
+
# all options in this dropdown definition. The ID must start with `dropdownItem.`
|
|
2313
|
+
# and match regex `^dropdownItem\.[a-zA-Z0-9_-]`2,14`$` (length 15-27 chars).
|
|
2314
|
+
# If you don't specify an ID, a unique one is generated.
|
|
2315
|
+
# Corresponds to the JSON property `optionId`
|
|
2316
|
+
# @return [String]
|
|
2317
|
+
attr_accessor :option_id
|
|
2318
|
+
|
|
2319
|
+
# Represents the styling that can be applied to text. Inherited text styles are
|
|
2320
|
+
# represented as unset fields in this message. A text style's parent depends on
|
|
2321
|
+
# where the text style is defined: * The TextStyle of text in a Paragraph
|
|
2322
|
+
# inherits from the paragraph's corresponding named style type. * The TextStyle
|
|
2323
|
+
# on a named style inherits from the normal text named style. * The TextStyle of
|
|
2324
|
+
# the normal text named style inherits from the default text style in the Docs
|
|
2325
|
+
# editor. * The TextStyle on a Paragraph element that's contained in a table may
|
|
2326
|
+
# inherit its text style from the table style. If the text style does not
|
|
2327
|
+
# inherit from a parent, unsetting fields will revert the style to a value
|
|
2328
|
+
# matching the defaults in the Docs editor.
|
|
2329
|
+
# Corresponds to the JSON property `textStyle`
|
|
2330
|
+
# @return [Google::Apis::DocsV1::TextStyle]
|
|
2331
|
+
attr_accessor :text_style
|
|
2332
|
+
|
|
2333
|
+
def initialize(**args)
|
|
2334
|
+
update!(**args)
|
|
2335
|
+
end
|
|
2336
|
+
|
|
2337
|
+
# Update properties of this object
|
|
2338
|
+
def update!(**args)
|
|
2339
|
+
@display_value = args[:display_value] if args.key?(:display_value)
|
|
2340
|
+
@option_id = args[:option_id] if args.key?(:option_id)
|
|
2341
|
+
@text_style = args[:text_style] if args.key?(:text_style)
|
|
2342
|
+
end
|
|
2343
|
+
end
|
|
2344
|
+
|
|
2345
|
+
# Properties specific to a dropdown.
|
|
2346
|
+
class DropdownProperties
|
|
2347
|
+
include Google::Apis::Core::Hashable
|
|
2348
|
+
|
|
2349
|
+
# The human-readable display text of the currently selected item. This field is
|
|
2350
|
+
# populated by the server based on the dropdown definition and the selected
|
|
2351
|
+
# option ID. It may differ from `DropdownOption.display_value` if the underlying
|
|
2352
|
+
# option definition was modified or deleted, or during pending suggested changes.
|
|
2353
|
+
# Corresponds to the JSON property `displayValue`
|
|
2354
|
+
# @return [String]
|
|
2355
|
+
attr_accessor :display_value
|
|
2356
|
+
|
|
2357
|
+
# The ID of the DropdownDefinition that defines the options for this dropdown.
|
|
2358
|
+
# Corresponds to the JSON property `dropdownDefinitionId`
|
|
2359
|
+
# @return [String]
|
|
2360
|
+
attr_accessor :dropdown_definition_id
|
|
2361
|
+
|
|
2362
|
+
# The ID of the selected option in this dropdown.
|
|
2363
|
+
# Corresponds to the JSON property `selectedOptionId`
|
|
2364
|
+
# @return [String]
|
|
2365
|
+
attr_accessor :selected_option_id
|
|
2366
|
+
|
|
2367
|
+
def initialize(**args)
|
|
2368
|
+
update!(**args)
|
|
2369
|
+
end
|
|
2370
|
+
|
|
2371
|
+
# Update properties of this object
|
|
2372
|
+
def update!(**args)
|
|
2373
|
+
@display_value = args[:display_value] if args.key?(:display_value)
|
|
2374
|
+
@dropdown_definition_id = args[:dropdown_definition_id] if args.key?(:dropdown_definition_id)
|
|
2375
|
+
@selected_option_id = args[:selected_option_id] if args.key?(:selected_option_id)
|
|
2376
|
+
end
|
|
2377
|
+
end
|
|
2378
|
+
|
|
2379
|
+
# A mask that indicates which of the fields on the base DropdownProperties have
|
|
2380
|
+
# been changed in this suggestion. For any field set to true, there's a new
|
|
2381
|
+
# suggested value.
|
|
2382
|
+
class DropdownPropertiesSuggestionState
|
|
2383
|
+
include Google::Apis::Core::Hashable
|
|
2384
|
+
|
|
2385
|
+
# Indicates if there was a suggested change to selected_option_id.
|
|
2386
|
+
# Corresponds to the JSON property `selectedOptionIdSuggested`
|
|
2387
|
+
# @return [Boolean]
|
|
2388
|
+
attr_accessor :selected_option_id_suggested
|
|
2389
|
+
alias_method :selected_option_id_suggested?, :selected_option_id_suggested
|
|
2390
|
+
|
|
2391
|
+
def initialize(**args)
|
|
2392
|
+
update!(**args)
|
|
2393
|
+
end
|
|
2394
|
+
|
|
2395
|
+
# Update properties of this object
|
|
2396
|
+
def update!(**args)
|
|
2397
|
+
@selected_option_id_suggested = args[:selected_option_id_suggested] if args.key?(:selected_option_id_suggested)
|
|
2398
|
+
end
|
|
2399
|
+
end
|
|
2400
|
+
|
|
2047
2401
|
# The properties of an embedded drawing and used to differentiate the object
|
|
2048
2402
|
# type. An embedded drawing is one that's created and edited within a document.
|
|
2049
2403
|
# Note that extensive details are not supported.
|
|
@@ -2971,6 +3325,67 @@ module Google
|
|
|
2971
3325
|
end
|
|
2972
3326
|
end
|
|
2973
3327
|
|
|
3328
|
+
# Inserts a Dropdown at the specified location.
|
|
3329
|
+
class InsertDropdownRequest
|
|
3330
|
+
include Google::Apis::Core::Hashable
|
|
3331
|
+
|
|
3332
|
+
# Required. The DropdownDefinition ID.
|
|
3333
|
+
# Corresponds to the JSON property `dropdownDefinitionId`
|
|
3334
|
+
# @return [String]
|
|
3335
|
+
attr_accessor :dropdown_definition_id
|
|
3336
|
+
|
|
3337
|
+
# Location at the end of a body, header, footer or footnote. The location is
|
|
3338
|
+
# immediately before the last newline in the document segment.
|
|
3339
|
+
# Corresponds to the JSON property `endOfSegmentLocation`
|
|
3340
|
+
# @return [Google::Apis::DocsV1::EndOfSegmentLocation]
|
|
3341
|
+
attr_accessor :end_of_segment_location
|
|
3342
|
+
|
|
3343
|
+
# A particular location in the document.
|
|
3344
|
+
# Corresponds to the JSON property `location`
|
|
3345
|
+
# @return [Google::Apis::DocsV1::Location]
|
|
3346
|
+
attr_accessor :location
|
|
3347
|
+
|
|
3348
|
+
# Optional initial value for the dropdown. If this field is not specified, the
|
|
3349
|
+
# new dropdown will default to selecting the first option defined in the
|
|
3350
|
+
# dropdown definition. If this field is specified but does not reference a valid
|
|
3351
|
+
# option in the dropdown definition, a 400 bad request error is returned.
|
|
3352
|
+
# Corresponds to the JSON property `selectedOptionId`
|
|
3353
|
+
# @return [String]
|
|
3354
|
+
attr_accessor :selected_option_id
|
|
3355
|
+
|
|
3356
|
+
def initialize(**args)
|
|
3357
|
+
update!(**args)
|
|
3358
|
+
end
|
|
3359
|
+
|
|
3360
|
+
# Update properties of this object
|
|
3361
|
+
def update!(**args)
|
|
3362
|
+
@dropdown_definition_id = args[:dropdown_definition_id] if args.key?(:dropdown_definition_id)
|
|
3363
|
+
@end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location)
|
|
3364
|
+
@location = args[:location] if args.key?(:location)
|
|
3365
|
+
@selected_option_id = args[:selected_option_id] if args.key?(:selected_option_id)
|
|
3366
|
+
end
|
|
3367
|
+
end
|
|
3368
|
+
|
|
3369
|
+
# The result of inserting a Dropdown.
|
|
3370
|
+
class InsertDropdownResponse
|
|
3371
|
+
include Google::Apis::Core::Hashable
|
|
3372
|
+
|
|
3373
|
+
# A dropdown in the document. The chip is displayed as a dropdown menu that
|
|
3374
|
+
# allows users to select an option from a configurable list of options.
|
|
3375
|
+
# Corresponds to the JSON property `dropdown`
|
|
3376
|
+
# @return [Google::Apis::DocsV1::Dropdown]
|
|
3377
|
+
attr_accessor :dropdown
|
|
3378
|
+
|
|
3379
|
+
def initialize(**args)
|
|
3380
|
+
update!(**args)
|
|
3381
|
+
end
|
|
3382
|
+
|
|
3383
|
+
# Update properties of this object
|
|
3384
|
+
def update!(**args)
|
|
3385
|
+
@dropdown = args[:dropdown] if args.key?(:dropdown)
|
|
3386
|
+
end
|
|
3387
|
+
end
|
|
3388
|
+
|
|
2974
3389
|
# Inserts an InlineObject containing an image at the given location.
|
|
2975
3390
|
class InsertInlineImageRequest
|
|
2976
3391
|
include Google::Apis::Core::Hashable
|
|
@@ -4143,6 +4558,12 @@ module Google
|
|
|
4143
4558
|
# @return [Google::Apis::DocsV1::DateElement]
|
|
4144
4559
|
attr_accessor :date_element
|
|
4145
4560
|
|
|
4561
|
+
# A dropdown in the document. The chip is displayed as a dropdown menu that
|
|
4562
|
+
# allows users to select an option from a configurable list of options.
|
|
4563
|
+
# Corresponds to the JSON property `dropdown`
|
|
4564
|
+
# @return [Google::Apis::DocsV1::Dropdown]
|
|
4565
|
+
attr_accessor :dropdown
|
|
4566
|
+
|
|
4146
4567
|
# The zero-base end index of this paragraph element, exclusive, in UTF-16 code
|
|
4147
4568
|
# units.
|
|
4148
4569
|
# Corresponds to the JSON property `endIndex`
|
|
@@ -4207,6 +4628,7 @@ module Google
|
|
|
4207
4628
|
@auto_text = args[:auto_text] if args.key?(:auto_text)
|
|
4208
4629
|
@column_break = args[:column_break] if args.key?(:column_break)
|
|
4209
4630
|
@date_element = args[:date_element] if args.key?(:date_element)
|
|
4631
|
+
@dropdown = args[:dropdown] if args.key?(:dropdown)
|
|
4210
4632
|
@end_index = args[:end_index] if args.key?(:end_index)
|
|
4211
4633
|
@equation = args[:equation] if args.key?(:equation)
|
|
4212
4634
|
@footnote_reference = args[:footnote_reference] if args.key?(:footnote_reference)
|
|
@@ -5231,6 +5653,11 @@ module Google
|
|
|
5231
5653
|
# @return [Google::Apis::DocsV1::AddDocumentTabRequest]
|
|
5232
5654
|
attr_accessor :add_document_tab
|
|
5233
5655
|
|
|
5656
|
+
# Creates a new DropdownDefinition in the document.
|
|
5657
|
+
# Corresponds to the JSON property `createDropdownDefinition`
|
|
5658
|
+
# @return [Google::Apis::DocsV1::CreateDropdownDefinitionRequest]
|
|
5659
|
+
attr_accessor :create_dropdown_definition
|
|
5660
|
+
|
|
5234
5661
|
# Creates a Footer. The new footer is applied to the SectionStyle at the
|
|
5235
5662
|
# location of the SectionBreak if specified, otherwise it is applied to the
|
|
5236
5663
|
# DocumentStyle. If a footer of the specified type already exists, a 400 bad
|
|
@@ -5290,6 +5717,13 @@ module Google
|
|
|
5290
5717
|
# @return [Google::Apis::DocsV1::DeleteContentRangeRequest]
|
|
5291
5718
|
attr_accessor :delete_content_range
|
|
5292
5719
|
|
|
5720
|
+
# Deletes a DropdownDefinition. If the dropdown definition is referenced by any
|
|
5721
|
+
# dropdown instances (chips) in the document, a 400 bad request error is
|
|
5722
|
+
# returned.
|
|
5723
|
+
# Corresponds to the JSON property `deleteDropdownDefinition`
|
|
5724
|
+
# @return [Google::Apis::DocsV1::DeleteDropdownDefinitionRequest]
|
|
5725
|
+
attr_accessor :delete_dropdown_definition
|
|
5726
|
+
|
|
5293
5727
|
# Deletes a Footer from the document.
|
|
5294
5728
|
# Corresponds to the JSON property `deleteFooter`
|
|
5295
5729
|
# @return [Google::Apis::DocsV1::DeleteFooterRequest]
|
|
@@ -5350,6 +5784,11 @@ module Google
|
|
|
5350
5784
|
# @return [Google::Apis::DocsV1::InsertDateRequest]
|
|
5351
5785
|
attr_accessor :insert_date
|
|
5352
5786
|
|
|
5787
|
+
# Inserts a Dropdown at the specified location.
|
|
5788
|
+
# Corresponds to the JSON property `insertDropdown`
|
|
5789
|
+
# @return [Google::Apis::DocsV1::InsertDropdownRequest]
|
|
5790
|
+
attr_accessor :insert_dropdown
|
|
5791
|
+
|
|
5353
5792
|
# Inserts an InlineObject containing an image at the given location.
|
|
5354
5793
|
# Corresponds to the JSON property `insertInlineImage`
|
|
5355
5794
|
# @return [Google::Apis::DocsV1::InsertInlineImageRequest]
|
|
@@ -5460,6 +5899,16 @@ module Google
|
|
|
5460
5899
|
# @return [Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest]
|
|
5461
5900
|
attr_accessor :update_document_tab_properties
|
|
5462
5901
|
|
|
5902
|
+
# Updates the properties of a DropdownDefinition.
|
|
5903
|
+
# Corresponds to the JSON property `updateDropdownDefinitionProperties`
|
|
5904
|
+
# @return [Google::Apis::DocsV1::UpdateDropdownDefinitionPropertiesRequest]
|
|
5905
|
+
attr_accessor :update_dropdown_definition_properties
|
|
5906
|
+
|
|
5907
|
+
# Updates the properties of a Dropdown.
|
|
5908
|
+
# Corresponds to the JSON property `updateDropdownProperties`
|
|
5909
|
+
# @return [Google::Apis::DocsV1::UpdateDropdownPropertiesRequest]
|
|
5910
|
+
attr_accessor :update_dropdown_properties
|
|
5911
|
+
|
|
5463
5912
|
# Updates a named style.
|
|
5464
5913
|
# Corresponds to the JSON property `updateNamedStyle`
|
|
5465
5914
|
# @return [Google::Apis::DocsV1::UpdateNamedStyleRequest]
|
|
@@ -5504,6 +5953,7 @@ module Google
|
|
|
5504
5953
|
@accept_suggestion = args[:accept_suggestion] if args.key?(:accept_suggestion)
|
|
5505
5954
|
@add_comment_reply = args[:add_comment_reply] if args.key?(:add_comment_reply)
|
|
5506
5955
|
@add_document_tab = args[:add_document_tab] if args.key?(:add_document_tab)
|
|
5956
|
+
@create_dropdown_definition = args[:create_dropdown_definition] if args.key?(:create_dropdown_definition)
|
|
5507
5957
|
@create_footer = args[:create_footer] if args.key?(:create_footer)
|
|
5508
5958
|
@create_footnote = args[:create_footnote] if args.key?(:create_footnote)
|
|
5509
5959
|
@create_header = args[:create_header] if args.key?(:create_header)
|
|
@@ -5512,6 +5962,7 @@ module Google
|
|
|
5512
5962
|
@delete_comment = args[:delete_comment] if args.key?(:delete_comment)
|
|
5513
5963
|
@delete_comment_reply = args[:delete_comment_reply] if args.key?(:delete_comment_reply)
|
|
5514
5964
|
@delete_content_range = args[:delete_content_range] if args.key?(:delete_content_range)
|
|
5965
|
+
@delete_dropdown_definition = args[:delete_dropdown_definition] if args.key?(:delete_dropdown_definition)
|
|
5515
5966
|
@delete_footer = args[:delete_footer] if args.key?(:delete_footer)
|
|
5516
5967
|
@delete_header = args[:delete_header] if args.key?(:delete_header)
|
|
5517
5968
|
@delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range)
|
|
@@ -5523,6 +5974,7 @@ module Google
|
|
|
5523
5974
|
@delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
|
|
5524
5975
|
@insert_comment = args[:insert_comment] if args.key?(:insert_comment)
|
|
5525
5976
|
@insert_date = args[:insert_date] if args.key?(:insert_date)
|
|
5977
|
+
@insert_dropdown = args[:insert_dropdown] if args.key?(:insert_dropdown)
|
|
5526
5978
|
@insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
|
|
5527
5979
|
@insert_page_break = args[:insert_page_break] if args.key?(:insert_page_break)
|
|
5528
5980
|
@insert_person = args[:insert_person] if args.key?(:insert_person)
|
|
@@ -5542,6 +5994,8 @@ module Google
|
|
|
5542
5994
|
@update_comment_post = args[:update_comment_post] if args.key?(:update_comment_post)
|
|
5543
5995
|
@update_document_style = args[:update_document_style] if args.key?(:update_document_style)
|
|
5544
5996
|
@update_document_tab_properties = args[:update_document_tab_properties] if args.key?(:update_document_tab_properties)
|
|
5997
|
+
@update_dropdown_definition_properties = args[:update_dropdown_definition_properties] if args.key?(:update_dropdown_definition_properties)
|
|
5998
|
+
@update_dropdown_properties = args[:update_dropdown_properties] if args.key?(:update_dropdown_properties)
|
|
5545
5999
|
@update_named_style = args[:update_named_style] if args.key?(:update_named_style)
|
|
5546
6000
|
@update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
|
|
5547
6001
|
@update_section_style = args[:update_section_style] if args.key?(:update_section_style)
|
|
@@ -5567,6 +6021,11 @@ module Google
|
|
|
5567
6021
|
# @return [Google::Apis::DocsV1::AddDocumentTabResponse]
|
|
5568
6022
|
attr_accessor :add_document_tab
|
|
5569
6023
|
|
|
6024
|
+
# Response message for creating a dropdown definition.
|
|
6025
|
+
# Corresponds to the JSON property `createDropdownDefinition`
|
|
6026
|
+
# @return [Google::Apis::DocsV1::CreateDropdownDefinitionResponse]
|
|
6027
|
+
attr_accessor :create_dropdown_definition
|
|
6028
|
+
|
|
5570
6029
|
# The result of creating a footer.
|
|
5571
6030
|
# Corresponds to the JSON property `createFooter`
|
|
5572
6031
|
# @return [Google::Apis::DocsV1::CreateFooterResponse]
|
|
@@ -5593,6 +6052,11 @@ module Google
|
|
|
5593
6052
|
# @return [Google::Apis::DocsV1::InsertCommentResponse]
|
|
5594
6053
|
attr_accessor :insert_comment
|
|
5595
6054
|
|
|
6055
|
+
# The result of inserting a Dropdown.
|
|
6056
|
+
# Corresponds to the JSON property `insertDropdown`
|
|
6057
|
+
# @return [Google::Apis::DocsV1::InsertDropdownResponse]
|
|
6058
|
+
attr_accessor :insert_dropdown
|
|
6059
|
+
|
|
5596
6060
|
# The result of inserting an inline image.
|
|
5597
6061
|
# Corresponds to the JSON property `insertInlineImage`
|
|
5598
6062
|
# @return [Google::Apis::DocsV1::InsertInlineImageResponse]
|
|
@@ -5616,11 +6080,13 @@ module Google
|
|
|
5616
6080
|
def update!(**args)
|
|
5617
6081
|
@add_comment_reply = args[:add_comment_reply] if args.key?(:add_comment_reply)
|
|
5618
6082
|
@add_document_tab = args[:add_document_tab] if args.key?(:add_document_tab)
|
|
6083
|
+
@create_dropdown_definition = args[:create_dropdown_definition] if args.key?(:create_dropdown_definition)
|
|
5619
6084
|
@create_footer = args[:create_footer] if args.key?(:create_footer)
|
|
5620
6085
|
@create_footnote = args[:create_footnote] if args.key?(:create_footnote)
|
|
5621
6086
|
@create_header = args[:create_header] if args.key?(:create_header)
|
|
5622
6087
|
@create_named_range = args[:create_named_range] if args.key?(:create_named_range)
|
|
5623
6088
|
@insert_comment = args[:insert_comment] if args.key?(:insert_comment)
|
|
6089
|
+
@insert_dropdown = args[:insert_dropdown] if args.key?(:insert_dropdown)
|
|
5624
6090
|
@insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
|
|
5625
6091
|
@insert_inline_sheets_chart = args[:insert_inline_sheets_chart] if args.key?(:insert_inline_sheets_chart)
|
|
5626
6092
|
@replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
|
|
@@ -6323,6 +6789,60 @@ module Google
|
|
|
6323
6789
|
end
|
|
6324
6790
|
end
|
|
6325
6791
|
|
|
6792
|
+
# A suggested change to dropdown definition properties.
|
|
6793
|
+
class SuggestedDropdownDefinitionProperties
|
|
6794
|
+
include Google::Apis::Core::Hashable
|
|
6795
|
+
|
|
6796
|
+
# Properties of a dropdown definition.
|
|
6797
|
+
# Corresponds to the JSON property `dropdownDefinitionProperties`
|
|
6798
|
+
# @return [Google::Apis::DocsV1::DropdownDefinitionProperties]
|
|
6799
|
+
attr_accessor :dropdown_definition_properties
|
|
6800
|
+
|
|
6801
|
+
# A mask that indicates which of the fields on the base
|
|
6802
|
+
# DropdownDefinitionProperties have been changed in this suggestion. For any
|
|
6803
|
+
# field set to true, there's a new suggested value.
|
|
6804
|
+
# Corresponds to the JSON property `dropdownDefinitionPropertiesSuggestionState`
|
|
6805
|
+
# @return [Google::Apis::DocsV1::DropdownDefinitionPropertiesSuggestionState]
|
|
6806
|
+
attr_accessor :dropdown_definition_properties_suggestion_state
|
|
6807
|
+
|
|
6808
|
+
def initialize(**args)
|
|
6809
|
+
update!(**args)
|
|
6810
|
+
end
|
|
6811
|
+
|
|
6812
|
+
# Update properties of this object
|
|
6813
|
+
def update!(**args)
|
|
6814
|
+
@dropdown_definition_properties = args[:dropdown_definition_properties] if args.key?(:dropdown_definition_properties)
|
|
6815
|
+
@dropdown_definition_properties_suggestion_state = args[:dropdown_definition_properties_suggestion_state] if args.key?(:dropdown_definition_properties_suggestion_state)
|
|
6816
|
+
end
|
|
6817
|
+
end
|
|
6818
|
+
|
|
6819
|
+
# A suggested change to dropdown properties.
|
|
6820
|
+
class SuggestedDropdownProperties
|
|
6821
|
+
include Google::Apis::Core::Hashable
|
|
6822
|
+
|
|
6823
|
+
# Properties specific to a dropdown.
|
|
6824
|
+
# Corresponds to the JSON property `dropdownProperties`
|
|
6825
|
+
# @return [Google::Apis::DocsV1::DropdownProperties]
|
|
6826
|
+
attr_accessor :dropdown_properties
|
|
6827
|
+
|
|
6828
|
+
# A mask that indicates which of the fields on the base DropdownProperties have
|
|
6829
|
+
# been changed in this suggestion. For any field set to true, there's a new
|
|
6830
|
+
# suggested value.
|
|
6831
|
+
# Corresponds to the JSON property `dropdownPropertiesSuggestionState`
|
|
6832
|
+
# @return [Google::Apis::DocsV1::DropdownPropertiesSuggestionState]
|
|
6833
|
+
attr_accessor :dropdown_properties_suggestion_state
|
|
6834
|
+
|
|
6835
|
+
def initialize(**args)
|
|
6836
|
+
update!(**args)
|
|
6837
|
+
end
|
|
6838
|
+
|
|
6839
|
+
# Update properties of this object
|
|
6840
|
+
def update!(**args)
|
|
6841
|
+
@dropdown_properties = args[:dropdown_properties] if args.key?(:dropdown_properties)
|
|
6842
|
+
@dropdown_properties_suggestion_state = args[:dropdown_properties_suggestion_state] if args.key?(:dropdown_properties_suggestion_state)
|
|
6843
|
+
end
|
|
6844
|
+
end
|
|
6845
|
+
|
|
6326
6846
|
# A suggested change to InlineObjectProperties.
|
|
6327
6847
|
class SuggestedInlineObjectProperties
|
|
6328
6848
|
include Google::Apis::Core::Hashable
|
|
@@ -7758,6 +8278,112 @@ module Google
|
|
|
7758
8278
|
end
|
|
7759
8279
|
end
|
|
7760
8280
|
|
|
8281
|
+
# Updates the properties of a DropdownDefinition.
|
|
8282
|
+
class UpdateDropdownDefinitionPropertiesRequest
|
|
8283
|
+
include Google::Apis::Core::Hashable
|
|
8284
|
+
|
|
8285
|
+
# The ID of the DropdownDefinition to update.
|
|
8286
|
+
# Corresponds to the JSON property `dropdownDefinitionId`
|
|
8287
|
+
# @return [String]
|
|
8288
|
+
attr_accessor :dropdown_definition_id
|
|
8289
|
+
|
|
8290
|
+
# Properties of a dropdown definition.
|
|
8291
|
+
# Corresponds to the JSON property `dropdownDefinitionProperties`
|
|
8292
|
+
# @return [Google::Apis::DocsV1::DropdownDefinitionProperties]
|
|
8293
|
+
attr_accessor :dropdown_definition_properties
|
|
8294
|
+
|
|
8295
|
+
# The fields that should be updated. At least one field must be specified. The
|
|
8296
|
+
# root `dropdown_definition_properties` is implied and should not be specified.
|
|
8297
|
+
# A single `"*"` can be used as short-hand for listing every field. When `
|
|
8298
|
+
# dropdown_definition_properties.options` is included in the field mask, the
|
|
8299
|
+
# full, complete list of desired options must be provided in `
|
|
8300
|
+
# dropdown_definition_properties.options`.
|
|
8301
|
+
# Corresponds to the JSON property `fields`
|
|
8302
|
+
# @return [String]
|
|
8303
|
+
attr_accessor :fields
|
|
8304
|
+
|
|
8305
|
+
# A map of option IDs to their replacements, used to automatically reassign
|
|
8306
|
+
# orphaned Dropdown chips when an option is deleted. The keys are the IDs of the
|
|
8307
|
+
# options being deleted, and the values are the IDs of their replacement options.
|
|
8308
|
+
# If an option being deleted is selected in one or more Dropdown chips in the
|
|
8309
|
+
# document, a replacement entry for that option must be provided in this map,
|
|
8310
|
+
# and the replacement option ID must exist in the updated DropdownDefinition. If
|
|
8311
|
+
# a replacement is required but not provided, a 400 bad request error is
|
|
8312
|
+
# returned. Options being deleted that are not selected in any Dropdown chips do
|
|
8313
|
+
# not require a replacement. For example, if option A is being replaced by
|
|
8314
|
+
# option B, the map should be ``"A": "B"``.
|
|
8315
|
+
# Corresponds to the JSON property `selectedOptionIdReplacements`
|
|
8316
|
+
# @return [Hash<String,String>]
|
|
8317
|
+
attr_accessor :selected_option_id_replacements
|
|
8318
|
+
|
|
8319
|
+
# The ID of the tab that contains the dropdown definition to update. When
|
|
8320
|
+
# omitted, the request is applied to the first tab. In a document containing a
|
|
8321
|
+
# single tab: - If provided, must match the singular tab's ID. - If omitted, the
|
|
8322
|
+
# request applies to the singular tab. In a document containing multiple tabs: -
|
|
8323
|
+
# If provided, the request applies to the specified tab. - If omitted, the
|
|
8324
|
+
# request applies to the first tab in the document.
|
|
8325
|
+
# Corresponds to the JSON property `tabId`
|
|
8326
|
+
# @return [String]
|
|
8327
|
+
attr_accessor :tab_id
|
|
8328
|
+
|
|
8329
|
+
def initialize(**args)
|
|
8330
|
+
update!(**args)
|
|
8331
|
+
end
|
|
8332
|
+
|
|
8333
|
+
# Update properties of this object
|
|
8334
|
+
def update!(**args)
|
|
8335
|
+
@dropdown_definition_id = args[:dropdown_definition_id] if args.key?(:dropdown_definition_id)
|
|
8336
|
+
@dropdown_definition_properties = args[:dropdown_definition_properties] if args.key?(:dropdown_definition_properties)
|
|
8337
|
+
@fields = args[:fields] if args.key?(:fields)
|
|
8338
|
+
@selected_option_id_replacements = args[:selected_option_id_replacements] if args.key?(:selected_option_id_replacements)
|
|
8339
|
+
@tab_id = args[:tab_id] if args.key?(:tab_id)
|
|
8340
|
+
end
|
|
8341
|
+
end
|
|
8342
|
+
|
|
8343
|
+
# Updates the properties of a Dropdown.
|
|
8344
|
+
class UpdateDropdownPropertiesRequest
|
|
8345
|
+
include Google::Apis::Core::Hashable
|
|
8346
|
+
|
|
8347
|
+
# Required. The Dropdown ID.
|
|
8348
|
+
# Corresponds to the JSON property `dropdownId`
|
|
8349
|
+
# @return [String]
|
|
8350
|
+
attr_accessor :dropdown_id
|
|
8351
|
+
|
|
8352
|
+
# Properties specific to a dropdown.
|
|
8353
|
+
# Corresponds to the JSON property `dropdownProperties`
|
|
8354
|
+
# @return [Google::Apis::DocsV1::DropdownProperties]
|
|
8355
|
+
attr_accessor :dropdown_properties
|
|
8356
|
+
|
|
8357
|
+
# The fields that should be updated. At least one field must be specified. The
|
|
8358
|
+
# root `dropdown_properties` is implied and should not be specified. A single `"*
|
|
8359
|
+
# "` can be used as short-hand for listing every field.
|
|
8360
|
+
# Corresponds to the JSON property `fields`
|
|
8361
|
+
# @return [String]
|
|
8362
|
+
attr_accessor :fields
|
|
8363
|
+
|
|
8364
|
+
# The ID of the tab that contains the dropdown to update. When omitted, the
|
|
8365
|
+
# request is applied to the first tab. In a document containing a single tab: -
|
|
8366
|
+
# If provided, must match the singular tab's ID. - If omitted, the request
|
|
8367
|
+
# applies to the singular tab. In a document containing multiple tabs: - If
|
|
8368
|
+
# provided, the request applies to the specified tab. - If omitted, the request
|
|
8369
|
+
# applies to the first tab in the document.
|
|
8370
|
+
# Corresponds to the JSON property `tabId`
|
|
8371
|
+
# @return [String]
|
|
8372
|
+
attr_accessor :tab_id
|
|
8373
|
+
|
|
8374
|
+
def initialize(**args)
|
|
8375
|
+
update!(**args)
|
|
8376
|
+
end
|
|
8377
|
+
|
|
8378
|
+
# Update properties of this object
|
|
8379
|
+
def update!(**args)
|
|
8380
|
+
@dropdown_id = args[:dropdown_id] if args.key?(:dropdown_id)
|
|
8381
|
+
@dropdown_properties = args[:dropdown_properties] if args.key?(:dropdown_properties)
|
|
8382
|
+
@fields = args[:fields] if args.key?(:fields)
|
|
8383
|
+
@tab_id = args[:tab_id] if args.key?(:tab_id)
|
|
8384
|
+
end
|
|
8385
|
+
end
|
|
8386
|
+
|
|
7761
8387
|
# Updates a named style.
|
|
7762
8388
|
class UpdateNamedStyleRequest
|
|
7763
8389
|
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.
|
|
19
|
+
GEM_VERSION = "0.49.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260928"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -130,6 +130,18 @@ module Google
|
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
+
class CreateDropdownDefinitionRequest
|
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
+
|
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
class CreateDropdownDefinitionResponse
|
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
+
end
|
|
144
|
+
|
|
133
145
|
class CreateFooterRequest
|
|
134
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
147
|
|
|
@@ -232,6 +244,12 @@ module Google
|
|
|
232
244
|
include Google::Apis::Core::JsonObjectSupport
|
|
233
245
|
end
|
|
234
246
|
|
|
247
|
+
class DeleteDropdownDefinitionRequest
|
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
|
+
|
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
251
|
+
end
|
|
252
|
+
|
|
235
253
|
class DeleteFooterRequest
|
|
236
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
255
|
|
|
@@ -322,6 +340,48 @@ module Google
|
|
|
322
340
|
include Google::Apis::Core::JsonObjectSupport
|
|
323
341
|
end
|
|
324
342
|
|
|
343
|
+
class Dropdown
|
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
|
+
|
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
class DropdownDefinition
|
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
|
+
|
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
class DropdownDefinitionProperties
|
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
|
+
|
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
class DropdownDefinitionPropertiesSuggestionState
|
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
|
+
|
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
class DropdownOption
|
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
369
|
+
|
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
class DropdownProperties
|
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
|
+
|
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
class DropdownPropertiesSuggestionState
|
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
|
+
|
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
383
|
+
end
|
|
384
|
+
|
|
325
385
|
class EmbeddedDrawingProperties
|
|
326
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
387
|
|
|
@@ -460,6 +520,18 @@ module Google
|
|
|
460
520
|
include Google::Apis::Core::JsonObjectSupport
|
|
461
521
|
end
|
|
462
522
|
|
|
523
|
+
class InsertDropdownRequest
|
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
525
|
+
|
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
class InsertDropdownResponse
|
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
531
|
+
|
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
533
|
+
end
|
|
534
|
+
|
|
463
535
|
class InsertInlineImageRequest
|
|
464
536
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
465
537
|
|
|
@@ -880,6 +952,18 @@ module Google
|
|
|
880
952
|
include Google::Apis::Core::JsonObjectSupport
|
|
881
953
|
end
|
|
882
954
|
|
|
955
|
+
class SuggestedDropdownDefinitionProperties
|
|
956
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
957
|
+
|
|
958
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
959
|
+
end
|
|
960
|
+
|
|
961
|
+
class SuggestedDropdownProperties
|
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
963
|
+
|
|
964
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
965
|
+
end
|
|
966
|
+
|
|
883
967
|
class SuggestedInlineObjectProperties
|
|
884
968
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
885
969
|
|
|
@@ -1084,6 +1168,18 @@ module Google
|
|
|
1084
1168
|
include Google::Apis::Core::JsonObjectSupport
|
|
1085
1169
|
end
|
|
1086
1170
|
|
|
1171
|
+
class UpdateDropdownDefinitionPropertiesRequest
|
|
1172
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1173
|
+
|
|
1174
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1175
|
+
end
|
|
1176
|
+
|
|
1177
|
+
class UpdateDropdownPropertiesRequest
|
|
1178
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1179
|
+
|
|
1180
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1181
|
+
end
|
|
1182
|
+
|
|
1087
1183
|
class UpdateNamedStyleRequest
|
|
1088
1184
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1089
1185
|
|
|
@@ -1310,6 +1406,23 @@ module Google
|
|
|
1310
1406
|
end
|
|
1311
1407
|
end
|
|
1312
1408
|
|
|
1409
|
+
class CreateDropdownDefinitionRequest
|
|
1410
|
+
# @private
|
|
1411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1412
|
+
property :dropdown_definition, as: 'dropdownDefinition', class: Google::Apis::DocsV1::DropdownDefinition, decorator: Google::Apis::DocsV1::DropdownDefinition::Representation
|
|
1413
|
+
|
|
1414
|
+
property :tab_id, as: 'tabId'
|
|
1415
|
+
end
|
|
1416
|
+
end
|
|
1417
|
+
|
|
1418
|
+
class CreateDropdownDefinitionResponse
|
|
1419
|
+
# @private
|
|
1420
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1421
|
+
property :dropdown_definition, as: 'dropdownDefinition', class: Google::Apis::DocsV1::DropdownDefinition, decorator: Google::Apis::DocsV1::DropdownDefinition::Representation
|
|
1422
|
+
|
|
1423
|
+
end
|
|
1424
|
+
end
|
|
1425
|
+
|
|
1313
1426
|
class CreateFooterRequest
|
|
1314
1427
|
# @private
|
|
1315
1428
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1470,6 +1583,14 @@ module Google
|
|
|
1470
1583
|
end
|
|
1471
1584
|
end
|
|
1472
1585
|
|
|
1586
|
+
class DeleteDropdownDefinitionRequest
|
|
1587
|
+
# @private
|
|
1588
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1589
|
+
property :dropdown_definition_id, as: 'dropdownDefinitionId'
|
|
1590
|
+
property :tab_id, as: 'tabId'
|
|
1591
|
+
end
|
|
1592
|
+
end
|
|
1593
|
+
|
|
1473
1594
|
class DeleteFooterRequest
|
|
1474
1595
|
# @private
|
|
1475
1596
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1669,6 +1790,8 @@ module Google
|
|
|
1669
1790
|
|
|
1670
1791
|
property :document_style, as: 'documentStyle', class: Google::Apis::DocsV1::DocumentStyle, decorator: Google::Apis::DocsV1::DocumentStyle::Representation
|
|
1671
1792
|
|
|
1793
|
+
hash :dropdown_definitions, as: 'dropdownDefinitions', class: Google::Apis::DocsV1::DropdownDefinition, decorator: Google::Apis::DocsV1::DropdownDefinition::Representation
|
|
1794
|
+
|
|
1672
1795
|
hash :footers, as: 'footers', class: Google::Apis::DocsV1::Footer, decorator: Google::Apis::DocsV1::Footer::Representation
|
|
1673
1796
|
|
|
1674
1797
|
hash :footnotes, as: 'footnotes', class: Google::Apis::DocsV1::Footnote, decorator: Google::Apis::DocsV1::Footnote::Representation
|
|
@@ -1692,6 +1815,79 @@ module Google
|
|
|
1692
1815
|
end
|
|
1693
1816
|
end
|
|
1694
1817
|
|
|
1818
|
+
class Dropdown
|
|
1819
|
+
# @private
|
|
1820
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1821
|
+
property :dropdown_id, as: 'dropdownId'
|
|
1822
|
+
property :dropdown_properties, as: 'dropdownProperties', class: Google::Apis::DocsV1::DropdownProperties, decorator: Google::Apis::DocsV1::DropdownProperties::Representation
|
|
1823
|
+
|
|
1824
|
+
collection :suggested_deletion_ids, as: 'suggestedDeletionIds'
|
|
1825
|
+
hash :suggested_dropdown_properties_changes, as: 'suggestedDropdownPropertiesChanges', class: Google::Apis::DocsV1::SuggestedDropdownProperties, decorator: Google::Apis::DocsV1::SuggestedDropdownProperties::Representation
|
|
1826
|
+
|
|
1827
|
+
collection :suggested_insertion_ids, as: 'suggestedInsertionIds'
|
|
1828
|
+
hash :suggested_text_style_changes, as: 'suggestedTextStyleChanges', class: Google::Apis::DocsV1::SuggestedTextStyle, decorator: Google::Apis::DocsV1::SuggestedTextStyle::Representation
|
|
1829
|
+
|
|
1830
|
+
property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation
|
|
1831
|
+
|
|
1832
|
+
end
|
|
1833
|
+
end
|
|
1834
|
+
|
|
1835
|
+
class DropdownDefinition
|
|
1836
|
+
# @private
|
|
1837
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1838
|
+
property :dropdown_definition_id, as: 'dropdownDefinitionId'
|
|
1839
|
+
property :dropdown_definition_properties, as: 'dropdownDefinitionProperties', class: Google::Apis::DocsV1::DropdownDefinitionProperties, decorator: Google::Apis::DocsV1::DropdownDefinitionProperties::Representation
|
|
1840
|
+
|
|
1841
|
+
property :suggested_deletion_id, as: 'suggestedDeletionId'
|
|
1842
|
+
hash :suggested_dropdown_definition_properties_changes, as: 'suggestedDropdownDefinitionPropertiesChanges', class: Google::Apis::DocsV1::SuggestedDropdownDefinitionProperties, decorator: Google::Apis::DocsV1::SuggestedDropdownDefinitionProperties::Representation
|
|
1843
|
+
|
|
1844
|
+
property :suggested_insertion_id, as: 'suggestedInsertionId'
|
|
1845
|
+
end
|
|
1846
|
+
end
|
|
1847
|
+
|
|
1848
|
+
class DropdownDefinitionProperties
|
|
1849
|
+
# @private
|
|
1850
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1851
|
+
collection :options, as: 'options', class: Google::Apis::DocsV1::DropdownOption, decorator: Google::Apis::DocsV1::DropdownOption::Representation
|
|
1852
|
+
|
|
1853
|
+
property :title, as: 'title'
|
|
1854
|
+
end
|
|
1855
|
+
end
|
|
1856
|
+
|
|
1857
|
+
class DropdownDefinitionPropertiesSuggestionState
|
|
1858
|
+
# @private
|
|
1859
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1860
|
+
property :options_suggested, as: 'optionsSuggested'
|
|
1861
|
+
property :title_suggested, as: 'titleSuggested'
|
|
1862
|
+
end
|
|
1863
|
+
end
|
|
1864
|
+
|
|
1865
|
+
class DropdownOption
|
|
1866
|
+
# @private
|
|
1867
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1868
|
+
property :display_value, as: 'displayValue'
|
|
1869
|
+
property :option_id, as: 'optionId'
|
|
1870
|
+
property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation
|
|
1871
|
+
|
|
1872
|
+
end
|
|
1873
|
+
end
|
|
1874
|
+
|
|
1875
|
+
class DropdownProperties
|
|
1876
|
+
# @private
|
|
1877
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1878
|
+
property :display_value, as: 'displayValue'
|
|
1879
|
+
property :dropdown_definition_id, as: 'dropdownDefinitionId'
|
|
1880
|
+
property :selected_option_id, as: 'selectedOptionId'
|
|
1881
|
+
end
|
|
1882
|
+
end
|
|
1883
|
+
|
|
1884
|
+
class DropdownPropertiesSuggestionState
|
|
1885
|
+
# @private
|
|
1886
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1887
|
+
property :selected_option_id_suggested, as: 'selectedOptionIdSuggested'
|
|
1888
|
+
end
|
|
1889
|
+
end
|
|
1890
|
+
|
|
1695
1891
|
class EmbeddedDrawingProperties
|
|
1696
1892
|
# @private
|
|
1697
1893
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1951,6 +2147,26 @@ module Google
|
|
|
1951
2147
|
end
|
|
1952
2148
|
end
|
|
1953
2149
|
|
|
2150
|
+
class InsertDropdownRequest
|
|
2151
|
+
# @private
|
|
2152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2153
|
+
property :dropdown_definition_id, as: 'dropdownDefinitionId'
|
|
2154
|
+
property :end_of_segment_location, as: 'endOfSegmentLocation', class: Google::Apis::DocsV1::EndOfSegmentLocation, decorator: Google::Apis::DocsV1::EndOfSegmentLocation::Representation
|
|
2155
|
+
|
|
2156
|
+
property :location, as: 'location', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation
|
|
2157
|
+
|
|
2158
|
+
property :selected_option_id, as: 'selectedOptionId'
|
|
2159
|
+
end
|
|
2160
|
+
end
|
|
2161
|
+
|
|
2162
|
+
class InsertDropdownResponse
|
|
2163
|
+
# @private
|
|
2164
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2165
|
+
property :dropdown, as: 'dropdown', class: Google::Apis::DocsV1::Dropdown, decorator: Google::Apis::DocsV1::Dropdown::Representation
|
|
2166
|
+
|
|
2167
|
+
end
|
|
2168
|
+
end
|
|
2169
|
+
|
|
1954
2170
|
class InsertInlineImageRequest
|
|
1955
2171
|
# @private
|
|
1956
2172
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2296,6 +2512,8 @@ module Google
|
|
|
2296
2512
|
|
|
2297
2513
|
property :date_element, as: 'dateElement', class: Google::Apis::DocsV1::DateElement, decorator: Google::Apis::DocsV1::DateElement::Representation
|
|
2298
2514
|
|
|
2515
|
+
property :dropdown, as: 'dropdown', class: Google::Apis::DocsV1::Dropdown, decorator: Google::Apis::DocsV1::Dropdown::Representation
|
|
2516
|
+
|
|
2299
2517
|
property :end_index, as: 'endIndex'
|
|
2300
2518
|
property :equation, as: 'equation', class: Google::Apis::DocsV1::Equation, decorator: Google::Apis::DocsV1::Equation::Representation
|
|
2301
2519
|
|
|
@@ -2565,6 +2783,8 @@ module Google
|
|
|
2565
2783
|
|
|
2566
2784
|
property :add_document_tab, as: 'addDocumentTab', class: Google::Apis::DocsV1::AddDocumentTabRequest, decorator: Google::Apis::DocsV1::AddDocumentTabRequest::Representation
|
|
2567
2785
|
|
|
2786
|
+
property :create_dropdown_definition, as: 'createDropdownDefinition', class: Google::Apis::DocsV1::CreateDropdownDefinitionRequest, decorator: Google::Apis::DocsV1::CreateDropdownDefinitionRequest::Representation
|
|
2787
|
+
|
|
2568
2788
|
property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterRequest, decorator: Google::Apis::DocsV1::CreateFooterRequest::Representation
|
|
2569
2789
|
|
|
2570
2790
|
property :create_footnote, as: 'createFootnote', class: Google::Apis::DocsV1::CreateFootnoteRequest, decorator: Google::Apis::DocsV1::CreateFootnoteRequest::Representation
|
|
@@ -2581,6 +2801,8 @@ module Google
|
|
|
2581
2801
|
|
|
2582
2802
|
property :delete_content_range, as: 'deleteContentRange', class: Google::Apis::DocsV1::DeleteContentRangeRequest, decorator: Google::Apis::DocsV1::DeleteContentRangeRequest::Representation
|
|
2583
2803
|
|
|
2804
|
+
property :delete_dropdown_definition, as: 'deleteDropdownDefinition', class: Google::Apis::DocsV1::DeleteDropdownDefinitionRequest, decorator: Google::Apis::DocsV1::DeleteDropdownDefinitionRequest::Representation
|
|
2805
|
+
|
|
2584
2806
|
property :delete_footer, as: 'deleteFooter', class: Google::Apis::DocsV1::DeleteFooterRequest, decorator: Google::Apis::DocsV1::DeleteFooterRequest::Representation
|
|
2585
2807
|
|
|
2586
2808
|
property :delete_header, as: 'deleteHeader', class: Google::Apis::DocsV1::DeleteHeaderRequest, decorator: Google::Apis::DocsV1::DeleteHeaderRequest::Representation
|
|
@@ -2603,6 +2825,8 @@ module Google
|
|
|
2603
2825
|
|
|
2604
2826
|
property :insert_date, as: 'insertDate', class: Google::Apis::DocsV1::InsertDateRequest, decorator: Google::Apis::DocsV1::InsertDateRequest::Representation
|
|
2605
2827
|
|
|
2828
|
+
property :insert_dropdown, as: 'insertDropdown', class: Google::Apis::DocsV1::InsertDropdownRequest, decorator: Google::Apis::DocsV1::InsertDropdownRequest::Representation
|
|
2829
|
+
|
|
2606
2830
|
property :insert_inline_image, as: 'insertInlineImage', class: Google::Apis::DocsV1::InsertInlineImageRequest, decorator: Google::Apis::DocsV1::InsertInlineImageRequest::Representation
|
|
2607
2831
|
|
|
2608
2832
|
property :insert_page_break, as: 'insertPageBreak', class: Google::Apis::DocsV1::InsertPageBreakRequest, decorator: Google::Apis::DocsV1::InsertPageBreakRequest::Representation
|
|
@@ -2641,6 +2865,10 @@ module Google
|
|
|
2641
2865
|
|
|
2642
2866
|
property :update_document_tab_properties, as: 'updateDocumentTabProperties', class: Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest, decorator: Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest::Representation
|
|
2643
2867
|
|
|
2868
|
+
property :update_dropdown_definition_properties, as: 'updateDropdownDefinitionProperties', class: Google::Apis::DocsV1::UpdateDropdownDefinitionPropertiesRequest, decorator: Google::Apis::DocsV1::UpdateDropdownDefinitionPropertiesRequest::Representation
|
|
2869
|
+
|
|
2870
|
+
property :update_dropdown_properties, as: 'updateDropdownProperties', class: Google::Apis::DocsV1::UpdateDropdownPropertiesRequest, decorator: Google::Apis::DocsV1::UpdateDropdownPropertiesRequest::Representation
|
|
2871
|
+
|
|
2644
2872
|
property :update_named_style, as: 'updateNamedStyle', class: Google::Apis::DocsV1::UpdateNamedStyleRequest, decorator: Google::Apis::DocsV1::UpdateNamedStyleRequest::Representation
|
|
2645
2873
|
|
|
2646
2874
|
property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::DocsV1::UpdateParagraphStyleRequest, decorator: Google::Apis::DocsV1::UpdateParagraphStyleRequest::Representation
|
|
@@ -2665,6 +2893,8 @@ module Google
|
|
|
2665
2893
|
|
|
2666
2894
|
property :add_document_tab, as: 'addDocumentTab', class: Google::Apis::DocsV1::AddDocumentTabResponse, decorator: Google::Apis::DocsV1::AddDocumentTabResponse::Representation
|
|
2667
2895
|
|
|
2896
|
+
property :create_dropdown_definition, as: 'createDropdownDefinition', class: Google::Apis::DocsV1::CreateDropdownDefinitionResponse, decorator: Google::Apis::DocsV1::CreateDropdownDefinitionResponse::Representation
|
|
2897
|
+
|
|
2668
2898
|
property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterResponse, decorator: Google::Apis::DocsV1::CreateFooterResponse::Representation
|
|
2669
2899
|
|
|
2670
2900
|
property :create_footnote, as: 'createFootnote', class: Google::Apis::DocsV1::CreateFootnoteResponse, decorator: Google::Apis::DocsV1::CreateFootnoteResponse::Representation
|
|
@@ -2675,6 +2905,8 @@ module Google
|
|
|
2675
2905
|
|
|
2676
2906
|
property :insert_comment, as: 'insertComment', class: Google::Apis::DocsV1::InsertCommentResponse, decorator: Google::Apis::DocsV1::InsertCommentResponse::Representation
|
|
2677
2907
|
|
|
2908
|
+
property :insert_dropdown, as: 'insertDropdown', class: Google::Apis::DocsV1::InsertDropdownResponse, decorator: Google::Apis::DocsV1::InsertDropdownResponse::Representation
|
|
2909
|
+
|
|
2678
2910
|
property :insert_inline_image, as: 'insertInlineImage', class: Google::Apis::DocsV1::InsertInlineImageResponse, decorator: Google::Apis::DocsV1::InsertInlineImageResponse::Representation
|
|
2679
2911
|
|
|
2680
2912
|
property :insert_inline_sheets_chart, as: 'insertInlineSheetsChart', class: Google::Apis::DocsV1::InsertInlineSheetsChartResponse, decorator: Google::Apis::DocsV1::InsertInlineSheetsChartResponse::Representation
|
|
@@ -2873,6 +3105,26 @@ module Google
|
|
|
2873
3105
|
end
|
|
2874
3106
|
end
|
|
2875
3107
|
|
|
3108
|
+
class SuggestedDropdownDefinitionProperties
|
|
3109
|
+
# @private
|
|
3110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3111
|
+
property :dropdown_definition_properties, as: 'dropdownDefinitionProperties', class: Google::Apis::DocsV1::DropdownDefinitionProperties, decorator: Google::Apis::DocsV1::DropdownDefinitionProperties::Representation
|
|
3112
|
+
|
|
3113
|
+
property :dropdown_definition_properties_suggestion_state, as: 'dropdownDefinitionPropertiesSuggestionState', class: Google::Apis::DocsV1::DropdownDefinitionPropertiesSuggestionState, decorator: Google::Apis::DocsV1::DropdownDefinitionPropertiesSuggestionState::Representation
|
|
3114
|
+
|
|
3115
|
+
end
|
|
3116
|
+
end
|
|
3117
|
+
|
|
3118
|
+
class SuggestedDropdownProperties
|
|
3119
|
+
# @private
|
|
3120
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3121
|
+
property :dropdown_properties, as: 'dropdownProperties', class: Google::Apis::DocsV1::DropdownProperties, decorator: Google::Apis::DocsV1::DropdownProperties::Representation
|
|
3122
|
+
|
|
3123
|
+
property :dropdown_properties_suggestion_state, as: 'dropdownPropertiesSuggestionState', class: Google::Apis::DocsV1::DropdownPropertiesSuggestionState, decorator: Google::Apis::DocsV1::DropdownPropertiesSuggestionState::Representation
|
|
3124
|
+
|
|
3125
|
+
end
|
|
3126
|
+
end
|
|
3127
|
+
|
|
2876
3128
|
class SuggestedInlineObjectProperties
|
|
2877
3129
|
# @private
|
|
2878
3130
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3273,6 +3525,29 @@ module Google
|
|
|
3273
3525
|
end
|
|
3274
3526
|
end
|
|
3275
3527
|
|
|
3528
|
+
class UpdateDropdownDefinitionPropertiesRequest
|
|
3529
|
+
# @private
|
|
3530
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3531
|
+
property :dropdown_definition_id, as: 'dropdownDefinitionId'
|
|
3532
|
+
property :dropdown_definition_properties, as: 'dropdownDefinitionProperties', class: Google::Apis::DocsV1::DropdownDefinitionProperties, decorator: Google::Apis::DocsV1::DropdownDefinitionProperties::Representation
|
|
3533
|
+
|
|
3534
|
+
property :fields, as: 'fields'
|
|
3535
|
+
hash :selected_option_id_replacements, as: 'selectedOptionIdReplacements'
|
|
3536
|
+
property :tab_id, as: 'tabId'
|
|
3537
|
+
end
|
|
3538
|
+
end
|
|
3539
|
+
|
|
3540
|
+
class UpdateDropdownPropertiesRequest
|
|
3541
|
+
# @private
|
|
3542
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3543
|
+
property :dropdown_id, as: 'dropdownId'
|
|
3544
|
+
property :dropdown_properties, as: 'dropdownProperties', class: Google::Apis::DocsV1::DropdownProperties, decorator: Google::Apis::DocsV1::DropdownProperties::Representation
|
|
3545
|
+
|
|
3546
|
+
property :fields, as: 'fields'
|
|
3547
|
+
property :tab_id, as: 'tabId'
|
|
3548
|
+
end
|
|
3549
|
+
end
|
|
3550
|
+
|
|
3276
3551
|
class UpdateNamedStyleRequest
|
|
3277
3552
|
# @private
|
|
3278
3553
|
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.
|
|
4
|
+
version: 0.49.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.49.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:
|