google-apis-chat_v1 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/chat_v1/classes.rb +1471 -0
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +576 -0
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ChatV1
|
18
18
|
# Version of the google-apis-chat_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210714"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class ActionStatus
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class Annotation
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -76,12 +82,30 @@ module Google
|
|
76
82
|
include Google::Apis::Core::JsonObjectSupport
|
77
83
|
end
|
78
84
|
|
85
|
+
class Color
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
79
91
|
class DeprecatedEvent
|
80
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
93
|
|
82
94
|
include Google::Apis::Core::JsonObjectSupport
|
83
95
|
end
|
84
96
|
|
97
|
+
class Dialog
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class DialogAction
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
85
109
|
class DriveDataRef
|
86
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
111
|
|
@@ -100,6 +124,180 @@ module Google
|
|
100
124
|
include Google::Apis::Core::JsonObjectSupport
|
101
125
|
end
|
102
126
|
|
127
|
+
class GoogleAppsCardV1Action
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GoogleAppsCardV1ActionParameter
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class GoogleAppsCardV1BorderStyle
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class GoogleAppsCardV1Button
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class GoogleAppsCardV1ButtonList
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class GoogleAppsCardV1Card
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class GoogleAppsCardV1CardAction
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class GoogleAppsCardV1CardFixedFooter
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class GoogleAppsCardV1CardHeader
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class GoogleAppsCardV1DateTimePicker
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class GoogleAppsCardV1DecoratedText
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class GoogleAppsCardV1Divider
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class GoogleAppsCardV1Grid
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class GoogleAppsCardV1GridItem
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class GoogleAppsCardV1Icon
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class GoogleAppsCardV1Image
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class GoogleAppsCardV1ImageComponent
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class GoogleAppsCardV1ImageCropStyle
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class GoogleAppsCardV1OnClick
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class GoogleAppsCardV1OpenLink
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class GoogleAppsCardV1Section
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class GoogleAppsCardV1SelectionInput
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class GoogleAppsCardV1SelectionItem
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class GoogleAppsCardV1SuggestionItem
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class GoogleAppsCardV1Suggestions
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class GoogleAppsCardV1SwitchControl
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class GoogleAppsCardV1TextInput
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class GoogleAppsCardV1TextParagraph
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class GoogleAppsCardV1Widget
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
103
301
|
class Image
|
104
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
303
|
|
@@ -231,11 +429,21 @@ module Google
|
|
231
429
|
class ActionResponse
|
232
430
|
# @private
|
233
431
|
class Representation < Google::Apis::Core::JsonRepresentation
|
432
|
+
property :dialog_action, as: 'dialogAction', class: Google::Apis::ChatV1::DialogAction, decorator: Google::Apis::ChatV1::DialogAction::Representation
|
433
|
+
|
234
434
|
property :type, as: 'type'
|
235
435
|
property :url, as: 'url'
|
236
436
|
end
|
237
437
|
end
|
238
438
|
|
439
|
+
class ActionStatus
|
440
|
+
# @private
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
property :status_code, as: 'statusCode'
|
443
|
+
property :user_facing_message, as: 'userFacingMessage'
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
239
447
|
class Annotation
|
240
448
|
# @private
|
241
449
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -314,6 +522,16 @@ module Google
|
|
314
522
|
end
|
315
523
|
end
|
316
524
|
|
525
|
+
class Color
|
526
|
+
# @private
|
527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
+
property :alpha, as: 'alpha'
|
529
|
+
property :blue, as: 'blue'
|
530
|
+
property :green, as: 'green'
|
531
|
+
property :red, as: 'red'
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
317
535
|
class DeprecatedEvent
|
318
536
|
# @private
|
319
537
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -333,6 +551,24 @@ module Google
|
|
333
551
|
end
|
334
552
|
end
|
335
553
|
|
554
|
+
class Dialog
|
555
|
+
# @private
|
556
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
557
|
+
property :body, as: 'body', class: Google::Apis::ChatV1::GoogleAppsCardV1Card, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Card::Representation
|
558
|
+
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
class DialogAction
|
563
|
+
# @private
|
564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
565
|
+
property :action_status, as: 'actionStatus', class: Google::Apis::ChatV1::ActionStatus, decorator: Google::Apis::ChatV1::ActionStatus::Representation
|
566
|
+
|
567
|
+
property :dialog, as: 'dialog', class: Google::Apis::ChatV1::Dialog, decorator: Google::Apis::ChatV1::Dialog::Representation
|
568
|
+
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
336
572
|
class DriveDataRef
|
337
573
|
# @private
|
338
574
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -355,6 +591,346 @@ module Google
|
|
355
591
|
end
|
356
592
|
end
|
357
593
|
|
594
|
+
class GoogleAppsCardV1Action
|
595
|
+
# @private
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
597
|
+
property :function, as: 'function'
|
598
|
+
property :load_indicator, as: 'loadIndicator'
|
599
|
+
collection :parameters, as: 'parameters', class: Google::Apis::ChatV1::GoogleAppsCardV1ActionParameter, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ActionParameter::Representation
|
600
|
+
|
601
|
+
property :persist_values, as: 'persistValues'
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
class GoogleAppsCardV1ActionParameter
|
606
|
+
# @private
|
607
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
608
|
+
property :key, as: 'key'
|
609
|
+
property :value, as: 'value'
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
613
|
+
class GoogleAppsCardV1BorderStyle
|
614
|
+
# @private
|
615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
616
|
+
property :corner_radius, as: 'cornerRadius'
|
617
|
+
property :stroke_color, as: 'strokeColor', class: Google::Apis::ChatV1::Color, decorator: Google::Apis::ChatV1::Color::Representation
|
618
|
+
|
619
|
+
property :type, as: 'type'
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
623
|
+
class GoogleAppsCardV1Button
|
624
|
+
# @private
|
625
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
626
|
+
property :alt_text, as: 'altText'
|
627
|
+
property :color, as: 'color', class: Google::Apis::ChatV1::Color, decorator: Google::Apis::ChatV1::Color::Representation
|
628
|
+
|
629
|
+
property :disabled, as: 'disabled'
|
630
|
+
property :icon, as: 'icon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
|
631
|
+
|
632
|
+
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
633
|
+
|
634
|
+
property :text, as: 'text'
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
638
|
+
class GoogleAppsCardV1ButtonList
|
639
|
+
# @private
|
640
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
641
|
+
collection :buttons, as: 'buttons', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
|
642
|
+
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
646
|
+
class GoogleAppsCardV1Card
|
647
|
+
# @private
|
648
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
649
|
+
collection :card_actions, as: 'cardActions', class: Google::Apis::ChatV1::GoogleAppsCardV1CardAction, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardAction::Representation
|
650
|
+
|
651
|
+
property :display_style, as: 'displayStyle'
|
652
|
+
property :fixed_footer, as: 'fixedFooter', class: Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter::Representation
|
653
|
+
|
654
|
+
property :header, as: 'header', class: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader::Representation
|
655
|
+
|
656
|
+
property :name, as: 'name'
|
657
|
+
property :peek_card_header, as: 'peekCardHeader', class: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader::Representation
|
658
|
+
|
659
|
+
collection :sections, as: 'sections', class: Google::Apis::ChatV1::GoogleAppsCardV1Section, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Section::Representation
|
660
|
+
|
661
|
+
end
|
662
|
+
end
|
663
|
+
|
664
|
+
class GoogleAppsCardV1CardAction
|
665
|
+
# @private
|
666
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
667
|
+
property :action_label, as: 'actionLabel'
|
668
|
+
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
669
|
+
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
673
|
+
class GoogleAppsCardV1CardFixedFooter
|
674
|
+
# @private
|
675
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
676
|
+
property :primary_button, as: 'primaryButton', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
|
677
|
+
|
678
|
+
property :secondary_button, as: 'secondaryButton', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
|
679
|
+
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
683
|
+
class GoogleAppsCardV1CardHeader
|
684
|
+
# @private
|
685
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
686
|
+
property :image_alt_text, as: 'imageAltText'
|
687
|
+
property :image_type, as: 'imageType'
|
688
|
+
property :image_url, as: 'imageUrl'
|
689
|
+
property :subtitle, as: 'subtitle'
|
690
|
+
property :title, as: 'title'
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
694
|
+
class GoogleAppsCardV1DateTimePicker
|
695
|
+
# @private
|
696
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
697
|
+
property :label, as: 'label'
|
698
|
+
property :name, as: 'name'
|
699
|
+
property :on_change_action, as: 'onChangeAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
700
|
+
|
701
|
+
property :timezone_offset_date, as: 'timezoneOffsetDate'
|
702
|
+
property :type, as: 'type'
|
703
|
+
property :value_ms_epoch, :numeric_string => true, as: 'valueMsEpoch'
|
704
|
+
end
|
705
|
+
end
|
706
|
+
|
707
|
+
class GoogleAppsCardV1DecoratedText
|
708
|
+
# @private
|
709
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
710
|
+
property :bottom_label, as: 'bottomLabel'
|
711
|
+
property :button, as: 'button', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
|
712
|
+
|
713
|
+
property :end_icon, as: 'endIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
|
714
|
+
|
715
|
+
property :icon, as: 'icon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
|
716
|
+
|
717
|
+
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
718
|
+
|
719
|
+
property :start_icon, as: 'startIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
|
720
|
+
|
721
|
+
property :switch_control, as: 'switchControl', class: Google::Apis::ChatV1::GoogleAppsCardV1SwitchControl, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SwitchControl::Representation
|
722
|
+
|
723
|
+
property :text, as: 'text'
|
724
|
+
property :top_label, as: 'topLabel'
|
725
|
+
property :wrap_text, as: 'wrapText'
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
729
|
+
class GoogleAppsCardV1Divider
|
730
|
+
# @private
|
731
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
732
|
+
end
|
733
|
+
end
|
734
|
+
|
735
|
+
class GoogleAppsCardV1Grid
|
736
|
+
# @private
|
737
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
738
|
+
property :border_style, as: 'borderStyle', class: Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle, decorator: Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle::Representation
|
739
|
+
|
740
|
+
property :column_count, as: 'columnCount'
|
741
|
+
collection :items, as: 'items', class: Google::Apis::ChatV1::GoogleAppsCardV1GridItem, decorator: Google::Apis::ChatV1::GoogleAppsCardV1GridItem::Representation
|
742
|
+
|
743
|
+
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
744
|
+
|
745
|
+
property :title, as: 'title'
|
746
|
+
end
|
747
|
+
end
|
748
|
+
|
749
|
+
class GoogleAppsCardV1GridItem
|
750
|
+
# @private
|
751
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
752
|
+
property :id, as: 'id'
|
753
|
+
property :image, as: 'image', class: Google::Apis::ChatV1::GoogleAppsCardV1ImageComponent, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ImageComponent::Representation
|
754
|
+
|
755
|
+
property :layout, as: 'layout'
|
756
|
+
property :subtitle, as: 'subtitle'
|
757
|
+
property :text_alignment, as: 'textAlignment'
|
758
|
+
property :title, as: 'title'
|
759
|
+
end
|
760
|
+
end
|
761
|
+
|
762
|
+
class GoogleAppsCardV1Icon
|
763
|
+
# @private
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
765
|
+
property :alt_text, as: 'altText'
|
766
|
+
property :icon_url, as: 'iconUrl'
|
767
|
+
property :image_type, as: 'imageType'
|
768
|
+
property :known_icon, as: 'knownIcon'
|
769
|
+
end
|
770
|
+
end
|
771
|
+
|
772
|
+
class GoogleAppsCardV1Image
|
773
|
+
# @private
|
774
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
775
|
+
property :alt_text, as: 'altText'
|
776
|
+
property :image_url, as: 'imageUrl'
|
777
|
+
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
778
|
+
|
779
|
+
end
|
780
|
+
end
|
781
|
+
|
782
|
+
class GoogleAppsCardV1ImageComponent
|
783
|
+
# @private
|
784
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
785
|
+
property :alt_text, as: 'altText'
|
786
|
+
property :border_style, as: 'borderStyle', class: Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle, decorator: Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle::Representation
|
787
|
+
|
788
|
+
property :crop_style, as: 'cropStyle', class: Google::Apis::ChatV1::GoogleAppsCardV1ImageCropStyle, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ImageCropStyle::Representation
|
789
|
+
|
790
|
+
property :image_uri, as: 'imageUri'
|
791
|
+
end
|
792
|
+
end
|
793
|
+
|
794
|
+
class GoogleAppsCardV1ImageCropStyle
|
795
|
+
# @private
|
796
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
797
|
+
property :aspect_ratio, as: 'aspectRatio'
|
798
|
+
property :type, as: 'type'
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
class GoogleAppsCardV1OnClick
|
803
|
+
# @private
|
804
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
805
|
+
property :action, as: 'action', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
806
|
+
|
807
|
+
property :card, as: 'card', class: Google::Apis::ChatV1::GoogleAppsCardV1Card, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Card::Representation
|
808
|
+
|
809
|
+
property :open_dynamic_link_action, as: 'openDynamicLinkAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
810
|
+
|
811
|
+
property :open_link, as: 'openLink', class: Google::Apis::ChatV1::GoogleAppsCardV1OpenLink, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OpenLink::Representation
|
812
|
+
|
813
|
+
end
|
814
|
+
end
|
815
|
+
|
816
|
+
class GoogleAppsCardV1OpenLink
|
817
|
+
# @private
|
818
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
819
|
+
property :on_close, as: 'onClose'
|
820
|
+
property :open_as, as: 'openAs'
|
821
|
+
property :url, as: 'url'
|
822
|
+
end
|
823
|
+
end
|
824
|
+
|
825
|
+
class GoogleAppsCardV1Section
|
826
|
+
# @private
|
827
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
828
|
+
property :collapsible, as: 'collapsible'
|
829
|
+
property :header, as: 'header'
|
830
|
+
property :uncollapsible_widgets_count, as: 'uncollapsibleWidgetsCount'
|
831
|
+
collection :widgets, as: 'widgets', class: Google::Apis::ChatV1::GoogleAppsCardV1Widget, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Widget::Representation
|
832
|
+
|
833
|
+
end
|
834
|
+
end
|
835
|
+
|
836
|
+
class GoogleAppsCardV1SelectionInput
|
837
|
+
# @private
|
838
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
839
|
+
collection :items, as: 'items', class: Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem::Representation
|
840
|
+
|
841
|
+
property :label, as: 'label'
|
842
|
+
property :name, as: 'name'
|
843
|
+
property :on_change_action, as: 'onChangeAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
844
|
+
|
845
|
+
property :type, as: 'type'
|
846
|
+
end
|
847
|
+
end
|
848
|
+
|
849
|
+
class GoogleAppsCardV1SelectionItem
|
850
|
+
# @private
|
851
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
852
|
+
property :selected, as: 'selected'
|
853
|
+
property :text, as: 'text'
|
854
|
+
property :value, as: 'value'
|
855
|
+
end
|
856
|
+
end
|
857
|
+
|
858
|
+
class GoogleAppsCardV1SuggestionItem
|
859
|
+
# @private
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
861
|
+
property :text, as: 'text'
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
865
|
+
class GoogleAppsCardV1Suggestions
|
866
|
+
# @private
|
867
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
868
|
+
collection :items, as: 'items', class: Google::Apis::ChatV1::GoogleAppsCardV1SuggestionItem, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SuggestionItem::Representation
|
869
|
+
|
870
|
+
end
|
871
|
+
end
|
872
|
+
|
873
|
+
class GoogleAppsCardV1SwitchControl
|
874
|
+
# @private
|
875
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
876
|
+
property :control_type, as: 'controlType'
|
877
|
+
property :name, as: 'name'
|
878
|
+
property :on_change_action, as: 'onChangeAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
879
|
+
|
880
|
+
property :selected, as: 'selected'
|
881
|
+
property :value, as: 'value'
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
885
|
+
class GoogleAppsCardV1TextInput
|
886
|
+
# @private
|
887
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
888
|
+
property :auto_complete_action, as: 'autoCompleteAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
889
|
+
|
890
|
+
property :hint_text, as: 'hintText'
|
891
|
+
property :initial_suggestions, as: 'initialSuggestions', class: Google::Apis::ChatV1::GoogleAppsCardV1Suggestions, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Suggestions::Representation
|
892
|
+
|
893
|
+
property :label, as: 'label'
|
894
|
+
property :name, as: 'name'
|
895
|
+
property :on_change_action, as: 'onChangeAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
896
|
+
|
897
|
+
property :type, as: 'type'
|
898
|
+
property :value, as: 'value'
|
899
|
+
end
|
900
|
+
end
|
901
|
+
|
902
|
+
class GoogleAppsCardV1TextParagraph
|
903
|
+
# @private
|
904
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
905
|
+
property :text, as: 'text'
|
906
|
+
end
|
907
|
+
end
|
908
|
+
|
909
|
+
class GoogleAppsCardV1Widget
|
910
|
+
# @private
|
911
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
912
|
+
property :button_list, as: 'buttonList', class: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList::Representation
|
913
|
+
|
914
|
+
property :date_time_picker, as: 'dateTimePicker', class: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker::Representation
|
915
|
+
|
916
|
+
property :decorated_text, as: 'decoratedText', class: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText::Representation
|
917
|
+
|
918
|
+
property :divider, as: 'divider', class: Google::Apis::ChatV1::GoogleAppsCardV1Divider, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Divider::Representation
|
919
|
+
|
920
|
+
property :grid, as: 'grid', class: Google::Apis::ChatV1::GoogleAppsCardV1Grid, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Grid::Representation
|
921
|
+
|
922
|
+
property :horizontal_alignment, as: 'horizontalAlignment'
|
923
|
+
property :image, as: 'image', class: Google::Apis::ChatV1::GoogleAppsCardV1Image, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Image::Representation
|
924
|
+
|
925
|
+
property :selection_input, as: 'selectionInput', class: Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput::Representation
|
926
|
+
|
927
|
+
property :text_input, as: 'textInput', class: Google::Apis::ChatV1::GoogleAppsCardV1TextInput, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextInput::Representation
|
928
|
+
|
929
|
+
property :text_paragraph, as: 'textParagraph', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation
|
930
|
+
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
358
934
|
class Image
|
359
935
|
# @private
|
360
936
|
class Representation < Google::Apis::Core::JsonRepresentation
|