google-api-client 0.9.28 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -4
  3. data/CHANGELOG.md +10 -0
  4. data/api_names.yaml +36512 -36326
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
  9. data/generated/google/apis/adsense_v1_4.rb +1 -1
  10. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  11. data/generated/google/apis/analyticsreporting_v4.rb +3 -3
  12. data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
  13. data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
  14. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  15. data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
  16. data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
  17. data/generated/google/apis/appstate_v1.rb +1 -1
  18. data/generated/google/apis/calendar_v3.rb +1 -1
  19. data/generated/google/apis/classroom_v1.rb +22 -25
  20. data/generated/google/apis/classroom_v1/classes.rb +998 -907
  21. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  22. data/generated/google/apis/classroom_v1/service.rb +1269 -1061
  23. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  24. data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
  25. data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
  26. data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
  27. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  28. data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
  29. data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
  30. data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
  31. data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
  32. data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
  33. data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
  34. data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
  35. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
  37. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
  38. data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
  39. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  40. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
  41. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
  42. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
  43. data/generated/google/apis/cloudtrace_v1.rb +8 -8
  44. data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
  45. data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
  46. data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
  47. data/generated/google/apis/compute_beta.rb +1 -1
  48. data/generated/google/apis/compute_beta/classes.rb +406 -31
  49. data/generated/google/apis/compute_beta/representations.rb +154 -0
  50. data/generated/google/apis/compute_beta/service.rb +262 -9
  51. data/generated/google/apis/compute_v1.rb +1 -1
  52. data/generated/google/apis/compute_v1/classes.rb +17 -20
  53. data/generated/google/apis/content_v2.rb +1 -1
  54. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  55. data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
  56. data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
  57. data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
  58. data/generated/google/apis/dataproc_v1.rb +2 -2
  59. data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
  60. data/generated/google/apis/dataproc_v1/representations.rb +262 -244
  61. data/generated/google/apis/dataproc_v1/service.rb +298 -243
  62. data/generated/google/apis/datastore_v1.rb +4 -4
  63. data/generated/google/apis/datastore_v1/classes.rb +728 -728
  64. data/generated/google/apis/datastore_v1/representations.rb +167 -167
  65. data/generated/google/apis/datastore_v1/service.rb +68 -68
  66. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  67. data/generated/google/apis/drive_v2.rb +1 -1
  68. data/generated/google/apis/drive_v3.rb +1 -1
  69. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  70. data/generated/google/apis/games_management_v1management.rb +1 -1
  71. data/generated/google/apis/games_v1.rb +1 -1
  72. data/generated/google/apis/genomics_v1.rb +7 -7
  73. data/generated/google/apis/genomics_v1/classes.rb +932 -932
  74. data/generated/google/apis/genomics_v1/representations.rb +205 -205
  75. data/generated/google/apis/genomics_v1/service.rb +1228 -1228
  76. data/generated/google/apis/gmail_v1.rb +1 -1
  77. data/generated/google/apis/iam_v1/classes.rb +440 -440
  78. data/generated/google/apis/iam_v1/representations.rb +94 -94
  79. data/generated/google/apis/iam_v1/service.rb +60 -60
  80. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  81. data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
  82. data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
  83. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  84. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  85. data/generated/google/apis/kgsearch_v1/service.rb +21 -21
  86. data/generated/google/apis/language_v1beta1.rb +1 -1
  87. data/generated/google/apis/language_v1beta1/classes.rb +232 -232
  88. data/generated/google/apis/language_v1beta1/representations.rb +75 -75
  89. data/generated/google/apis/logging_v2beta1.rb +1 -1
  90. data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
  91. data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
  92. data/generated/google/apis/logging_v2beta1/service.rb +331 -306
  93. data/generated/google/apis/monitoring_v3.rb +1 -1
  94. data/generated/google/apis/monitoring_v3/classes.rb +253 -253
  95. data/generated/google/apis/monitoring_v3/representations.rb +58 -58
  96. data/generated/google/apis/monitoring_v3/service.rb +135 -135
  97. data/generated/google/apis/people_v1.rb +15 -16
  98. data/generated/google/apis/people_v1/classes.rb +985 -855
  99. data/generated/google/apis/people_v1/representations.rb +227 -220
  100. data/generated/google/apis/people_v1/service.rb +58 -52
  101. data/generated/google/apis/plus_domains_v1.rb +1 -1
  102. data/generated/google/apis/plus_v1.rb +1 -1
  103. data/generated/google/apis/pubsub_v1.rb +1 -1
  104. data/generated/google/apis/pubsub_v1/classes.rb +257 -257
  105. data/generated/google/apis/pubsub_v1/representations.rb +83 -83
  106. data/generated/google/apis/pubsub_v1/service.rb +390 -390
  107. data/generated/google/apis/script_v1.rb +17 -17
  108. data/generated/google/apis/script_v1/classes.rb +149 -141
  109. data/generated/google/apis/script_v1/representations.rb +26 -27
  110. data/generated/google/apis/script_v1/service.rb +9 -8
  111. data/generated/google/apis/sheets_v4.rb +1 -1
  112. data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
  113. data/generated/google/apis/sheets_v4/representations.rb +850 -834
  114. data/generated/google/apis/sheets_v4/service.rb +192 -192
  115. data/generated/google/apis/slides_v1.rb +1 -1
  116. data/generated/google/apis/slides_v1/classes.rb +927 -800
  117. data/generated/google/apis/slides_v1/representations.rb +253 -211
  118. data/generated/google/apis/speech_v1beta1.rb +1 -1
  119. data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
  120. data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
  121. data/generated/google/apis/speech_v1beta1/service.rb +51 -54
  122. data/generated/google/apis/storage_v1.rb +1 -1
  123. data/generated/google/apis/vision_v1.rb +1 -1
  124. data/generated/google/apis/vision_v1/classes.rb +888 -885
  125. data/generated/google/apis/vision_v1/representations.rb +139 -139
  126. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  127. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
  128. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  129. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  130. data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
  131. data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
  132. data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
  133. data/google-api-client.gemspec +2 -2
  134. data/lib/google/apis/core/api_command.rb +1 -1
  135. data/lib/google/apis/core/json_representation.rb +2 -2
  136. data/lib/google/apis/version.rb +1 -1
  137. data/samples/cli/lib/samples/you_tube.rb +4 -1
  138. metadata +36 -30
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/slides/
26
26
  module SlidesV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170201'
28
+ REVISION = '20170209'
29
29
 
30
30
  # View and manage your Google Slides presentations
31
31
  AUTH_PRESENTATIONS = 'https://www.googleapis.com/auth/presentations'
@@ -22,131 +22,6 @@ module Google
22
22
  module Apis
23
23
  module SlidesV1
24
24
 
25
- # Inserts columns into a table.
26
- # Other columns in the table will be resized to fit the new column.
27
- class InsertTableColumnsRequest
28
- include Google::Apis::Core::Hashable
29
-
30
- # The number of columns to be inserted. Maximum 20 per request.
31
- # Corresponds to the JSON property `number`
32
- # @return [Fixnum]
33
- attr_accessor :number
34
-
35
- # A location of a single table cell within a table.
36
- # Corresponds to the JSON property `cellLocation`
37
- # @return [Google::Apis::SlidesV1::TableCellLocation]
38
- attr_accessor :cell_location
39
-
40
- # Whether to insert new columns to the right of the reference cell location.
41
- # - `True`: insert to the right.
42
- # - `False`: insert to the left.
43
- # Corresponds to the JSON property `insertRight`
44
- # @return [Boolean]
45
- attr_accessor :insert_right
46
- alias_method :insert_right?, :insert_right
47
-
48
- # The table to insert columns into.
49
- # Corresponds to the JSON property `tableObjectId`
50
- # @return [String]
51
- attr_accessor :table_object_id
52
-
53
- def initialize(**args)
54
- update!(**args)
55
- end
56
-
57
- # Update properties of this object
58
- def update!(**args)
59
- @number = args[:number] if args.key?(:number)
60
- @cell_location = args[:cell_location] if args.key?(:cell_location)
61
- @insert_right = args[:insert_right] if args.key?(:insert_right)
62
- @table_object_id = args[:table_object_id] if args.key?(:table_object_id)
63
- end
64
- end
65
-
66
- # The user-specified ID mapping for a placeholder that will be created on a
67
- # slide from a specified layout.
68
- class LayoutPlaceholderIdMapping
69
- include Google::Apis::Core::Hashable
70
-
71
- # The object ID of the placeholder on a layout that will be applied
72
- # to a slide.
73
- # Corresponds to the JSON property `layoutPlaceholderObjectId`
74
- # @return [String]
75
- attr_accessor :layout_placeholder_object_id
76
-
77
- # A user-supplied object ID for the placeholder identified above that to be
78
- # created onto a slide.
79
- # If you specify an ID, it must be unique among all pages and page elements
80
- # in the presentation. The ID must start with an alphanumeric character or an
81
- # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters
82
- # may include those as well as a hyphen or colon (matches regex
83
- # `[a-zA-Z0-9_-:]`).
84
- # The length of the ID must not be less than 5 or greater than 50.
85
- # If you don't specify an ID, a unique one is generated.
86
- # Corresponds to the JSON property `objectId`
87
- # @return [String]
88
- attr_accessor :object_id_prop
89
-
90
- # The placeholder information that uniquely identifies a placeholder shape.
91
- # Corresponds to the JSON property `layoutPlaceholder`
92
- # @return [Google::Apis::SlidesV1::Placeholder]
93
- attr_accessor :layout_placeholder
94
-
95
- def initialize(**args)
96
- update!(**args)
97
- end
98
-
99
- # Update properties of this object
100
- def update!(**args)
101
- @layout_placeholder_object_id = args[:layout_placeholder_object_id] if args.key?(:layout_placeholder_object_id)
102
- @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
103
- @layout_placeholder = args[:layout_placeholder] if args.key?(:layout_placeholder)
104
- end
105
- end
106
-
107
- # Update the properties of a Shape.
108
- class UpdateShapePropertiesRequest
109
- include Google::Apis::Core::Hashable
110
-
111
- # The object ID of the shape the updates are applied to.
112
- # Corresponds to the JSON property `objectId`
113
- # @return [String]
114
- attr_accessor :object_id_prop
115
-
116
- # The properties of a Shape.
117
- # If the shape is a placeholder shape as determined by the
118
- # placeholder field, then these
119
- # properties may be inherited from a parent placeholder shape.
120
- # Determining the rendered value of the property depends on the corresponding
121
- # property_state field value.
122
- # Corresponds to the JSON property `shapeProperties`
123
- # @return [Google::Apis::SlidesV1::ShapeProperties]
124
- attr_accessor :shape_properties
125
-
126
- # The fields that should be updated.
127
- # At least one field must be specified. The root `shapeProperties` is
128
- # implied and should not be specified. A single `"*"` can be used as
129
- # short-hand for listing every field.
130
- # For example to update the shape background solid fill color, set `fields`
131
- # to `"shapeBackgroundFill.solidFill.color"`.
132
- # To reset a property to its default value, include its field name in the
133
- # field mask but leave the field itself unset.
134
- # Corresponds to the JSON property `fields`
135
- # @return [String]
136
- attr_accessor :fields
137
-
138
- def initialize(**args)
139
- update!(**args)
140
- end
141
-
142
- # Update properties of this object
143
- def update!(**args)
144
- @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
145
- @shape_properties = args[:shape_properties] if args.key?(:shape_properties)
146
- @fields = args[:fields] if args.key?(:fields)
147
- end
148
- end
149
-
150
25
  # A PageElement kind representing
151
26
  # word art.
152
27
  class WordArt
@@ -172,11 +47,22 @@ module Google
172
47
  include Google::Apis::Core::Hashable
173
48
 
174
49
  # The recolor effect is represented by a gradient, which is a list of color
175
- # stops. This property is read-only.
50
+ # stops.
51
+ # The colors in the gradient will replace the corresponding colors at
52
+ # the same position in the color palette and apply to the image. This
53
+ # property is read-only.
176
54
  # Corresponds to the JSON property `recolorStops`
177
55
  # @return [Array<Google::Apis::SlidesV1::ColorStop>]
178
56
  attr_accessor :recolor_stops
179
57
 
58
+ # The name of the recolor effect.
59
+ # The name is determined from the `recolor_stops` by matching the gradient
60
+ # against the colors in the page's current color scheme. This property is
61
+ # read-only.
62
+ # Corresponds to the JSON property `name`
63
+ # @return [String]
64
+ attr_accessor :name
65
+
180
66
  def initialize(**args)
181
67
  update!(**args)
182
68
  end
@@ -184,6 +70,7 @@ module Google
184
70
  # Update properties of this object
185
71
  def update!(**args)
186
72
  @recolor_stops = args[:recolor_stops] if args.key?(:recolor_stops)
73
+ @name = args[:name] if args.key?(:name)
187
74
  end
188
75
  end
189
76
 
@@ -231,11 +118,6 @@ module Google
231
118
  class RgbColor
232
119
  include Google::Apis::Core::Hashable
233
120
 
234
- # The red component of the color, from 0.0 to 1.0.
235
- # Corresponds to the JSON property `red`
236
- # @return [Float]
237
- attr_accessor :red
238
-
239
121
  # The green component of the color, from 0.0 to 1.0.
240
122
  # Corresponds to the JSON property `green`
241
123
  # @return [Float]
@@ -246,15 +128,20 @@ module Google
246
128
  # @return [Float]
247
129
  attr_accessor :blue
248
130
 
131
+ # The red component of the color, from 0.0 to 1.0.
132
+ # Corresponds to the JSON property `red`
133
+ # @return [Float]
134
+ attr_accessor :red
135
+
249
136
  def initialize(**args)
250
137
  update!(**args)
251
138
  end
252
139
 
253
140
  # Update properties of this object
254
141
  def update!(**args)
255
- @red = args[:red] if args.key?(:red)
256
142
  @green = args[:green] if args.key?(:green)
257
143
  @blue = args[:blue] if args.key?(:blue)
144
+ @red = args[:red] if args.key?(:red)
258
145
  end
259
146
  end
260
147
 
@@ -342,6 +229,15 @@ module Google
342
229
  class CreateShapeRequest
343
230
  include Google::Apis::Core::Hashable
344
231
 
232
+ # Common properties for a page element.
233
+ # Note: When you initially create a
234
+ # PageElement, the API may modify
235
+ # the values of both `size` and `transform`, but the
236
+ # visual size will be unchanged.
237
+ # Corresponds to the JSON property `elementProperties`
238
+ # @return [Google::Apis::SlidesV1::PageElementProperties]
239
+ attr_accessor :element_properties
240
+
345
241
  # A user-supplied object ID.
346
242
  # If you specify an ID, it must be unique among all pages and page elements
347
243
  # in the presentation. The ID must start with an alphanumeric character or an
@@ -359,24 +255,15 @@ module Google
359
255
  # @return [String]
360
256
  attr_accessor :shape_type
361
257
 
362
- # Common properties for a page element.
363
- # Note: When you initially create a
364
- # PageElement, the API may modify
365
- # the values of both `size` and `transform`, but the
366
- # visual size will be unchanged.
367
- # Corresponds to the JSON property `elementProperties`
368
- # @return [Google::Apis::SlidesV1::PageElementProperties]
369
- attr_accessor :element_properties
370
-
371
258
  def initialize(**args)
372
259
  update!(**args)
373
260
  end
374
261
 
375
262
  # Update properties of this object
376
263
  def update!(**args)
264
+ @element_properties = args[:element_properties] if args.key?(:element_properties)
377
265
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
378
266
  @shape_type = args[:shape_type] if args.key?(:shape_type)
379
- @element_properties = args[:element_properties] if args.key?(:element_properties)
380
267
  end
381
268
  end
382
269
 
@@ -385,11 +272,6 @@ module Google
385
272
  class Video
386
273
  include Google::Apis::Core::Hashable
387
274
 
388
- # The video source.
389
- # Corresponds to the JSON property `source`
390
- # @return [String]
391
- attr_accessor :source
392
-
393
275
  # An URL to a video. The URL is valid as long as the source video
394
276
  # exists and sharing settings do not change.
395
277
  # Corresponds to the JSON property `url`
@@ -406,16 +288,21 @@ module Google
406
288
  # @return [Google::Apis::SlidesV1::VideoProperties]
407
289
  attr_accessor :video_properties
408
290
 
291
+ # The video source.
292
+ # Corresponds to the JSON property `source`
293
+ # @return [String]
294
+ attr_accessor :source
295
+
409
296
  def initialize(**args)
410
297
  update!(**args)
411
298
  end
412
299
 
413
300
  # Update properties of this object
414
301
  def update!(**args)
415
- @source = args[:source] if args.key?(:source)
416
302
  @url = args[:url] if args.key?(:url)
417
303
  @id = args[:id] if args.key?(:id)
418
304
  @video_properties = args[:video_properties] if args.key?(:video_properties)
305
+ @source = args[:source] if args.key?(:source)
419
306
  end
420
307
  end
421
308
 
@@ -427,24 +314,24 @@ module Google
427
314
  class PageProperties
428
315
  include Google::Apis::Core::Hashable
429
316
 
430
- # The page background fill.
431
- # Corresponds to the JSON property `pageBackgroundFill`
432
- # @return [Google::Apis::SlidesV1::PageBackgroundFill]
433
- attr_accessor :page_background_fill
434
-
435
317
  # The palette of predefined colors for a page.
436
318
  # Corresponds to the JSON property `colorScheme`
437
319
  # @return [Google::Apis::SlidesV1::ColorScheme]
438
320
  attr_accessor :color_scheme
439
321
 
322
+ # The page background fill.
323
+ # Corresponds to the JSON property `pageBackgroundFill`
324
+ # @return [Google::Apis::SlidesV1::PageBackgroundFill]
325
+ attr_accessor :page_background_fill
326
+
440
327
  def initialize(**args)
441
328
  update!(**args)
442
329
  end
443
330
 
444
331
  # Update properties of this object
445
332
  def update!(**args)
446
- @page_background_fill = args[:page_background_fill] if args.key?(:page_background_fill)
447
333
  @color_scheme = args[:color_scheme] if args.key?(:color_scheme)
334
+ @page_background_fill = args[:page_background_fill] if args.key?(:page_background_fill)
448
335
  end
449
336
  end
450
337
 
@@ -452,16 +339,6 @@ module Google
452
339
  class TableCell
453
340
  include Google::Apis::Core::Hashable
454
341
 
455
- # A location of a single table cell within a table.
456
- # Corresponds to the JSON property `location`
457
- # @return [Google::Apis::SlidesV1::TableCellLocation]
458
- attr_accessor :location
459
-
460
- # Row span of the cell.
461
- # Corresponds to the JSON property `rowSpan`
462
- # @return [Fixnum]
463
- attr_accessor :row_span
464
-
465
342
  # Column span of the cell.
466
343
  # Corresponds to the JSON property `columnSpan`
467
344
  # @return [Fixnum]
@@ -478,17 +355,27 @@ module Google
478
355
  # @return [Google::Apis::SlidesV1::TableCellProperties]
479
356
  attr_accessor :table_cell_properties
480
357
 
358
+ # A location of a single table cell within a table.
359
+ # Corresponds to the JSON property `location`
360
+ # @return [Google::Apis::SlidesV1::TableCellLocation]
361
+ attr_accessor :location
362
+
363
+ # Row span of the cell.
364
+ # Corresponds to the JSON property `rowSpan`
365
+ # @return [Fixnum]
366
+ attr_accessor :row_span
367
+
481
368
  def initialize(**args)
482
369
  update!(**args)
483
370
  end
484
371
 
485
372
  # Update properties of this object
486
373
  def update!(**args)
487
- @location = args[:location] if args.key?(:location)
488
- @row_span = args[:row_span] if args.key?(:row_span)
489
374
  @column_span = args[:column_span] if args.key?(:column_span)
490
375
  @text = args[:text] if args.key?(:text)
491
376
  @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties)
377
+ @location = args[:location] if args.key?(:location)
378
+ @row_span = args[:row_span] if args.key?(:row_span)
492
379
  end
493
380
  end
494
381
 
@@ -530,11 +417,6 @@ module Google
530
417
  class UpdateLinePropertiesRequest
531
418
  include Google::Apis::Core::Hashable
532
419
 
533
- # The object ID of the line the update is applied to.
534
- # Corresponds to the JSON property `objectId`
535
- # @return [String]
536
- attr_accessor :object_id_prop
537
-
538
420
  # The properties of the Line.
539
421
  # When unset, these fields default to values that match the appearance of
540
422
  # new lines created in the Slides editor.
@@ -554,15 +436,52 @@ module Google
554
436
  # @return [String]
555
437
  attr_accessor :fields
556
438
 
439
+ # The object ID of the line the update is applied to.
440
+ # Corresponds to the JSON property `objectId`
441
+ # @return [String]
442
+ attr_accessor :object_id_prop
443
+
557
444
  def initialize(**args)
558
445
  update!(**args)
559
446
  end
560
447
 
561
448
  # Update properties of this object
562
449
  def update!(**args)
563
- @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
564
450
  @line_properties = args[:line_properties] if args.key?(:line_properties)
565
451
  @fields = args[:fields] if args.key?(:fields)
452
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
453
+ end
454
+ end
455
+
456
+ # The table cell background fill.
457
+ class TableCellBackgroundFill
458
+ include Google::Apis::Core::Hashable
459
+
460
+ # A solid color fill. The page or page element is filled entirely with the
461
+ # specified color value.
462
+ # If any field is unset, its value may be inherited from a parent placeholder
463
+ # if it exists.
464
+ # Corresponds to the JSON property `solidFill`
465
+ # @return [Google::Apis::SlidesV1::SolidFill]
466
+ attr_accessor :solid_fill
467
+
468
+ # The background fill property state.
469
+ # Updating the the fill on a table cell will implicitly update this field
470
+ # to `RENDERED`, unless another value is specified in the same request. To
471
+ # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
472
+ # case, any other fill fields set in the same request will be ignored.
473
+ # Corresponds to the JSON property `propertyState`
474
+ # @return [String]
475
+ attr_accessor :property_state
476
+
477
+ def initialize(**args)
478
+ update!(**args)
479
+ end
480
+
481
+ # Update properties of this object
482
+ def update!(**args)
483
+ @solid_fill = args[:solid_fill] if args.key?(:solid_fill)
484
+ @property_state = args[:property_state] if args.key?(:property_state)
566
485
  end
567
486
  end
568
487
 
@@ -595,38 +514,6 @@ module Google
595
514
  end
596
515
  end
597
516
 
598
- # The table cell background fill.
599
- class TableCellBackgroundFill
600
- include Google::Apis::Core::Hashable
601
-
602
- # The background fill property state.
603
- # Updating the the fill on a table cell will implicitly update this field
604
- # to `RENDERED`, unless another value is specified in the same request. To
605
- # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
606
- # case, any other fill fields set in the same request will be ignored.
607
- # Corresponds to the JSON property `propertyState`
608
- # @return [String]
609
- attr_accessor :property_state
610
-
611
- # A solid color fill. The page or page element is filled entirely with the
612
- # specified color value.
613
- # If any field is unset, its value may be inherited from a parent placeholder
614
- # if it exists.
615
- # Corresponds to the JSON property `solidFill`
616
- # @return [Google::Apis::SlidesV1::SolidFill]
617
- attr_accessor :solid_fill
618
-
619
- def initialize(**args)
620
- update!(**args)
621
- end
622
-
623
- # Update properties of this object
624
- def update!(**args)
625
- @property_state = args[:property_state] if args.key?(:property_state)
626
- @solid_fill = args[:solid_fill] if args.key?(:solid_fill)
627
- end
628
- end
629
-
630
517
  # Updates the properties of a Page.
631
518
  class UpdatePagePropertiesRequest
632
519
  include Google::Apis::Core::Hashable
@@ -801,21 +688,27 @@ module Google
801
688
  # @return [Google::Apis::SlidesV1::LayoutProperties]
802
689
  attr_accessor :layout_properties
803
690
 
804
- # The page elements rendered on the page.
805
- # Corresponds to the JSON property `pageElements`
806
- # @return [Array<Google::Apis::SlidesV1::PageElement>]
807
- attr_accessor :page_elements
691
+ # The properties of Page that are only
692
+ # relevant for pages with page_type NOTES.
693
+ # Corresponds to the JSON property `notesProperties`
694
+ # @return [Google::Apis::SlidesV1::NotesProperties]
695
+ attr_accessor :notes_properties
808
696
 
809
697
  # The type of the page.
810
698
  # Corresponds to the JSON property `pageType`
811
699
  # @return [String]
812
700
  attr_accessor :page_type
813
701
 
702
+ # The page elements rendered on the page.
703
+ # Corresponds to the JSON property `pageElements`
704
+ # @return [Array<Google::Apis::SlidesV1::PageElement>]
705
+ attr_accessor :page_elements
706
+
814
707
  # The properties of Page that are only
815
- # relevant for pages with page_type NOTES.
816
- # Corresponds to the JSON property `notesProperties`
817
- # @return [Google::Apis::SlidesV1::NotesProperties]
818
- attr_accessor :notes_properties
708
+ # relevant for pages with page_type SLIDE.
709
+ # Corresponds to the JSON property `slideProperties`
710
+ # @return [Google::Apis::SlidesV1::SlideProperties]
711
+ attr_accessor :slide_properties
819
712
 
820
713
  # The properties of the Page.
821
714
  # The page will inherit properties from the parent page. Depending on the page
@@ -826,12 +719,6 @@ module Google
826
719
  # @return [Google::Apis::SlidesV1::PageProperties]
827
720
  attr_accessor :page_properties
828
721
 
829
- # The properties of Page that are only
830
- # relevant for pages with page_type SLIDE.
831
- # Corresponds to the JSON property `slideProperties`
832
- # @return [Google::Apis::SlidesV1::SlideProperties]
833
- attr_accessor :slide_properties
834
-
835
722
  # The object ID for this page. Object IDs used by
836
723
  # Page and
837
724
  # PageElement share the same namespace.
@@ -846,11 +733,11 @@ module Google
846
733
  # Update properties of this object
847
734
  def update!(**args)
848
735
  @layout_properties = args[:layout_properties] if args.key?(:layout_properties)
849
- @page_elements = args[:page_elements] if args.key?(:page_elements)
850
- @page_type = args[:page_type] if args.key?(:page_type)
851
736
  @notes_properties = args[:notes_properties] if args.key?(:notes_properties)
852
- @page_properties = args[:page_properties] if args.key?(:page_properties)
737
+ @page_type = args[:page_type] if args.key?(:page_type)
738
+ @page_elements = args[:page_elements] if args.key?(:page_elements)
853
739
  @slide_properties = args[:slide_properties] if args.key?(:slide_properties)
740
+ @page_properties = args[:page_properties] if args.key?(:page_properties)
854
741
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
855
742
  end
856
743
  end
@@ -907,12 +794,6 @@ module Google
907
794
  class CropProperties
908
795
  include Google::Apis::Core::Hashable
909
796
 
910
- # The rotation angle of the crop window around its center, in radians.
911
- # Rotation angle is applied after the offset.
912
- # Corresponds to the JSON property `angle`
913
- # @return [Float]
914
- attr_accessor :angle
915
-
916
797
  # The offset specifies the top edge of the crop rectangle that is located
917
798
  # below the original bounding rectangle top edge, relative to the object's
918
799
  # original height.
@@ -941,17 +822,23 @@ module Google
941
822
  # @return [Float]
942
823
  attr_accessor :bottom_offset
943
824
 
825
+ # The rotation angle of the crop window around its center, in radians.
826
+ # Rotation angle is applied after the offset.
827
+ # Corresponds to the JSON property `angle`
828
+ # @return [Float]
829
+ attr_accessor :angle
830
+
944
831
  def initialize(**args)
945
832
  update!(**args)
946
833
  end
947
834
 
948
835
  # Update properties of this object
949
836
  def update!(**args)
950
- @angle = args[:angle] if args.key?(:angle)
951
837
  @top_offset = args[:top_offset] if args.key?(:top_offset)
952
838
  @left_offset = args[:left_offset] if args.key?(:left_offset)
953
839
  @right_offset = args[:right_offset] if args.key?(:right_offset)
954
840
  @bottom_offset = args[:bottom_offset] if args.key?(:bottom_offset)
841
+ @angle = args[:angle] if args.key?(:angle)
955
842
  end
956
843
  end
957
844
 
@@ -997,6 +884,39 @@ module Google
997
884
  end
998
885
  end
999
886
 
887
+ # A color and position in a gradient band.
888
+ class ColorStop
889
+ include Google::Apis::Core::Hashable
890
+
891
+ # A themeable solid color value.
892
+ # Corresponds to the JSON property `color`
893
+ # @return [Google::Apis::SlidesV1::OpaqueColor]
894
+ attr_accessor :color
895
+
896
+ # The alpha value of this color in the gradient band. Defaults to 1.0,
897
+ # fully opaque.
898
+ # Corresponds to the JSON property `alpha`
899
+ # @return [Float]
900
+ attr_accessor :alpha
901
+
902
+ # The relative position of the color stop in the gradient band measured
903
+ # in percentage. The value should be in the interval [0.0, 1.0].
904
+ # Corresponds to the JSON property `position`
905
+ # @return [Float]
906
+ attr_accessor :position
907
+
908
+ def initialize(**args)
909
+ update!(**args)
910
+ end
911
+
912
+ # Update properties of this object
913
+ def update!(**args)
914
+ @color = args[:color] if args.key?(:color)
915
+ @alpha = args[:alpha] if args.key?(:alpha)
916
+ @position = args[:position] if args.key?(:position)
917
+ end
918
+ end
919
+
1000
920
  # Specifies a contiguous range of an indexed collection, such as characters in
1001
921
  # text.
1002
922
  class Range
@@ -1031,43 +951,26 @@ module Google
1031
951
  end
1032
952
  end
1033
953
 
1034
- # A color and position in a gradient band.
1035
- class ColorStop
1036
- include Google::Apis::Core::Hashable
1037
-
1038
- # The alpha value of this color in the gradient band. Defaults to 1.0,
1039
- # fully opaque.
1040
- # Corresponds to the JSON property `alpha`
1041
- # @return [Float]
1042
- attr_accessor :alpha
1043
-
1044
- # The relative position of the color stop in the gradient band measured
1045
- # in percentage. The value should be in the interval [0.0, 1.0].
1046
- # Corresponds to the JSON property `position`
1047
- # @return [Float]
1048
- attr_accessor :position
1049
-
1050
- # A themeable solid color value.
1051
- # Corresponds to the JSON property `color`
1052
- # @return [Google::Apis::SlidesV1::OpaqueColor]
1053
- attr_accessor :color
1054
-
1055
- def initialize(**args)
1056
- update!(**args)
1057
- end
1058
-
1059
- # Update properties of this object
1060
- def update!(**args)
1061
- @alpha = args[:alpha] if args.key?(:alpha)
1062
- @position = args[:position] if args.key?(:position)
1063
- @color = args[:color] if args.key?(:color)
1064
- end
1065
- end
1066
-
1067
954
  # Creates a video.
1068
955
  class CreateVideoRequest
1069
956
  include Google::Apis::Core::Hashable
1070
957
 
958
+ # Common properties for a page element.
959
+ # Note: When you initially create a
960
+ # PageElement, the API may modify
961
+ # the values of both `size` and `transform`, but the
962
+ # visual size will be unchanged.
963
+ # Corresponds to the JSON property `elementProperties`
964
+ # @return [Google::Apis::SlidesV1::PageElementProperties]
965
+ attr_accessor :element_properties
966
+
967
+ # The video source's unique identifier for this video.
968
+ # e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0,
969
+ # the ID is 7U3axjORYZ0.
970
+ # Corresponds to the JSON property `id`
971
+ # @return [String]
972
+ attr_accessor :id
973
+
1071
974
  # A user-supplied object ID.
1072
975
  # If you specify an ID, it must be unique among all pages and page elements
1073
976
  # in the presentation. The ID must start with an alphanumeric character or an
@@ -1085,32 +988,16 @@ module Google
1085
988
  # @return [String]
1086
989
  attr_accessor :source
1087
990
 
1088
- # Common properties for a page element.
1089
- # Note: When you initially create a
1090
- # PageElement, the API may modify
1091
- # the values of both `size` and `transform`, but the
1092
- # visual size will be unchanged.
1093
- # Corresponds to the JSON property `elementProperties`
1094
- # @return [Google::Apis::SlidesV1::PageElementProperties]
1095
- attr_accessor :element_properties
1096
-
1097
- # The video source's unique identifier for this video.
1098
- # e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0,
1099
- # the ID is 7U3axjORYZ0.
1100
- # Corresponds to the JSON property `id`
1101
- # @return [String]
1102
- attr_accessor :id
1103
-
1104
991
  def initialize(**args)
1105
992
  update!(**args)
1106
993
  end
1107
994
 
1108
995
  # Update properties of this object
1109
996
  def update!(**args)
1110
- @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
1111
- @source = args[:source] if args.key?(:source)
1112
997
  @element_properties = args[:element_properties] if args.key?(:element_properties)
1113
998
  @id = args[:id] if args.key?(:id)
999
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
1000
+ @source = args[:source] if args.key?(:source)
1114
1001
  end
1115
1002
  end
1116
1003
 
@@ -1276,6 +1163,11 @@ module Google
1276
1163
  class Bullet
1277
1164
  include Google::Apis::Core::Hashable
1278
1165
 
1166
+ # The ID of the list this paragraph belongs to.
1167
+ # Corresponds to the JSON property `listId`
1168
+ # @return [String]
1169
+ attr_accessor :list_id
1170
+
1279
1171
  # The rendered bullet glyph for this paragraph.
1280
1172
  # Corresponds to the JSON property `glyph`
1281
1173
  # @return [String]
@@ -1305,21 +1197,16 @@ module Google
1305
1197
  # @return [Google::Apis::SlidesV1::TextStyle]
1306
1198
  attr_accessor :bullet_style
1307
1199
 
1308
- # The ID of the list this paragraph belongs to.
1309
- # Corresponds to the JSON property `listId`
1310
- # @return [String]
1311
- attr_accessor :list_id
1312
-
1313
1200
  def initialize(**args)
1314
1201
  update!(**args)
1315
1202
  end
1316
1203
 
1317
1204
  # Update properties of this object
1318
1205
  def update!(**args)
1206
+ @list_id = args[:list_id] if args.key?(:list_id)
1319
1207
  @glyph = args[:glyph] if args.key?(:glyph)
1320
1208
  @nesting_level = args[:nesting_level] if args.key?(:nesting_level)
1321
1209
  @bullet_style = args[:bullet_style] if args.key?(:bullet_style)
1322
- @list_id = args[:list_id] if args.key?(:list_id)
1323
1210
  end
1324
1211
  end
1325
1212
 
@@ -1408,6 +1295,68 @@ module Google
1408
1295
  end
1409
1296
  end
1410
1297
 
1298
+ # Updates the styling for all of the paragraphs within a Shape or Table that
1299
+ # overlap with the given text index range.
1300
+ class UpdateParagraphStyleRequest
1301
+ include Google::Apis::Core::Hashable
1302
+
1303
+ # A location of a single table cell within a table.
1304
+ # Corresponds to the JSON property `cellLocation`
1305
+ # @return [Google::Apis::SlidesV1::TableCellLocation]
1306
+ attr_accessor :cell_location
1307
+
1308
+ # Styles that apply to a whole paragraph.
1309
+ # If this text is contained in a shape with a parent placeholder, then these
1310
+ # paragraph styles may be
1311
+ # inherited from the parent. Which paragraph styles are inherited depend on the
1312
+ # nesting level of lists:
1313
+ # * A paragraph not in a list will inherit its paragraph style from the
1314
+ # paragraph at the 0 nesting level of the list inside the parent placeholder.
1315
+ # * A paragraph in a list will inherit its paragraph style from the paragraph
1316
+ # at its corresponding nesting level of the list inside the parent
1317
+ # placeholder.
1318
+ # Inherited paragraph styles are represented as unset fields in this message.
1319
+ # Corresponds to the JSON property `style`
1320
+ # @return [Google::Apis::SlidesV1::ParagraphStyle]
1321
+ attr_accessor :style
1322
+
1323
+ # The fields that should be updated.
1324
+ # At least one field must be specified. The root `style` is implied and
1325
+ # should not be specified. A single `"*"` can be used as short-hand for
1326
+ # listing every field.
1327
+ # For example, to update the paragraph alignment, set `fields` to
1328
+ # `"alignment"`.
1329
+ # To reset a property to its default value, include its field name in the
1330
+ # field mask but leave the field itself unset.
1331
+ # Corresponds to the JSON property `fields`
1332
+ # @return [String]
1333
+ attr_accessor :fields
1334
+
1335
+ # The object ID of the shape or table with the text to be styled.
1336
+ # Corresponds to the JSON property `objectId`
1337
+ # @return [String]
1338
+ attr_accessor :object_id_prop
1339
+
1340
+ # Specifies a contiguous range of an indexed collection, such as characters in
1341
+ # text.
1342
+ # Corresponds to the JSON property `textRange`
1343
+ # @return [Google::Apis::SlidesV1::Range]
1344
+ attr_accessor :text_range
1345
+
1346
+ def initialize(**args)
1347
+ update!(**args)
1348
+ end
1349
+
1350
+ # Update properties of this object
1351
+ def update!(**args)
1352
+ @cell_location = args[:cell_location] if args.key?(:cell_location)
1353
+ @style = args[:style] if args.key?(:style)
1354
+ @fields = args[:fields] if args.key?(:fields)
1355
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
1356
+ @text_range = args[:text_range] if args.key?(:text_range)
1357
+ end
1358
+ end
1359
+
1411
1360
  # The palette of predefined colors for a page.
1412
1361
  class ColorScheme
1413
1362
  include Google::Apis::Core::Hashable
@@ -1476,6 +1425,11 @@ module Google
1476
1425
  class Image
1477
1426
  include Google::Apis::Core::Hashable
1478
1427
 
1428
+ # The properties of the Image.
1429
+ # Corresponds to the JSON property `imageProperties`
1430
+ # @return [Google::Apis::SlidesV1::ImageProperties]
1431
+ attr_accessor :image_properties
1432
+
1479
1433
  # An URL to an image with a default lifetime of 30 minutes.
1480
1434
  # This URL is tagged with the account of the requester. Anyone with the URL
1481
1435
  # effectively accesses the image as the original requester. Access to the
@@ -1484,19 +1438,14 @@ module Google
1484
1438
  # @return [String]
1485
1439
  attr_accessor :content_url
1486
1440
 
1487
- # The properties of the Image.
1488
- # Corresponds to the JSON property `imageProperties`
1489
- # @return [Google::Apis::SlidesV1::ImageProperties]
1490
- attr_accessor :image_properties
1491
-
1492
1441
  def initialize(**args)
1493
1442
  update!(**args)
1494
1443
  end
1495
1444
 
1496
1445
  # Update properties of this object
1497
1446
  def update!(**args)
1498
- @content_url = args[:content_url] if args.key?(:content_url)
1499
1447
  @image_properties = args[:image_properties] if args.key?(:image_properties)
1448
+ @content_url = args[:content_url] if args.key?(:content_url)
1500
1449
  end
1501
1450
  end
1502
1451
 
@@ -1504,6 +1453,21 @@ module Google
1504
1453
  class InsertTextRequest
1505
1454
  include Google::Apis::Core::Hashable
1506
1455
 
1456
+ # The index where the text will be inserted, in Unicode code units, based
1457
+ # on TextElement indexes.
1458
+ # The index is zero-based and is computed from the start of the string.
1459
+ # The index may be adjusted to prevent insertions inside Unicode grapheme
1460
+ # clusters. In these cases, the text will be inserted immediately after the
1461
+ # grapheme cluster.
1462
+ # Corresponds to the JSON property `insertionIndex`
1463
+ # @return [Fixnum]
1464
+ attr_accessor :insertion_index
1465
+
1466
+ # A location of a single table cell within a table.
1467
+ # Corresponds to the JSON property `cellLocation`
1468
+ # @return [Google::Apis::SlidesV1::TableCellLocation]
1469
+ attr_accessor :cell_location
1470
+
1507
1471
  # The object ID of the shape or table where the text will be inserted.
1508
1472
  # Corresponds to the JSON property `objectId`
1509
1473
  # @return [String]
@@ -1525,31 +1489,16 @@ module Google
1525
1489
  # @return [String]
1526
1490
  attr_accessor :text
1527
1491
 
1528
- # The index where the text will be inserted, in Unicode code units, based
1529
- # on TextElement indexes.
1530
- # The index is zero-based and is computed from the start of the string.
1531
- # The index may be adjusted to prevent insertions inside Unicode grapheme
1532
- # clusters. In these cases, the text will be inserted immediately after the
1533
- # grapheme cluster.
1534
- # Corresponds to the JSON property `insertionIndex`
1535
- # @return [Fixnum]
1536
- attr_accessor :insertion_index
1537
-
1538
- # A location of a single table cell within a table.
1539
- # Corresponds to the JSON property `cellLocation`
1540
- # @return [Google::Apis::SlidesV1::TableCellLocation]
1541
- attr_accessor :cell_location
1542
-
1543
1492
  def initialize(**args)
1544
1493
  update!(**args)
1545
1494
  end
1546
1495
 
1547
1496
  # Update properties of this object
1548
1497
  def update!(**args)
1549
- @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
1550
- @text = args[:text] if args.key?(:text)
1551
1498
  @insertion_index = args[:insertion_index] if args.key?(:insertion_index)
1552
1499
  @cell_location = args[:cell_location] if args.key?(:cell_location)
1500
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
1501
+ @text = args[:text] if args.key?(:text)
1553
1502
  end
1554
1503
  end
1555
1504
 
@@ -1565,11 +1514,6 @@ module Google
1565
1514
  class AffineTransform
1566
1515
  include Google::Apis::Core::Hashable
1567
1516
 
1568
- # The X coordinate shearing element.
1569
- # Corresponds to the JSON property `shearX`
1570
- # @return [Float]
1571
- attr_accessor :shear_x
1572
-
1573
1517
  # The Y coordinate scaling element.
1574
1518
  # Corresponds to the JSON property `scaleY`
1575
1519
  # @return [Float]
@@ -1600,19 +1544,24 @@ module Google
1600
1544
  # @return [Float]
1601
1545
  attr_accessor :scale_x
1602
1546
 
1547
+ # The X coordinate shearing element.
1548
+ # Corresponds to the JSON property `shearX`
1549
+ # @return [Float]
1550
+ attr_accessor :shear_x
1551
+
1603
1552
  def initialize(**args)
1604
1553
  update!(**args)
1605
1554
  end
1606
1555
 
1607
1556
  # Update properties of this object
1608
1557
  def update!(**args)
1609
- @shear_x = args[:shear_x] if args.key?(:shear_x)
1610
1558
  @scale_y = args[:scale_y] if args.key?(:scale_y)
1611
1559
  @translate_y = args[:translate_y] if args.key?(:translate_y)
1612
1560
  @translate_x = args[:translate_x] if args.key?(:translate_x)
1613
1561
  @shear_y = args[:shear_y] if args.key?(:shear_y)
1614
1562
  @unit = args[:unit] if args.key?(:unit)
1615
1563
  @scale_x = args[:scale_x] if args.key?(:scale_x)
1564
+ @shear_x = args[:shear_x] if args.key?(:shear_x)
1616
1565
  end
1617
1566
  end
1618
1567
 
@@ -1776,42 +1725,11 @@ module Google
1776
1725
  end
1777
1726
  end
1778
1727
 
1779
- # A magnitude in a single direction in the specified units.
1780
- class Dimension
1781
- include Google::Apis::Core::Hashable
1782
-
1783
- # The magnitude.
1784
- # Corresponds to the JSON property `magnitude`
1785
- # @return [Float]
1786
- attr_accessor :magnitude
1787
-
1788
- # The units for magnitude.
1789
- # Corresponds to the JSON property `unit`
1790
- # @return [String]
1791
- attr_accessor :unit
1792
-
1793
- def initialize(**args)
1794
- update!(**args)
1795
- end
1796
-
1797
- # Update properties of this object
1798
- def update!(**args)
1799
- @magnitude = args[:magnitude] if args.key?(:magnitude)
1800
- @unit = args[:unit] if args.key?(:unit)
1801
- end
1802
- end
1803
-
1804
1728
  # A TextElement describes the content of a range of indices in the text content
1805
1729
  # of a Shape or TableCell.
1806
1730
  class TextElement
1807
1731
  include Google::Apis::Core::Hashable
1808
1732
 
1809
- # A TextElement kind that represents a run of text that all has the same
1810
- # styling.
1811
- # Corresponds to the JSON property `textRun`
1812
- # @return [Google::Apis::SlidesV1::TextRun]
1813
- attr_accessor :text_run
1814
-
1815
1733
  # A TextElement kind that represents auto text.
1816
1734
  # Corresponds to the JSON property `autoText`
1817
1735
  # @return [Google::Apis::SlidesV1::AutoText]
@@ -1833,17 +1751,48 @@ module Google
1833
1751
  # @return [Fixnum]
1834
1752
  attr_accessor :end_index
1835
1753
 
1754
+ # A TextElement kind that represents a run of text that all has the same
1755
+ # styling.
1756
+ # Corresponds to the JSON property `textRun`
1757
+ # @return [Google::Apis::SlidesV1::TextRun]
1758
+ attr_accessor :text_run
1759
+
1836
1760
  def initialize(**args)
1837
1761
  update!(**args)
1838
1762
  end
1839
1763
 
1840
1764
  # Update properties of this object
1841
1765
  def update!(**args)
1842
- @text_run = args[:text_run] if args.key?(:text_run)
1843
1766
  @auto_text = args[:auto_text] if args.key?(:auto_text)
1844
1767
  @paragraph_marker = args[:paragraph_marker] if args.key?(:paragraph_marker)
1845
1768
  @start_index = args[:start_index] if args.key?(:start_index)
1846
1769
  @end_index = args[:end_index] if args.key?(:end_index)
1770
+ @text_run = args[:text_run] if args.key?(:text_run)
1771
+ end
1772
+ end
1773
+
1774
+ # A magnitude in a single direction in the specified units.
1775
+ class Dimension
1776
+ include Google::Apis::Core::Hashable
1777
+
1778
+ # The magnitude.
1779
+ # Corresponds to the JSON property `magnitude`
1780
+ # @return [Float]
1781
+ attr_accessor :magnitude
1782
+
1783
+ # The units for magnitude.
1784
+ # Corresponds to the JSON property `unit`
1785
+ # @return [String]
1786
+ attr_accessor :unit
1787
+
1788
+ def initialize(**args)
1789
+ update!(**args)
1790
+ end
1791
+
1792
+ # Update properties of this object
1793
+ def update!(**args)
1794
+ @magnitude = args[:magnitude] if args.key?(:magnitude)
1795
+ @unit = args[:unit] if args.key?(:unit)
1847
1796
  end
1848
1797
  end
1849
1798
 
@@ -1896,6 +1845,11 @@ module Google
1896
1845
  class InsertTableRowsRequest
1897
1846
  include Google::Apis::Core::Hashable
1898
1847
 
1848
+ # A location of a single table cell within a table.
1849
+ # Corresponds to the JSON property `cellLocation`
1850
+ # @return [Google::Apis::SlidesV1::TableCellLocation]
1851
+ attr_accessor :cell_location
1852
+
1899
1853
  # The table to insert rows into.
1900
1854
  # Corresponds to the JSON property `tableObjectId`
1901
1855
  # @return [String]
@@ -1914,21 +1868,16 @@ module Google
1914
1868
  # @return [Fixnum]
1915
1869
  attr_accessor :number
1916
1870
 
1917
- # A location of a single table cell within a table.
1918
- # Corresponds to the JSON property `cellLocation`
1919
- # @return [Google::Apis::SlidesV1::TableCellLocation]
1920
- attr_accessor :cell_location
1921
-
1922
1871
  def initialize(**args)
1923
1872
  update!(**args)
1924
1873
  end
1925
1874
 
1926
1875
  # Update properties of this object
1927
1876
  def update!(**args)
1877
+ @cell_location = args[:cell_location] if args.key?(:cell_location)
1928
1878
  @table_object_id = args[:table_object_id] if args.key?(:table_object_id)
1929
1879
  @insert_below = args[:insert_below] if args.key?(:insert_below)
1930
1880
  @number = args[:number] if args.key?(:number)
1931
- @cell_location = args[:cell_location] if args.key?(:cell_location)
1932
1881
  end
1933
1882
  end
1934
1883
 
@@ -1964,78 +1913,6 @@ module Google
1964
1913
  end
1965
1914
  end
1966
1915
 
1967
- # A Google Slides presentation.
1968
- class Presentation
1969
- include Google::Apis::Core::Hashable
1970
-
1971
- # The layouts in the presentation. A layout is a template that determines
1972
- # how content is arranged and styled on the slides that inherit from that
1973
- # layout.
1974
- # Corresponds to the JSON property `layouts`
1975
- # @return [Array<Google::Apis::SlidesV1::Page>]
1976
- attr_accessor :layouts
1977
-
1978
- # The title of the presentation.
1979
- # Corresponds to the JSON property `title`
1980
- # @return [String]
1981
- attr_accessor :title
1982
-
1983
- # The slide masters in the presentation. A slide master contains all common
1984
- # page elements and the common properties for a set of layouts. They serve
1985
- # three purposes:
1986
- # - Placeholder shapes on a master contain the default text styles and shape
1987
- # properties of all placeholder shapes on pages that use that master.
1988
- # - The master page properties define the common page properties inherited by
1989
- # its layouts.
1990
- # - Any other shapes on the master slide will appear on all slides using that
1991
- # master, regardless of their layout.
1992
- # Corresponds to the JSON property `masters`
1993
- # @return [Array<Google::Apis::SlidesV1::Page>]
1994
- attr_accessor :masters
1995
-
1996
- # The locale of the presentation, as an IETF BCP 47 language tag.
1997
- # Corresponds to the JSON property `locale`
1998
- # @return [String]
1999
- attr_accessor :locale
2000
-
2001
- # A width and height.
2002
- # Corresponds to the JSON property `pageSize`
2003
- # @return [Google::Apis::SlidesV1::Size]
2004
- attr_accessor :page_size
2005
-
2006
- # The ID of the presentation.
2007
- # Corresponds to the JSON property `presentationId`
2008
- # @return [String]
2009
- attr_accessor :presentation_id
2010
-
2011
- # The slides in the presentation.
2012
- # A slide inherits properties from a slide layout.
2013
- # Corresponds to the JSON property `slides`
2014
- # @return [Array<Google::Apis::SlidesV1::Page>]
2015
- attr_accessor :slides
2016
-
2017
- # A page in a presentation.
2018
- # Corresponds to the JSON property `notesMaster`
2019
- # @return [Google::Apis::SlidesV1::Page]
2020
- attr_accessor :notes_master
2021
-
2022
- def initialize(**args)
2023
- update!(**args)
2024
- end
2025
-
2026
- # Update properties of this object
2027
- def update!(**args)
2028
- @layouts = args[:layouts] if args.key?(:layouts)
2029
- @title = args[:title] if args.key?(:title)
2030
- @masters = args[:masters] if args.key?(:masters)
2031
- @locale = args[:locale] if args.key?(:locale)
2032
- @page_size = args[:page_size] if args.key?(:page_size)
2033
- @presentation_id = args[:presentation_id] if args.key?(:presentation_id)
2034
- @slides = args[:slides] if args.key?(:slides)
2035
- @notes_master = args[:notes_master] if args.key?(:notes_master)
2036
- end
2037
- end
2038
-
2039
1916
  # The properties of the Line.
2040
1917
  # When unset, these fields default to values that match the appearance of
2041
1918
  # new lines created in the Slides editor.
@@ -2087,44 +1964,136 @@ module Google
2087
1964
  end
2088
1965
  end
2089
1966
 
2090
- # A themeable solid color value.
2091
- class OpaqueColor
1967
+ # A Google Slides presentation.
1968
+ class Presentation
2092
1969
  include Google::Apis::Core::Hashable
2093
1970
 
2094
- # An RGB color.
2095
- # Corresponds to the JSON property `rgbColor`
2096
- # @return [Google::Apis::SlidesV1::RgbColor]
2097
- attr_accessor :rgb_color
1971
+ # A width and height.
1972
+ # Corresponds to the JSON property `pageSize`
1973
+ # @return [Google::Apis::SlidesV1::Size]
1974
+ attr_accessor :page_size
2098
1975
 
2099
- # An opaque theme color.
2100
- # Corresponds to the JSON property `themeColor`
1976
+ # The ID of the presentation.
1977
+ # Corresponds to the JSON property `presentationId`
2101
1978
  # @return [String]
2102
- attr_accessor :theme_color
1979
+ attr_accessor :presentation_id
2103
1980
 
2104
- def initialize(**args)
2105
- update!(**args)
2106
- end
1981
+ # The slides in the presentation.
1982
+ # A slide inherits properties from a slide layout.
1983
+ # Corresponds to the JSON property `slides`
1984
+ # @return [Array<Google::Apis::SlidesV1::Page>]
1985
+ attr_accessor :slides
2107
1986
 
2108
- # Update properties of this object
2109
- def update!(**args)
2110
- @rgb_color = args[:rgb_color] if args.key?(:rgb_color)
2111
- @theme_color = args[:theme_color] if args.key?(:theme_color)
2112
- end
2113
- end
1987
+ # A page in a presentation.
1988
+ # Corresponds to the JSON property `notesMaster`
1989
+ # @return [Google::Apis::SlidesV1::Page]
1990
+ attr_accessor :notes_master
2114
1991
 
2115
- # The properties of the Image.
2116
- class ImageProperties
2117
- include Google::Apis::Core::Hashable
1992
+ # The layouts in the presentation. A layout is a template that determines
1993
+ # how content is arranged and styled on the slides that inherit from that
1994
+ # layout.
1995
+ # Corresponds to the JSON property `layouts`
1996
+ # @return [Array<Google::Apis::SlidesV1::Page>]
1997
+ attr_accessor :layouts
2118
1998
 
2119
- # A recolor effect applied on an image.
2120
- # Corresponds to the JSON property `recolor`
2121
- # @return [Google::Apis::SlidesV1::Recolor]
2122
- attr_accessor :recolor
1999
+ # The title of the presentation.
2000
+ # Corresponds to the JSON property `title`
2001
+ # @return [String]
2002
+ attr_accessor :title
2123
2003
 
2124
- # The crop properties of an object enclosed in a container. For example, an
2125
- # Image.
2126
- # The crop properties is represented by the offsets of four edges which define
2127
- # a crop rectangle. The offsets are measured in percentage from the
2004
+ # The locale of the presentation, as an IETF BCP 47 language tag.
2005
+ # Corresponds to the JSON property `locale`
2006
+ # @return [String]
2007
+ attr_accessor :locale
2008
+
2009
+ # The slide masters in the presentation. A slide master contains all common
2010
+ # page elements and the common properties for a set of layouts. They serve
2011
+ # three purposes:
2012
+ # - Placeholder shapes on a master contain the default text styles and shape
2013
+ # properties of all placeholder shapes on pages that use that master.
2014
+ # - The master page properties define the common page properties inherited by
2015
+ # its layouts.
2016
+ # - Any other shapes on the master slide will appear on all slides using that
2017
+ # master, regardless of their layout.
2018
+ # Corresponds to the JSON property `masters`
2019
+ # @return [Array<Google::Apis::SlidesV1::Page>]
2020
+ attr_accessor :masters
2021
+
2022
+ def initialize(**args)
2023
+ update!(**args)
2024
+ end
2025
+
2026
+ # Update properties of this object
2027
+ def update!(**args)
2028
+ @page_size = args[:page_size] if args.key?(:page_size)
2029
+ @presentation_id = args[:presentation_id] if args.key?(:presentation_id)
2030
+ @slides = args[:slides] if args.key?(:slides)
2031
+ @notes_master = args[:notes_master] if args.key?(:notes_master)
2032
+ @layouts = args[:layouts] if args.key?(:layouts)
2033
+ @title = args[:title] if args.key?(:title)
2034
+ @locale = args[:locale] if args.key?(:locale)
2035
+ @masters = args[:masters] if args.key?(:masters)
2036
+ end
2037
+ end
2038
+
2039
+ # A themeable solid color value.
2040
+ class OpaqueColor
2041
+ include Google::Apis::Core::Hashable
2042
+
2043
+ # An RGB color.
2044
+ # Corresponds to the JSON property `rgbColor`
2045
+ # @return [Google::Apis::SlidesV1::RgbColor]
2046
+ attr_accessor :rgb_color
2047
+
2048
+ # An opaque theme color.
2049
+ # Corresponds to the JSON property `themeColor`
2050
+ # @return [String]
2051
+ attr_accessor :theme_color
2052
+
2053
+ def initialize(**args)
2054
+ update!(**args)
2055
+ end
2056
+
2057
+ # Update properties of this object
2058
+ def update!(**args)
2059
+ @rgb_color = args[:rgb_color] if args.key?(:rgb_color)
2060
+ @theme_color = args[:theme_color] if args.key?(:theme_color)
2061
+ end
2062
+ end
2063
+
2064
+ # The properties of the Image.
2065
+ class ImageProperties
2066
+ include Google::Apis::Core::Hashable
2067
+
2068
+ # The shadow properties of a page element.
2069
+ # If these fields are unset, they may be inherited from a parent placeholder
2070
+ # if it exists. If there is no parent, the fields will default to the value
2071
+ # used for new page elements created in the Slides editor, which may depend on
2072
+ # the page element kind.
2073
+ # Corresponds to the JSON property `shadow`
2074
+ # @return [Google::Apis::SlidesV1::Shadow]
2075
+ attr_accessor :shadow
2076
+
2077
+ # A hypertext link.
2078
+ # Corresponds to the JSON property `link`
2079
+ # @return [Google::Apis::SlidesV1::Link]
2080
+ attr_accessor :link
2081
+
2082
+ # The contrast effect of the image. The value should be in the interval
2083
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
2084
+ # Corresponds to the JSON property `contrast`
2085
+ # @return [Float]
2086
+ attr_accessor :contrast
2087
+
2088
+ # A recolor effect applied on an image.
2089
+ # Corresponds to the JSON property `recolor`
2090
+ # @return [Google::Apis::SlidesV1::Recolor]
2091
+ attr_accessor :recolor
2092
+
2093
+ # The crop properties of an object enclosed in a container. For example, an
2094
+ # Image.
2095
+ # The crop properties is represented by the offsets of four edges which define
2096
+ # a crop rectangle. The offsets are measured in percentage from the
2128
2097
  # corresponding edges of the object's original bounding rectangle towards
2129
2098
  # inside, relative to the object's original dimensions.
2130
2099
  # - If the offset is in the interval (0, 1), the corresponding edge of crop
@@ -2164,40 +2133,20 @@ module Google
2164
2133
  # @return [Float]
2165
2134
  attr_accessor :transparency
2166
2135
 
2167
- # The shadow properties of a page element.
2168
- # If these fields are unset, they may be inherited from a parent placeholder
2169
- # if it exists. If there is no parent, the fields will default to the value
2170
- # used for new page elements created in the Slides editor, which may depend on
2171
- # the page element kind.
2172
- # Corresponds to the JSON property `shadow`
2173
- # @return [Google::Apis::SlidesV1::Shadow]
2174
- attr_accessor :shadow
2175
-
2176
- # A hypertext link.
2177
- # Corresponds to the JSON property `link`
2178
- # @return [Google::Apis::SlidesV1::Link]
2179
- attr_accessor :link
2180
-
2181
- # The contrast effect of the image. The value should be in the interval
2182
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
2183
- # Corresponds to the JSON property `contrast`
2184
- # @return [Float]
2185
- attr_accessor :contrast
2186
-
2187
2136
  def initialize(**args)
2188
2137
  update!(**args)
2189
2138
  end
2190
2139
 
2191
2140
  # Update properties of this object
2192
2141
  def update!(**args)
2142
+ @shadow = args[:shadow] if args.key?(:shadow)
2143
+ @link = args[:link] if args.key?(:link)
2144
+ @contrast = args[:contrast] if args.key?(:contrast)
2193
2145
  @recolor = args[:recolor] if args.key?(:recolor)
2194
2146
  @crop_properties = args[:crop_properties] if args.key?(:crop_properties)
2195
2147
  @outline = args[:outline] if args.key?(:outline)
2196
2148
  @brightness = args[:brightness] if args.key?(:brightness)
2197
2149
  @transparency = args[:transparency] if args.key?(:transparency)
2198
- @shadow = args[:shadow] if args.key?(:shadow)
2199
- @link = args[:link] if args.key?(:link)
2200
- @contrast = args[:contrast] if args.key?(:contrast)
2201
2150
  end
2202
2151
  end
2203
2152
 
@@ -2225,11 +2174,6 @@ module Google
2225
2174
  class Line
2226
2175
  include Google::Apis::Core::Hashable
2227
2176
 
2228
- # The type of the line.
2229
- # Corresponds to the JSON property `lineType`
2230
- # @return [String]
2231
- attr_accessor :line_type
2232
-
2233
2177
  # The properties of the Line.
2234
2178
  # When unset, these fields default to values that match the appearance of
2235
2179
  # new lines created in the Slides editor.
@@ -2237,14 +2181,45 @@ module Google
2237
2181
  # @return [Google::Apis::SlidesV1::LineProperties]
2238
2182
  attr_accessor :line_properties
2239
2183
 
2184
+ # The type of the line.
2185
+ # Corresponds to the JSON property `lineType`
2186
+ # @return [String]
2187
+ attr_accessor :line_type
2188
+
2240
2189
  def initialize(**args)
2241
2190
  update!(**args)
2242
2191
  end
2243
2192
 
2244
2193
  # Update properties of this object
2245
2194
  def update!(**args)
2246
- @line_type = args[:line_type] if args.key?(:line_type)
2247
2195
  @line_properties = args[:line_properties] if args.key?(:line_properties)
2196
+ @line_type = args[:line_type] if args.key?(:line_type)
2197
+ end
2198
+ end
2199
+
2200
+ # Response message from a batch update.
2201
+ class BatchUpdatePresentationResponse
2202
+ include Google::Apis::Core::Hashable
2203
+
2204
+ # The presentation the updates were applied to.
2205
+ # Corresponds to the JSON property `presentationId`
2206
+ # @return [String]
2207
+ attr_accessor :presentation_id
2208
+
2209
+ # The reply of the updates. This maps 1:1 with the updates, although
2210
+ # replies to some requests may be empty.
2211
+ # Corresponds to the JSON property `replies`
2212
+ # @return [Array<Google::Apis::SlidesV1::Response>]
2213
+ attr_accessor :replies
2214
+
2215
+ def initialize(**args)
2216
+ update!(**args)
2217
+ end
2218
+
2219
+ # Update properties of this object
2220
+ def update!(**args)
2221
+ @presentation_id = args[:presentation_id] if args.key?(:presentation_id)
2222
+ @replies = args[:replies] if args.key?(:replies)
2248
2223
  end
2249
2224
  end
2250
2225
 
@@ -2303,32 +2278,6 @@ module Google
2303
2278
  end
2304
2279
  end
2305
2280
 
2306
- # Response message from a batch update.
2307
- class BatchUpdatePresentationResponse
2308
- include Google::Apis::Core::Hashable
2309
-
2310
- # The presentation the updates were applied to.
2311
- # Corresponds to the JSON property `presentationId`
2312
- # @return [String]
2313
- attr_accessor :presentation_id
2314
-
2315
- # The reply of the updates. This maps 1:1 with the updates, although
2316
- # replies to some requests may be empty.
2317
- # Corresponds to the JSON property `replies`
2318
- # @return [Array<Google::Apis::SlidesV1::Response>]
2319
- attr_accessor :replies
2320
-
2321
- def initialize(**args)
2322
- update!(**args)
2323
- end
2324
-
2325
- # Update properties of this object
2326
- def update!(**args)
2327
- @presentation_id = args[:presentation_id] if args.key?(:presentation_id)
2328
- @replies = args[:replies] if args.key?(:replies)
2329
- end
2330
- end
2331
-
2332
2281
  # The result of creating an image.
2333
2282
  class CreateImageResponse
2334
2283
  include Google::Apis::Core::Hashable
@@ -2353,11 +2302,6 @@ module Google
2353
2302
  class SlideProperties
2354
2303
  include Google::Apis::Core::Hashable
2355
2304
 
2356
- # A page in a presentation.
2357
- # Corresponds to the JSON property `notesPage`
2358
- # @return [Google::Apis::SlidesV1::Page]
2359
- attr_accessor :notes_page
2360
-
2361
2305
  # The object ID of the layout that this slide is based on.
2362
2306
  # Corresponds to the JSON property `layoutObjectId`
2363
2307
  # @return [String]
@@ -2368,15 +2312,20 @@ module Google
2368
2312
  # @return [String]
2369
2313
  attr_accessor :master_object_id
2370
2314
 
2315
+ # A page in a presentation.
2316
+ # Corresponds to the JSON property `notesPage`
2317
+ # @return [Google::Apis::SlidesV1::Page]
2318
+ attr_accessor :notes_page
2319
+
2371
2320
  def initialize(**args)
2372
2321
  update!(**args)
2373
2322
  end
2374
2323
 
2375
2324
  # Update properties of this object
2376
2325
  def update!(**args)
2377
- @notes_page = args[:notes_page] if args.key?(:notes_page)
2378
2326
  @layout_object_id = args[:layout_object_id] if args.key?(:layout_object_id)
2379
2327
  @master_object_id = args[:master_object_id] if args.key?(:master_object_id)
2328
+ @notes_page = args[:notes_page] if args.key?(:notes_page)
2380
2329
  end
2381
2330
  end
2382
2331
 
@@ -2384,41 +2333,21 @@ module Google
2384
2333
  class Response
2385
2334
  include Google::Apis::Core::Hashable
2386
2335
 
2387
- # The result of creating a shape.
2388
- # Corresponds to the JSON property `createShape`
2389
- # @return [Google::Apis::SlidesV1::CreateShapeResponse]
2390
- attr_accessor :create_shape
2391
-
2392
- # The response of duplicating an object.
2393
- # Corresponds to the JSON property `duplicateObject`
2394
- # @return [Google::Apis::SlidesV1::DuplicateObjectResponse]
2395
- attr_accessor :duplicate_object
2396
-
2397
- # The result of creating a line.
2398
- # Corresponds to the JSON property `createLine`
2399
- # @return [Google::Apis::SlidesV1::CreateLineResponse]
2400
- attr_accessor :create_line
2401
-
2402
- # The result of creating an image.
2403
- # Corresponds to the JSON property `createImage`
2404
- # @return [Google::Apis::SlidesV1::CreateImageResponse]
2405
- attr_accessor :create_image
2406
-
2407
2336
  # The result of creating a video.
2408
2337
  # Corresponds to the JSON property `createVideo`
2409
2338
  # @return [Google::Apis::SlidesV1::CreateVideoResponse]
2410
2339
  attr_accessor :create_video
2411
2340
 
2412
- # The result of replacing shapes with a Google Sheets chart.
2413
- # Corresponds to the JSON property `replaceAllShapesWithSheetsChart`
2414
- # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse]
2415
- attr_accessor :replace_all_shapes_with_sheets_chart
2416
-
2417
2341
  # The result of creating an embedded Google Sheets chart.
2418
2342
  # Corresponds to the JSON property `createSheetsChart`
2419
2343
  # @return [Google::Apis::SlidesV1::CreateSheetsChartResponse]
2420
2344
  attr_accessor :create_sheets_chart
2421
2345
 
2346
+ # The result of replacing shapes with a Google Sheets chart.
2347
+ # Corresponds to the JSON property `replaceAllShapesWithSheetsChart`
2348
+ # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse]
2349
+ attr_accessor :replace_all_shapes_with_sheets_chart
2350
+
2422
2351
  # The result of replacing shapes with an image.
2423
2352
  # Corresponds to the JSON property `replaceAllShapesWithImage`
2424
2353
  # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse]
@@ -2439,42 +2368,74 @@ module Google
2439
2368
  # @return [Google::Apis::SlidesV1::CreateSlideResponse]
2440
2369
  attr_accessor :create_slide
2441
2370
 
2371
+ # The response of duplicating an object.
2372
+ # Corresponds to the JSON property `duplicateObject`
2373
+ # @return [Google::Apis::SlidesV1::DuplicateObjectResponse]
2374
+ attr_accessor :duplicate_object
2375
+
2376
+ # The result of creating a shape.
2377
+ # Corresponds to the JSON property `createShape`
2378
+ # @return [Google::Apis::SlidesV1::CreateShapeResponse]
2379
+ attr_accessor :create_shape
2380
+
2381
+ # The result of creating a line.
2382
+ # Corresponds to the JSON property `createLine`
2383
+ # @return [Google::Apis::SlidesV1::CreateLineResponse]
2384
+ attr_accessor :create_line
2385
+
2386
+ # The result of creating an image.
2387
+ # Corresponds to the JSON property `createImage`
2388
+ # @return [Google::Apis::SlidesV1::CreateImageResponse]
2389
+ attr_accessor :create_image
2390
+
2442
2391
  def initialize(**args)
2443
2392
  update!(**args)
2444
2393
  end
2445
2394
 
2446
2395
  # Update properties of this object
2447
2396
  def update!(**args)
2448
- @create_shape = args[:create_shape] if args.key?(:create_shape)
2449
- @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object)
2450
- @create_line = args[:create_line] if args.key?(:create_line)
2451
- @create_image = args[:create_image] if args.key?(:create_image)
2452
2397
  @create_video = args[:create_video] if args.key?(:create_video)
2453
- @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
2454
2398
  @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart)
2399
+ @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
2455
2400
  @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image)
2456
2401
  @create_table = args[:create_table] if args.key?(:create_table)
2457
2402
  @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
2458
2403
  @create_slide = args[:create_slide] if args.key?(:create_slide)
2404
+ @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object)
2405
+ @create_shape = args[:create_shape] if args.key?(:create_shape)
2406
+ @create_line = args[:create_line] if args.key?(:create_line)
2407
+ @create_image = args[:create_image] if args.key?(:create_image)
2459
2408
  end
2460
2409
  end
2461
2410
 
2462
- # A criteria that matches a specific string of text in a shape or table.
2463
- class SubstringMatchCriteria
2411
+ # A TextElement kind that represents a run of text that all has the same
2412
+ # styling.
2413
+ class TextRun
2464
2414
  include Google::Apis::Core::Hashable
2465
2415
 
2466
- # The text to search for in the shape or table.
2467
- # Corresponds to the JSON property `text`
2416
+ # The text of this run.
2417
+ # Corresponds to the JSON property `content`
2468
2418
  # @return [String]
2469
- attr_accessor :text
2419
+ attr_accessor :content
2470
2420
 
2471
- # Indicates whether the search should respect case:
2472
- # - `True`: the search is case sensitive.
2473
- # - `False`: the search is case insensitive.
2474
- # Corresponds to the JSON property `matchCase`
2475
- # @return [Boolean]
2476
- attr_accessor :match_case
2477
- alias_method :match_case?, :match_case
2421
+ # Represents the styling that can be applied to a TextRun.
2422
+ # If this text is contained in a shape with a parent placeholder, then these
2423
+ # text styles may be
2424
+ # inherited from the parent. Which text styles are inherited depend on the
2425
+ # nesting level of lists:
2426
+ # * A text run in a paragraph that is not in a list will inherit its text style
2427
+ # from the the newline character in the paragraph at the 0 nesting level of
2428
+ # the list inside the parent placeholder.
2429
+ # * A text run in a paragraph that is in a list will inherit its text style
2430
+ # from the newline character in the paragraph at its corresponding nesting
2431
+ # level of the list inside the parent placeholder.
2432
+ # Inherited text styles are represented as unset fields in this message. If
2433
+ # text is contained in a shape without a parent placeholder, unsetting these
2434
+ # fields will revert the style to a value matching the defaults in the Slides
2435
+ # editor.
2436
+ # Corresponds to the JSON property `style`
2437
+ # @return [Google::Apis::SlidesV1::TextStyle]
2438
+ attr_accessor :style
2478
2439
 
2479
2440
  def initialize(**args)
2480
2441
  update!(**args)
@@ -2482,8 +2443,8 @@ module Google
2482
2443
 
2483
2444
  # Update properties of this object
2484
2445
  def update!(**args)
2485
- @text = args[:text] if args.key?(:text)
2486
- @match_case = args[:match_case] if args.key?(:match_case)
2446
+ @content = args[:content] if args.key?(:content)
2447
+ @style = args[:style] if args.key?(:style)
2487
2448
  end
2488
2449
  end
2489
2450
 
@@ -2514,34 +2475,22 @@ module Google
2514
2475
  end
2515
2476
  end
2516
2477
 
2517
- # A TextElement kind that represents a run of text that all has the same
2518
- # styling.
2519
- class TextRun
2478
+ # A criteria that matches a specific string of text in a shape or table.
2479
+ class SubstringMatchCriteria
2520
2480
  include Google::Apis::Core::Hashable
2521
2481
 
2522
- # The text of this run.
2523
- # Corresponds to the JSON property `content`
2482
+ # The text to search for in the shape or table.
2483
+ # Corresponds to the JSON property `text`
2524
2484
  # @return [String]
2525
- attr_accessor :content
2485
+ attr_accessor :text
2526
2486
 
2527
- # Represents the styling that can be applied to a TextRun.
2528
- # If this text is contained in a shape with a parent placeholder, then these
2529
- # text styles may be
2530
- # inherited from the parent. Which text styles are inherited depend on the
2531
- # nesting level of lists:
2532
- # * A text run in a paragraph that is not in a list will inherit its text style
2533
- # from the the newline character in the paragraph at the 0 nesting level of
2534
- # the list inside the parent placeholder.
2535
- # * A text run in a paragraph that is in a list will inherit its text style
2536
- # from the newline character in the paragraph at its corresponding nesting
2537
- # level of the list inside the parent placeholder.
2538
- # Inherited text styles are represented as unset fields in this message. If
2539
- # text is contained in a shape without a parent placeholder, unsetting these
2540
- # fields will revert the style to a value matching the defaults in the Slides
2541
- # editor.
2542
- # Corresponds to the JSON property `style`
2543
- # @return [Google::Apis::SlidesV1::TextStyle]
2544
- attr_accessor :style
2487
+ # Indicates whether the search should respect case:
2488
+ # - `True`: the search is case sensitive.
2489
+ # - `False`: the search is case insensitive.
2490
+ # Corresponds to the JSON property `matchCase`
2491
+ # @return [Boolean]
2492
+ attr_accessor :match_case
2493
+ alias_method :match_case?, :match_case
2545
2494
 
2546
2495
  def initialize(**args)
2547
2496
  update!(**args)
@@ -2549,8 +2498,8 @@ module Google
2549
2498
 
2550
2499
  # Update properties of this object
2551
2500
  def update!(**args)
2552
- @content = args[:content] if args.key?(:content)
2553
- @style = args[:style] if args.key?(:style)
2501
+ @text = args[:text] if args.key?(:text)
2502
+ @match_case = args[:match_case] if args.key?(:match_case)
2554
2503
  end
2555
2504
  end
2556
2505
 
@@ -2595,10 +2544,34 @@ module Google
2595
2544
  end
2596
2545
  end
2597
2546
 
2547
+ # The result of creating a table.
2548
+ class CreateTableResponse
2549
+ include Google::Apis::Core::Hashable
2550
+
2551
+ # The object ID of the created table.
2552
+ # Corresponds to the JSON property `objectId`
2553
+ # @return [String]
2554
+ attr_accessor :object_id_prop
2555
+
2556
+ def initialize(**args)
2557
+ update!(**args)
2558
+ end
2559
+
2560
+ # Update properties of this object
2561
+ def update!(**args)
2562
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
2563
+ end
2564
+ end
2565
+
2598
2566
  # Creates a new table.
2599
2567
  class CreateTableRequest
2600
2568
  include Google::Apis::Core::Hashable
2601
2569
 
2570
+ # Number of rows in the table.
2571
+ # Corresponds to the JSON property `rows`
2572
+ # @return [Fixnum]
2573
+ attr_accessor :rows
2574
+
2602
2575
  # A user-supplied object ID.
2603
2576
  # If you specify an ID, it must be unique among all pages and page elements
2604
2577
  # in the presentation. The ID must start with an alphanumeric character or an
@@ -2625,40 +2598,16 @@ module Google
2625
2598
  # @return [Google::Apis::SlidesV1::PageElementProperties]
2626
2599
  attr_accessor :element_properties
2627
2600
 
2628
- # Number of rows in the table.
2629
- # Corresponds to the JSON property `rows`
2630
- # @return [Fixnum]
2631
- attr_accessor :rows
2632
-
2633
2601
  def initialize(**args)
2634
2602
  update!(**args)
2635
2603
  end
2636
2604
 
2637
2605
  # Update properties of this object
2638
2606
  def update!(**args)
2607
+ @rows = args[:rows] if args.key?(:rows)
2639
2608
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
2640
2609
  @columns = args[:columns] if args.key?(:columns)
2641
2610
  @element_properties = args[:element_properties] if args.key?(:element_properties)
2642
- @rows = args[:rows] if args.key?(:rows)
2643
- end
2644
- end
2645
-
2646
- # The result of creating a table.
2647
- class CreateTableResponse
2648
- include Google::Apis::Core::Hashable
2649
-
2650
- # The object ID of the created table.
2651
- # Corresponds to the JSON property `objectId`
2652
- # @return [String]
2653
- attr_accessor :object_id_prop
2654
-
2655
- def initialize(**args)
2656
- update!(**args)
2657
- end
2658
-
2659
- # Update properties of this object
2660
- def update!(**args)
2661
- @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
2662
2611
  end
2663
2612
  end
2664
2613
 
@@ -2707,12 +2656,6 @@ module Google
2707
2656
  class PageBackgroundFill
2708
2657
  include Google::Apis::Core::Hashable
2709
2658
 
2710
- # The stretched picture fill. The page or page element is filled entirely with
2711
- # the specified picture. The picture is stretched to fit its container.
2712
- # Corresponds to the JSON property `stretchedPictureFill`
2713
- # @return [Google::Apis::SlidesV1::StretchedPictureFill]
2714
- attr_accessor :stretched_picture_fill
2715
-
2716
2659
  # A solid color fill. The page or page element is filled entirely with the
2717
2660
  # specified color value.
2718
2661
  # If any field is unset, its value may be inherited from a parent placeholder
@@ -2730,15 +2673,21 @@ module Google
2730
2673
  # @return [String]
2731
2674
  attr_accessor :property_state
2732
2675
 
2676
+ # The stretched picture fill. The page or page element is filled entirely with
2677
+ # the specified picture. The picture is stretched to fit its container.
2678
+ # Corresponds to the JSON property `stretchedPictureFill`
2679
+ # @return [Google::Apis::SlidesV1::StretchedPictureFill]
2680
+ attr_accessor :stretched_picture_fill
2681
+
2733
2682
  def initialize(**args)
2734
2683
  update!(**args)
2735
2684
  end
2736
2685
 
2737
2686
  # Update properties of this object
2738
2687
  def update!(**args)
2739
- @stretched_picture_fill = args[:stretched_picture_fill] if args.key?(:stretched_picture_fill)
2740
2688
  @solid_fill = args[:solid_fill] if args.key?(:solid_fill)
2741
2689
  @property_state = args[:property_state] if args.key?(:property_state)
2690
+ @stretched_picture_fill = args[:stretched_picture_fill] if args.key?(:stretched_picture_fill)
2742
2691
  end
2743
2692
  end
2744
2693
 
@@ -2820,24 +2769,24 @@ module Google
2820
2769
  class ThemeColorPair
2821
2770
  include Google::Apis::Core::Hashable
2822
2771
 
2823
- # The type of the theme color.
2824
- # Corresponds to the JSON property `type`
2825
- # @return [String]
2826
- attr_accessor :type
2827
-
2828
2772
  # An RGB color.
2829
2773
  # Corresponds to the JSON property `color`
2830
2774
  # @return [Google::Apis::SlidesV1::RgbColor]
2831
2775
  attr_accessor :color
2832
2776
 
2777
+ # The type of the theme color.
2778
+ # Corresponds to the JSON property `type`
2779
+ # @return [String]
2780
+ attr_accessor :type
2781
+
2833
2782
  def initialize(**args)
2834
2783
  update!(**args)
2835
2784
  end
2836
2785
 
2837
2786
  # Update properties of this object
2838
2787
  def update!(**args)
2839
- @type = args[:type] if args.key?(:type)
2840
2788
  @color = args[:color] if args.key?(:color)
2789
+ @type = args[:type] if args.key?(:type)
2841
2790
  end
2842
2791
  end
2843
2792
 
@@ -2962,17 +2911,6 @@ module Google
2962
2911
  class UpdateTextStyleRequest
2963
2912
  include Google::Apis::Core::Hashable
2964
2913
 
2965
- # The fields that should be updated.
2966
- # At least one field must be specified. The root `style` is implied and
2967
- # should not be specified. A single `"*"` can be used as short-hand for
2968
- # listing every field.
2969
- # For example to update the text style to bold, set `fields` to `"bold"`.
2970
- # To reset a property to its default value,
2971
- # include its field name in the field mask but leave the field itself unset.
2972
- # Corresponds to the JSON property `fields`
2973
- # @return [String]
2974
- attr_accessor :fields
2975
-
2976
2914
  # The object ID of the shape or table with the text to be styled.
2977
2915
  # Corresponds to the JSON property `objectId`
2978
2916
  # @return [String]
@@ -3008,17 +2946,28 @@ module Google
3008
2946
  # @return [Google::Apis::SlidesV1::TextStyle]
3009
2947
  attr_accessor :style
3010
2948
 
2949
+ # The fields that should be updated.
2950
+ # At least one field must be specified. The root `style` is implied and
2951
+ # should not be specified. A single `"*"` can be used as short-hand for
2952
+ # listing every field.
2953
+ # For example, to update the text style to bold, set `fields` to `"bold"`.
2954
+ # To reset a property to its default value, include its field name in the
2955
+ # field mask but leave the field itself unset.
2956
+ # Corresponds to the JSON property `fields`
2957
+ # @return [String]
2958
+ attr_accessor :fields
2959
+
3011
2960
  def initialize(**args)
3012
2961
  update!(**args)
3013
2962
  end
3014
2963
 
3015
2964
  # Update properties of this object
3016
2965
  def update!(**args)
3017
- @fields = args[:fields] if args.key?(:fields)
3018
2966
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
3019
2967
  @text_range = args[:text_range] if args.key?(:text_range)
3020
2968
  @cell_location = args[:cell_location] if args.key?(:cell_location)
3021
2969
  @style = args[:style] if args.key?(:style)
2970
+ @fields = args[:fields] if args.key?(:fields)
3022
2971
  end
3023
2972
  end
3024
2973
 
@@ -3026,24 +2975,24 @@ module Google
3026
2975
  class DeleteTableColumnRequest
3027
2976
  include Google::Apis::Core::Hashable
3028
2977
 
3029
- # The table to delete columns from.
3030
- # Corresponds to the JSON property `tableObjectId`
3031
- # @return [String]
3032
- attr_accessor :table_object_id
3033
-
3034
2978
  # A location of a single table cell within a table.
3035
2979
  # Corresponds to the JSON property `cellLocation`
3036
2980
  # @return [Google::Apis::SlidesV1::TableCellLocation]
3037
2981
  attr_accessor :cell_location
3038
2982
 
2983
+ # The table to delete columns from.
2984
+ # Corresponds to the JSON property `tableObjectId`
2985
+ # @return [String]
2986
+ attr_accessor :table_object_id
2987
+
3039
2988
  def initialize(**args)
3040
2989
  update!(**args)
3041
2990
  end
3042
2991
 
3043
2992
  # Update properties of this object
3044
2993
  def update!(**args)
3045
- @table_object_id = args[:table_object_id] if args.key?(:table_object_id)
3046
2994
  @cell_location = args[:cell_location] if args.key?(:cell_location)
2995
+ @table_object_id = args[:table_object_id] if args.key?(:table_object_id)
3047
2996
  end
3048
2997
  end
3049
2998
 
@@ -3053,11 +3002,6 @@ module Google
3053
3002
  class List
3054
3003
  include Google::Apis::Core::Hashable
3055
3004
 
3056
- # The ID of the list.
3057
- # Corresponds to the JSON property `listId`
3058
- # @return [String]
3059
- attr_accessor :list_id
3060
-
3061
3005
  # A map of nesting levels to the properties of bullets at the associated
3062
3006
  # level. A list has at most nine levels of nesting, so the possible values
3063
3007
  # for the keys of this map are 0 through 8, inclusive.
@@ -3065,14 +3009,19 @@ module Google
3065
3009
  # @return [Hash<String,Google::Apis::SlidesV1::NestingLevel>]
3066
3010
  attr_accessor :nesting_level
3067
3011
 
3012
+ # The ID of the list.
3013
+ # Corresponds to the JSON property `listId`
3014
+ # @return [String]
3015
+ attr_accessor :list_id
3016
+
3068
3017
  def initialize(**args)
3069
3018
  update!(**args)
3070
3019
  end
3071
3020
 
3072
3021
  # Update properties of this object
3073
3022
  def update!(**args)
3074
- @list_id = args[:list_id] if args.key?(:list_id)
3075
3023
  @nesting_level = args[:nesting_level] if args.key?(:nesting_level)
3024
+ @list_id = args[:list_id] if args.key?(:list_id)
3076
3025
  end
3077
3026
  end
3078
3027
 
@@ -3080,18 +3029,6 @@ module Google
3080
3029
  class PageElement
3081
3030
  include Google::Apis::Core::Hashable
3082
3031
 
3083
- # A PageElement kind representing a
3084
- # joined collection of PageElements.
3085
- # Corresponds to the JSON property `elementGroup`
3086
- # @return [Google::Apis::SlidesV1::Group]
3087
- attr_accessor :element_group
3088
-
3089
- # A PageElement kind representing an
3090
- # image.
3091
- # Corresponds to the JSON property `image`
3092
- # @return [Google::Apis::SlidesV1::Image]
3093
- attr_accessor :image
3094
-
3095
3032
  # A width and height.
3096
3033
  # Corresponds to the JSON property `size`
3097
3034
  # @return [Google::Apis::SlidesV1::Size]
@@ -3165,14 +3102,24 @@ module Google
3165
3102
  # @return [String]
3166
3103
  attr_accessor :description
3167
3104
 
3105
+ # A PageElement kind representing a
3106
+ # joined collection of PageElements.
3107
+ # Corresponds to the JSON property `elementGroup`
3108
+ # @return [Google::Apis::SlidesV1::Group]
3109
+ attr_accessor :element_group
3110
+
3111
+ # A PageElement kind representing an
3112
+ # image.
3113
+ # Corresponds to the JSON property `image`
3114
+ # @return [Google::Apis::SlidesV1::Image]
3115
+ attr_accessor :image
3116
+
3168
3117
  def initialize(**args)
3169
3118
  update!(**args)
3170
3119
  end
3171
3120
 
3172
3121
  # Update properties of this object
3173
3122
  def update!(**args)
3174
- @element_group = args[:element_group] if args.key?(:element_group)
3175
- @image = args[:image] if args.key?(:image)
3176
3123
  @size = args[:size] if args.key?(:size)
3177
3124
  @title = args[:title] if args.key?(:title)
3178
3125
  @sheets_chart = args[:sheets_chart] if args.key?(:sheets_chart)
@@ -3184,6 +3131,8 @@ module Google
3184
3131
  @shape = args[:shape] if args.key?(:shape)
3185
3132
  @line = args[:line] if args.key?(:line)
3186
3133
  @description = args[:description] if args.key?(:description)
3134
+ @element_group = args[:element_group] if args.key?(:element_group)
3135
+ @image = args[:image] if args.key?(:image)
3187
3136
  end
3188
3137
  end
3189
3138
 
@@ -3245,17 +3194,6 @@ module Google
3245
3194
  class CreateParagraphBulletsRequest
3246
3195
  include Google::Apis::Core::Hashable
3247
3196
 
3248
- # The object ID of the shape or table containing the text to add bullets to.
3249
- # Corresponds to the JSON property `objectId`
3250
- # @return [String]
3251
- attr_accessor :object_id_prop
3252
-
3253
- # Specifies a contiguous range of an indexed collection, such as characters in
3254
- # text.
3255
- # Corresponds to the JSON property `textRange`
3256
- # @return [Google::Apis::SlidesV1::Range]
3257
- attr_accessor :text_range
3258
-
3259
3197
  # The kinds of bullet glyphs to be used. Defaults to the
3260
3198
  # `BULLET_DISC_CIRCLE_SQUARE` preset.
3261
3199
  # Corresponds to the JSON property `bulletPreset`
@@ -3267,32 +3205,16 @@ module Google
3267
3205
  # @return [Google::Apis::SlidesV1::TableCellLocation]
3268
3206
  attr_accessor :cell_location
3269
3207
 
3270
- def initialize(**args)
3271
- update!(**args)
3272
- end
3273
-
3274
- # Update properties of this object
3275
- def update!(**args)
3276
- @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
3277
- @text_range = args[:text_range] if args.key?(:text_range)
3278
- @bullet_preset = args[:bullet_preset] if args.key?(:bullet_preset)
3279
- @cell_location = args[:cell_location] if args.key?(:cell_location)
3280
- end
3281
- end
3282
-
3283
- # A width and height.
3284
- class Size
3285
- include Google::Apis::Core::Hashable
3286
-
3287
- # A magnitude in a single direction in the specified units.
3288
- # Corresponds to the JSON property `width`
3289
- # @return [Google::Apis::SlidesV1::Dimension]
3290
- attr_accessor :width
3208
+ # The object ID of the shape or table containing the text to add bullets to.
3209
+ # Corresponds to the JSON property `objectId`
3210
+ # @return [String]
3211
+ attr_accessor :object_id_prop
3291
3212
 
3292
- # A magnitude in a single direction in the specified units.
3293
- # Corresponds to the JSON property `height`
3294
- # @return [Google::Apis::SlidesV1::Dimension]
3295
- attr_accessor :height
3213
+ # Specifies a contiguous range of an indexed collection, such as characters in
3214
+ # text.
3215
+ # Corresponds to the JSON property `textRange`
3216
+ # @return [Google::Apis::SlidesV1::Range]
3217
+ attr_accessor :text_range
3296
3218
 
3297
3219
  def initialize(**args)
3298
3220
  update!(**args)
@@ -3300,8 +3222,10 @@ module Google
3300
3222
 
3301
3223
  # Update properties of this object
3302
3224
  def update!(**args)
3303
- @width = args[:width] if args.key?(:width)
3304
- @height = args[:height] if args.key?(:height)
3225
+ @bullet_preset = args[:bullet_preset] if args.key?(:bullet_preset)
3226
+ @cell_location = args[:cell_location] if args.key?(:cell_location)
3227
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
3228
+ @text_range = args[:text_range] if args.key?(:text_range)
3305
3229
  end
3306
3230
  end
3307
3231
 
@@ -3323,17 +3247,6 @@ module Google
3323
3247
  class TextStyle
3324
3248
  include Google::Apis::Core::Hashable
3325
3249
 
3326
- # A magnitude in a single direction in the specified units.
3327
- # Corresponds to the JSON property `fontSize`
3328
- # @return [Google::Apis::SlidesV1::Dimension]
3329
- attr_accessor :font_size
3330
-
3331
- # Whether or not the text is in small capital letters.
3332
- # Corresponds to the JSON property `smallCaps`
3333
- # @return [Boolean]
3334
- attr_accessor :small_caps
3335
- alias_method :small_caps?, :small_caps
3336
-
3337
3250
  # The text's vertical offset from its normal position.
3338
3251
  # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
3339
3252
  # rendered in a smaller font size, computed based on the `font_size` field.
@@ -3347,28 +3260,28 @@ module Google
3347
3260
  # @return [Google::Apis::SlidesV1::OptionalColor]
3348
3261
  attr_accessor :background_color
3349
3262
 
3263
+ # A hypertext link.
3264
+ # Corresponds to the JSON property `link`
3265
+ # @return [Google::Apis::SlidesV1::Link]
3266
+ attr_accessor :link
3267
+
3350
3268
  # Whether or not the text is underlined.
3351
3269
  # Corresponds to the JSON property `underline`
3352
3270
  # @return [Boolean]
3353
3271
  attr_accessor :underline
3354
3272
  alias_method :underline?, :underline
3355
3273
 
3356
- # A hypertext link.
3357
- # Corresponds to the JSON property `link`
3358
- # @return [Google::Apis::SlidesV1::Link]
3359
- attr_accessor :link
3274
+ # Whether or not the text is rendered as bold.
3275
+ # Corresponds to the JSON property `bold`
3276
+ # @return [Boolean]
3277
+ attr_accessor :bold
3278
+ alias_method :bold?, :bold
3360
3279
 
3361
3280
  # A color that can either be fully opaque or fully transparent.
3362
3281
  # Corresponds to the JSON property `foregroundColor`
3363
3282
  # @return [Google::Apis::SlidesV1::OptionalColor]
3364
3283
  attr_accessor :foreground_color
3365
3284
 
3366
- # Whether or not the text is bold.
3367
- # Corresponds to the JSON property `bold`
3368
- # @return [Boolean]
3369
- attr_accessor :bold
3370
- alias_method :bold?, :bold
3371
-
3372
3285
  # The font family of the text.
3373
3286
  # The font family can be any font from the Font menu in Slides or from
3374
3287
  # [Google Fonts] (https://fonts.google.com/). If the font name is
@@ -3392,23 +3305,59 @@ module Google
3392
3305
  attr_accessor :italic
3393
3306
  alias_method :italic?, :italic
3394
3307
 
3308
+ # A magnitude in a single direction in the specified units.
3309
+ # Corresponds to the JSON property `fontSize`
3310
+ # @return [Google::Apis::SlidesV1::Dimension]
3311
+ attr_accessor :font_size
3312
+
3313
+ # Whether or not the text is in small capital letters.
3314
+ # Corresponds to the JSON property `smallCaps`
3315
+ # @return [Boolean]
3316
+ attr_accessor :small_caps
3317
+ alias_method :small_caps?, :small_caps
3318
+
3395
3319
  def initialize(**args)
3396
3320
  update!(**args)
3397
3321
  end
3398
3322
 
3399
3323
  # Update properties of this object
3400
3324
  def update!(**args)
3401
- @font_size = args[:font_size] if args.key?(:font_size)
3402
- @small_caps = args[:small_caps] if args.key?(:small_caps)
3403
3325
  @baseline_offset = args[:baseline_offset] if args.key?(:baseline_offset)
3404
3326
  @background_color = args[:background_color] if args.key?(:background_color)
3405
- @underline = args[:underline] if args.key?(:underline)
3406
3327
  @link = args[:link] if args.key?(:link)
3407
- @foreground_color = args[:foreground_color] if args.key?(:foreground_color)
3328
+ @underline = args[:underline] if args.key?(:underline)
3408
3329
  @bold = args[:bold] if args.key?(:bold)
3330
+ @foreground_color = args[:foreground_color] if args.key?(:foreground_color)
3409
3331
  @font_family = args[:font_family] if args.key?(:font_family)
3410
3332
  @strikethrough = args[:strikethrough] if args.key?(:strikethrough)
3411
3333
  @italic = args[:italic] if args.key?(:italic)
3334
+ @font_size = args[:font_size] if args.key?(:font_size)
3335
+ @small_caps = args[:small_caps] if args.key?(:small_caps)
3336
+ end
3337
+ end
3338
+
3339
+ # A width and height.
3340
+ class Size
3341
+ include Google::Apis::Core::Hashable
3342
+
3343
+ # A magnitude in a single direction in the specified units.
3344
+ # Corresponds to the JSON property `height`
3345
+ # @return [Google::Apis::SlidesV1::Dimension]
3346
+ attr_accessor :height
3347
+
3348
+ # A magnitude in a single direction in the specified units.
3349
+ # Corresponds to the JSON property `width`
3350
+ # @return [Google::Apis::SlidesV1::Dimension]
3351
+ attr_accessor :width
3352
+
3353
+ def initialize(**args)
3354
+ update!(**args)
3355
+ end
3356
+
3357
+ # Update properties of this object
3358
+ def update!(**args)
3359
+ @height = args[:height] if args.key?(:height)
3360
+ @width = args[:width] if args.key?(:width)
3412
3361
  end
3413
3362
  end
3414
3363
 
@@ -3416,11 +3365,6 @@ module Google
3416
3365
  class UpdateVideoPropertiesRequest
3417
3366
  include Google::Apis::Core::Hashable
3418
3367
 
3419
- # The object ID of the video the updates are applied to.
3420
- # Corresponds to the JSON property `objectId`
3421
- # @return [String]
3422
- attr_accessor :object_id_prop
3423
-
3424
3368
  # The properties of the Video.
3425
3369
  # Corresponds to the JSON property `videoProperties`
3426
3370
  # @return [Google::Apis::SlidesV1::VideoProperties]
@@ -3438,15 +3382,20 @@ module Google
3438
3382
  # @return [String]
3439
3383
  attr_accessor :fields
3440
3384
 
3385
+ # The object ID of the video the updates are applied to.
3386
+ # Corresponds to the JSON property `objectId`
3387
+ # @return [String]
3388
+ attr_accessor :object_id_prop
3389
+
3441
3390
  def initialize(**args)
3442
3391
  update!(**args)
3443
3392
  end
3444
3393
 
3445
3394
  # Update properties of this object
3446
3395
  def update!(**args)
3447
- @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
3448
3396
  @video_properties = args[:video_properties] if args.key?(:video_properties)
3449
3397
  @fields = args[:fields] if args.key?(:fields)
3398
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
3450
3399
  end
3451
3400
  end
3452
3401
 
@@ -3469,16 +3418,16 @@ module Google
3469
3418
  # @return [Google::Apis::SlidesV1::UpdateImagePropertiesRequest]
3470
3419
  attr_accessor :update_image_properties
3471
3420
 
3472
- # Creates a new slide.
3473
- # Corresponds to the JSON property `createSlide`
3474
- # @return [Google::Apis::SlidesV1::CreateSlideRequest]
3475
- attr_accessor :create_slide
3476
-
3477
3421
  # Inserts rows into a table.
3478
3422
  # Corresponds to the JSON property `insertTableRows`
3479
3423
  # @return [Google::Apis::SlidesV1::InsertTableRowsRequest]
3480
3424
  attr_accessor :insert_table_rows
3481
3425
 
3426
+ # Creates a new slide.
3427
+ # Corresponds to the JSON property `createSlide`
3428
+ # @return [Google::Apis::SlidesV1::CreateSlideRequest]
3429
+ attr_accessor :create_slide
3430
+
3482
3431
  # Updates the properties of a Line.
3483
3432
  # Corresponds to the JSON property `updateLineProperties`
3484
3433
  # @return [Google::Apis::SlidesV1::UpdateLinePropertiesRequest]
@@ -3519,6 +3468,14 @@ module Google
3519
3468
  # @return [Google::Apis::SlidesV1::CreateShapeRequest]
3520
3469
  attr_accessor :create_shape
3521
3470
 
3471
+ # Deletes bullets from all of the paragraphs that overlap with the given text
3472
+ # index range.
3473
+ # The nesting level of each paragraph will be visually preserved by adding
3474
+ # indent to the start of the corresponding paragraph.
3475
+ # Corresponds to the JSON property `deleteParagraphBullets`
3476
+ # @return [Google::Apis::SlidesV1::DeleteParagraphBulletsRequest]
3477
+ attr_accessor :delete_paragraph_bullets
3478
+
3522
3479
  # Inserts columns into a table.
3523
3480
  # Other columns in the table will be resized to fit the new column.
3524
3481
  # Corresponds to the JSON property `insertTableColumns`
@@ -3533,16 +3490,16 @@ module Google
3533
3490
  # @return [Google::Apis::SlidesV1::RefreshSheetsChartRequest]
3534
3491
  attr_accessor :refresh_sheets_chart
3535
3492
 
3536
- # Creates a new table.
3537
- # Corresponds to the JSON property `createTable`
3538
- # @return [Google::Apis::SlidesV1::CreateTableRequest]
3539
- attr_accessor :create_table
3540
-
3541
3493
  # Update the properties of a TableCell.
3542
3494
  # Corresponds to the JSON property `updateTableCellProperties`
3543
3495
  # @return [Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest]
3544
3496
  attr_accessor :update_table_cell_properties
3545
3497
 
3498
+ # Creates a new table.
3499
+ # Corresponds to the JSON property `createTable`
3500
+ # @return [Google::Apis::SlidesV1::CreateTableRequest]
3501
+ attr_accessor :create_table
3502
+
3546
3503
  # Deletes an object, either pages or
3547
3504
  # page elements, from the
3548
3505
  # presentation.
@@ -3550,10 +3507,11 @@ module Google
3550
3507
  # @return [Google::Apis::SlidesV1::DeleteObjectRequest]
3551
3508
  attr_accessor :delete_object
3552
3509
 
3553
- # Deletes a column from a table.
3554
- # Corresponds to the JSON property `deleteTableColumn`
3555
- # @return [Google::Apis::SlidesV1::DeleteTableColumnRequest]
3556
- attr_accessor :delete_table_column
3510
+ # Updates the styling for all of the paragraphs within a Shape or Table that
3511
+ # overlap with the given text index range.
3512
+ # Corresponds to the JSON property `updateParagraphStyle`
3513
+ # @return [Google::Apis::SlidesV1::UpdateParagraphStyleRequest]
3514
+ attr_accessor :update_paragraph_style
3557
3515
 
3558
3516
  # Duplicates a slide or page element.
3559
3517
  # When duplicating a slide, the duplicate slide will be created immediately
@@ -3563,6 +3521,11 @@ module Google
3563
3521
  # @return [Google::Apis::SlidesV1::DuplicateObjectRequest]
3564
3522
  attr_accessor :duplicate_object
3565
3523
 
3524
+ # Deletes a column from a table.
3525
+ # Corresponds to the JSON property `deleteTableColumn`
3526
+ # @return [Google::Apis::SlidesV1::DeleteTableColumnRequest]
3527
+ attr_accessor :delete_table_column
3528
+
3566
3529
  # Creates a line.
3567
3530
  # Corresponds to the JSON property `createLine`
3568
3531
  # @return [Google::Apis::SlidesV1::CreateLineRequest]
@@ -3596,6 +3559,13 @@ module Google
3596
3559
  # @return [Google::Apis::SlidesV1::CreateVideoRequest]
3597
3560
  attr_accessor :create_video
3598
3561
 
3562
+ # Creates an embedded Google Sheets chart.
3563
+ # NOTE: Chart creation requires at least one of the spreadsheets.readonly,
3564
+ # spreadsheets, drive.readonly, or drive OAuth scopes.
3565
+ # Corresponds to the JSON property `createSheetsChart`
3566
+ # @return [Google::Apis::SlidesV1::CreateSheetsChartRequest]
3567
+ attr_accessor :create_sheets_chart
3568
+
3599
3569
  # Replaces all shapes that match the given criteria with the provided Google
3600
3570
  # Sheets chart. The chart will be scaled and centered to fit within the bounds
3601
3571
  # of the original shape.
@@ -3605,13 +3575,6 @@ module Google
3605
3575
  # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest]
3606
3576
  attr_accessor :replace_all_shapes_with_sheets_chart
3607
3577
 
3608
- # Creates an embedded Google Sheets chart.
3609
- # NOTE: Chart creation requires at least one of the spreadsheets.readonly,
3610
- # spreadsheets, drive.readonly, or drive OAuth scopes.
3611
- # Corresponds to the JSON property `createSheetsChart`
3612
- # @return [Google::Apis::SlidesV1::CreateSheetsChartRequest]
3613
- attr_accessor :create_sheets_chart
3614
-
3615
3578
  # Updates the transform of a page element.
3616
3579
  # Corresponds to the JSON property `updatePageElementTransform`
3617
3580
  # @return [Google::Apis::SlidesV1::UpdatePageElementTransformRequest]
@@ -3632,8 +3595,8 @@ module Google
3632
3595
  @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image)
3633
3596
  @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
3634
3597
  @update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties)
3635
- @create_slide = args[:create_slide] if args.key?(:create_slide)
3636
3598
  @insert_table_rows = args[:insert_table_rows] if args.key?(:insert_table_rows)
3599
+ @create_slide = args[:create_slide] if args.key?(:create_slide)
3637
3600
  @update_line_properties = args[:update_line_properties] if args.key?(:update_line_properties)
3638
3601
  @update_slides_position = args[:update_slides_position] if args.key?(:update_slides_position)
3639
3602
  @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
@@ -3642,20 +3605,22 @@ module Google
3642
3605
  @delete_text = args[:delete_text] if args.key?(:delete_text)
3643
3606
  @update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties)
3644
3607
  @create_shape = args[:create_shape] if args.key?(:create_shape)
3608
+ @delete_paragraph_bullets = args[:delete_paragraph_bullets] if args.key?(:delete_paragraph_bullets)
3645
3609
  @insert_table_columns = args[:insert_table_columns] if args.key?(:insert_table_columns)
3646
3610
  @refresh_sheets_chart = args[:refresh_sheets_chart] if args.key?(:refresh_sheets_chart)
3647
- @create_table = args[:create_table] if args.key?(:create_table)
3648
3611
  @update_table_cell_properties = args[:update_table_cell_properties] if args.key?(:update_table_cell_properties)
3612
+ @create_table = args[:create_table] if args.key?(:create_table)
3649
3613
  @delete_object = args[:delete_object] if args.key?(:delete_object)
3650
- @delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column)
3614
+ @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
3651
3615
  @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object)
3616
+ @delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column)
3652
3617
  @create_line = args[:create_line] if args.key?(:create_line)
3653
3618
  @update_video_properties = args[:update_video_properties] if args.key?(:update_video_properties)
3654
3619
  @create_image = args[:create_image] if args.key?(:create_image)
3655
3620
  @create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets)
3656
3621
  @create_video = args[:create_video] if args.key?(:create_video)
3657
- @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
3658
3622
  @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart)
3623
+ @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
3659
3624
  @update_page_element_transform = args[:update_page_element_transform] if args.key?(:update_page_element_transform)
3660
3625
  @update_text_style = args[:update_text_style] if args.key?(:update_text_style)
3661
3626
  end
@@ -3713,7 +3678,7 @@ module Google
3713
3678
  class ParagraphStyle
3714
3679
  include Google::Apis::Core::Hashable
3715
3680
 
3716
- # The spacing mode for the paragraph. This property is read-only.
3681
+ # The spacing mode for the paragraph.
3717
3682
  # Corresponds to the JSON property `spacingMode`
3718
3683
  # @return [String]
3719
3684
  attr_accessor :spacing_mode
@@ -3733,14 +3698,13 @@ module Google
3733
3698
  # @return [Google::Apis::SlidesV1::Dimension]
3734
3699
  attr_accessor :space_above
3735
3700
 
3736
- # The text alignment for this paragraph. This property is read-only.
3701
+ # The text alignment for this paragraph.
3737
3702
  # Corresponds to the JSON property `alignment`
3738
3703
  # @return [String]
3739
3704
  attr_accessor :alignment
3740
3705
 
3741
3706
  # The amount of space between lines, as a percentage of normal, where normal
3742
3707
  # is represented as 100.0. If unset, the value is inherited from the parent.
3743
- # This property is read-only.
3744
3708
  # Corresponds to the JSON property `lineSpacing`
3745
3709
  # @return [Float]
3746
3710
  attr_accessor :line_spacing
@@ -3755,7 +3719,9 @@ module Google
3755
3719
  # @return [Google::Apis::SlidesV1::Dimension]
3756
3720
  attr_accessor :space_below
3757
3721
 
3758
- # The text direction of this paragraph. This property is read-only.
3722
+ # The text direction of this paragraph. If unset, the value defaults to
3723
+ # LEFT_TO_RIGHT
3724
+ # since text direction is not inherited.
3759
3725
  # Corresponds to the JSON property `direction`
3760
3726
  # @return [String]
3761
3727
  attr_accessor :direction
@@ -3816,28 +3782,6 @@ module Google
3816
3782
  end
3817
3783
  end
3818
3784
 
3819
- # Refreshes an embedded Google Sheets chart by replacing it with the latest
3820
- # version of the chart from Google Sheets.
3821
- # NOTE: Refreshing charts requires at least one of the spreadsheets.readonly,
3822
- # spreadsheets, drive.readonly, or drive OAuth scopes.
3823
- class RefreshSheetsChartRequest
3824
- include Google::Apis::Core::Hashable
3825
-
3826
- # The object ID of the chart to refresh.
3827
- # Corresponds to the JSON property `objectId`
3828
- # @return [String]
3829
- attr_accessor :object_id_prop
3830
-
3831
- def initialize(**args)
3832
- update!(**args)
3833
- end
3834
-
3835
- # Update properties of this object
3836
- def update!(**args)
3837
- @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
3838
- end
3839
- end
3840
-
3841
3785
  # The outline of a PageElement.
3842
3786
  # If these fields are unset, they may be inherited from a parent placeholder
3843
3787
  # if it exists. If there is no parent, the fields will default to the value
@@ -3884,6 +3828,28 @@ module Google
3884
3828
  end
3885
3829
  end
3886
3830
 
3831
+ # Refreshes an embedded Google Sheets chart by replacing it with the latest
3832
+ # version of the chart from Google Sheets.
3833
+ # NOTE: Refreshing charts requires at least one of the spreadsheets.readonly,
3834
+ # spreadsheets, drive.readonly, or drive OAuth scopes.
3835
+ class RefreshSheetsChartRequest
3836
+ include Google::Apis::Core::Hashable
3837
+
3838
+ # The object ID of the chart to refresh.
3839
+ # Corresponds to the JSON property `objectId`
3840
+ # @return [String]
3841
+ attr_accessor :object_id_prop
3842
+
3843
+ def initialize(**args)
3844
+ update!(**args)
3845
+ end
3846
+
3847
+ # Update properties of this object
3848
+ def update!(**args)
3849
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
3850
+ end
3851
+ end
3852
+
3887
3853
  # The properties of Page that are only
3888
3854
  # relevant for pages with page_type NOTES.
3889
3855
  class NotesProperties
@@ -3918,6 +3884,11 @@ module Google
3918
3884
  class ShapeProperties
3919
3885
  include Google::Apis::Core::Hashable
3920
3886
 
3887
+ # A hypertext link.
3888
+ # Corresponds to the JSON property `link`
3889
+ # @return [Google::Apis::SlidesV1::Link]
3890
+ attr_accessor :link
3891
+
3921
3892
  # The outline of a PageElement.
3922
3893
  # If these fields are unset, they may be inherited from a parent placeholder
3923
3894
  # if it exists. If there is no parent, the fields will default to the value
@@ -3941,21 +3912,16 @@ module Google
3941
3912
  # @return [Google::Apis::SlidesV1::Shadow]
3942
3913
  attr_accessor :shadow
3943
3914
 
3944
- # A hypertext link.
3945
- # Corresponds to the JSON property `link`
3946
- # @return [Google::Apis::SlidesV1::Link]
3947
- attr_accessor :link
3948
-
3949
3915
  def initialize(**args)
3950
3916
  update!(**args)
3951
3917
  end
3952
3918
 
3953
3919
  # Update properties of this object
3954
3920
  def update!(**args)
3921
+ @link = args[:link] if args.key?(:link)
3955
3922
  @outline = args[:outline] if args.key?(:outline)
3956
3923
  @shape_background_fill = args[:shape_background_fill] if args.key?(:shape_background_fill)
3957
3924
  @shadow = args[:shadow] if args.key?(:shadow)
3958
- @link = args[:link] if args.key?(:link)
3959
3925
  end
3960
3926
  end
3961
3927
 
@@ -4065,13 +4031,6 @@ module Google
4065
4031
  class CreateSlideRequest
4066
4032
  include Google::Apis::Core::Hashable
4067
4033
 
4068
- # Slide layout reference. This may reference either:
4069
- # - A predefined layout
4070
- # - One of the layouts in the presentation.
4071
- # Corresponds to the JSON property `slideLayoutReference`
4072
- # @return [Google::Apis::SlidesV1::LayoutReference]
4073
- attr_accessor :slide_layout_reference
4074
-
4075
4034
  # A user-supplied object ID.
4076
4035
  # If you specify an ID, it must be unique among all pages and page elements
4077
4036
  # in the presentation. The ID must start with an alphanumeric character or an
@@ -4098,16 +4057,23 @@ module Google
4098
4057
  # @return [Array<Google::Apis::SlidesV1::LayoutPlaceholderIdMapping>]
4099
4058
  attr_accessor :placeholder_id_mappings
4100
4059
 
4060
+ # Slide layout reference. This may reference either:
4061
+ # - A predefined layout
4062
+ # - One of the layouts in the presentation.
4063
+ # Corresponds to the JSON property `slideLayoutReference`
4064
+ # @return [Google::Apis::SlidesV1::LayoutReference]
4065
+ attr_accessor :slide_layout_reference
4066
+
4101
4067
  def initialize(**args)
4102
4068
  update!(**args)
4103
4069
  end
4104
4070
 
4105
4071
  # Update properties of this object
4106
4072
  def update!(**args)
4107
- @slide_layout_reference = args[:slide_layout_reference] if args.key?(:slide_layout_reference)
4108
4073
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
4109
4074
  @insertion_index = args[:insertion_index] if args.key?(:insertion_index)
4110
4075
  @placeholder_id_mappings = args[:placeholder_id_mappings] if args.key?(:placeholder_id_mappings)
4076
+ @slide_layout_reference = args[:slide_layout_reference] if args.key?(:slide_layout_reference)
4111
4077
  end
4112
4078
  end
4113
4079
 
@@ -4135,25 +4101,25 @@ module Google
4135
4101
  class TextContent
4136
4102
  include Google::Apis::Core::Hashable
4137
4103
 
4104
+ # The bulleted lists contained in this text, keyed by list ID.
4105
+ # Corresponds to the JSON property `lists`
4106
+ # @return [Hash<String,Google::Apis::SlidesV1::List>]
4107
+ attr_accessor :lists
4108
+
4138
4109
  # The text contents broken down into its component parts, including styling
4139
4110
  # information. This property is read-only.
4140
4111
  # Corresponds to the JSON property `textElements`
4141
4112
  # @return [Array<Google::Apis::SlidesV1::TextElement>]
4142
4113
  attr_accessor :text_elements
4143
4114
 
4144
- # The bulleted lists contained in this text, keyed by list ID.
4145
- # Corresponds to the JSON property `lists`
4146
- # @return [Hash<String,Google::Apis::SlidesV1::List>]
4147
- attr_accessor :lists
4148
-
4149
4115
  def initialize(**args)
4150
4116
  update!(**args)
4151
4117
  end
4152
4118
 
4153
4119
  # Update properties of this object
4154
4120
  def update!(**args)
4155
- @text_elements = args[:text_elements] if args.key?(:text_elements)
4156
4121
  @lists = args[:lists] if args.key?(:lists)
4122
+ @text_elements = args[:text_elements] if args.key?(:text_elements)
4157
4123
  end
4158
4124
  end
4159
4125
 
@@ -4176,6 +4142,42 @@ module Google
4176
4142
  end
4177
4143
  end
4178
4144
 
4145
+ # Deletes bullets from all of the paragraphs that overlap with the given text
4146
+ # index range.
4147
+ # The nesting level of each paragraph will be visually preserved by adding
4148
+ # indent to the start of the corresponding paragraph.
4149
+ class DeleteParagraphBulletsRequest
4150
+ include Google::Apis::Core::Hashable
4151
+
4152
+ # The object ID of the shape or table containing the text to delete bullets
4153
+ # from.
4154
+ # Corresponds to the JSON property `objectId`
4155
+ # @return [String]
4156
+ attr_accessor :object_id_prop
4157
+
4158
+ # Specifies a contiguous range of an indexed collection, such as characters in
4159
+ # text.
4160
+ # Corresponds to the JSON property `textRange`
4161
+ # @return [Google::Apis::SlidesV1::Range]
4162
+ attr_accessor :text_range
4163
+
4164
+ # A location of a single table cell within a table.
4165
+ # Corresponds to the JSON property `cellLocation`
4166
+ # @return [Google::Apis::SlidesV1::TableCellLocation]
4167
+ attr_accessor :cell_location
4168
+
4169
+ def initialize(**args)
4170
+ update!(**args)
4171
+ end
4172
+
4173
+ # Update properties of this object
4174
+ def update!(**args)
4175
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
4176
+ @text_range = args[:text_range] if args.key?(:text_range)
4177
+ @cell_location = args[:cell_location] if args.key?(:cell_location)
4178
+ end
4179
+ end
4180
+
4179
4181
  # A TextElement kind that represents the beginning of a new paragraph.
4180
4182
  class ParagraphMarker
4181
4183
  include Google::Apis::Core::Hashable
@@ -4210,6 +4212,131 @@ module Google
4210
4212
  @bullet = args[:bullet] if args.key?(:bullet)
4211
4213
  end
4212
4214
  end
4215
+
4216
+ # Inserts columns into a table.
4217
+ # Other columns in the table will be resized to fit the new column.
4218
+ class InsertTableColumnsRequest
4219
+ include Google::Apis::Core::Hashable
4220
+
4221
+ # The number of columns to be inserted. Maximum 20 per request.
4222
+ # Corresponds to the JSON property `number`
4223
+ # @return [Fixnum]
4224
+ attr_accessor :number
4225
+
4226
+ # A location of a single table cell within a table.
4227
+ # Corresponds to the JSON property `cellLocation`
4228
+ # @return [Google::Apis::SlidesV1::TableCellLocation]
4229
+ attr_accessor :cell_location
4230
+
4231
+ # Whether to insert new columns to the right of the reference cell location.
4232
+ # - `True`: insert to the right.
4233
+ # - `False`: insert to the left.
4234
+ # Corresponds to the JSON property `insertRight`
4235
+ # @return [Boolean]
4236
+ attr_accessor :insert_right
4237
+ alias_method :insert_right?, :insert_right
4238
+
4239
+ # The table to insert columns into.
4240
+ # Corresponds to the JSON property `tableObjectId`
4241
+ # @return [String]
4242
+ attr_accessor :table_object_id
4243
+
4244
+ def initialize(**args)
4245
+ update!(**args)
4246
+ end
4247
+
4248
+ # Update properties of this object
4249
+ def update!(**args)
4250
+ @number = args[:number] if args.key?(:number)
4251
+ @cell_location = args[:cell_location] if args.key?(:cell_location)
4252
+ @insert_right = args[:insert_right] if args.key?(:insert_right)
4253
+ @table_object_id = args[:table_object_id] if args.key?(:table_object_id)
4254
+ end
4255
+ end
4256
+
4257
+ # The user-specified ID mapping for a placeholder that will be created on a
4258
+ # slide from a specified layout.
4259
+ class LayoutPlaceholderIdMapping
4260
+ include Google::Apis::Core::Hashable
4261
+
4262
+ # The placeholder information that uniquely identifies a placeholder shape.
4263
+ # Corresponds to the JSON property `layoutPlaceholder`
4264
+ # @return [Google::Apis::SlidesV1::Placeholder]
4265
+ attr_accessor :layout_placeholder
4266
+
4267
+ # The object ID of the placeholder on a layout that will be applied
4268
+ # to a slide.
4269
+ # Corresponds to the JSON property `layoutPlaceholderObjectId`
4270
+ # @return [String]
4271
+ attr_accessor :layout_placeholder_object_id
4272
+
4273
+ # A user-supplied object ID for the placeholder identified above that to be
4274
+ # created onto a slide.
4275
+ # If you specify an ID, it must be unique among all pages and page elements
4276
+ # in the presentation. The ID must start with an alphanumeric character or an
4277
+ # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters
4278
+ # may include those as well as a hyphen or colon (matches regex
4279
+ # `[a-zA-Z0-9_-:]`).
4280
+ # The length of the ID must not be less than 5 or greater than 50.
4281
+ # If you don't specify an ID, a unique one is generated.
4282
+ # Corresponds to the JSON property `objectId`
4283
+ # @return [String]
4284
+ attr_accessor :object_id_prop
4285
+
4286
+ def initialize(**args)
4287
+ update!(**args)
4288
+ end
4289
+
4290
+ # Update properties of this object
4291
+ def update!(**args)
4292
+ @layout_placeholder = args[:layout_placeholder] if args.key?(:layout_placeholder)
4293
+ @layout_placeholder_object_id = args[:layout_placeholder_object_id] if args.key?(:layout_placeholder_object_id)
4294
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
4295
+ end
4296
+ end
4297
+
4298
+ # Update the properties of a Shape.
4299
+ class UpdateShapePropertiesRequest
4300
+ include Google::Apis::Core::Hashable
4301
+
4302
+ # The object ID of the shape the updates are applied to.
4303
+ # Corresponds to the JSON property `objectId`
4304
+ # @return [String]
4305
+ attr_accessor :object_id_prop
4306
+
4307
+ # The properties of a Shape.
4308
+ # If the shape is a placeholder shape as determined by the
4309
+ # placeholder field, then these
4310
+ # properties may be inherited from a parent placeholder shape.
4311
+ # Determining the rendered value of the property depends on the corresponding
4312
+ # property_state field value.
4313
+ # Corresponds to the JSON property `shapeProperties`
4314
+ # @return [Google::Apis::SlidesV1::ShapeProperties]
4315
+ attr_accessor :shape_properties
4316
+
4317
+ # The fields that should be updated.
4318
+ # At least one field must be specified. The root `shapeProperties` is
4319
+ # implied and should not be specified. A single `"*"` can be used as
4320
+ # short-hand for listing every field.
4321
+ # For example to update the shape background solid fill color, set `fields`
4322
+ # to `"shapeBackgroundFill.solidFill.color"`.
4323
+ # To reset a property to its default value, include its field name in the
4324
+ # field mask but leave the field itself unset.
4325
+ # Corresponds to the JSON property `fields`
4326
+ # @return [String]
4327
+ attr_accessor :fields
4328
+
4329
+ def initialize(**args)
4330
+ update!(**args)
4331
+ end
4332
+
4333
+ # Update properties of this object
4334
+ def update!(**args)
4335
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
4336
+ @shape_properties = args[:shape_properties] if args.key?(:shape_properties)
4337
+ @fields = args[:fields] if args.key?(:fields)
4338
+ end
4339
+ end
4213
4340
  end
4214
4341
  end
4215
4342
  end