google-apis-chat_v1 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/chat_v1/classes.rb +75 -1495
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +0 -547
- 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.12.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 = "20210707"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,18 +76,6 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
-
class CardWithId
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
-
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
83
|
-
end
|
84
|
-
|
85
|
-
class Color
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
-
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
89
|
-
end
|
90
|
-
|
91
79
|
class DeprecatedEvent
|
92
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
81
|
|
@@ -112,180 +100,6 @@ module Google
|
|
112
100
|
include Google::Apis::Core::JsonObjectSupport
|
113
101
|
end
|
114
102
|
|
115
|
-
class GoogleAppsCardV1Action
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
-
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
119
|
-
end
|
120
|
-
|
121
|
-
class GoogleAppsCardV1ActionParameter
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
|
-
class GoogleAppsCardV1BorderStyle
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
-
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
131
|
-
end
|
132
|
-
|
133
|
-
class GoogleAppsCardV1Button
|
134
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
-
|
136
|
-
include Google::Apis::Core::JsonObjectSupport
|
137
|
-
end
|
138
|
-
|
139
|
-
class GoogleAppsCardV1ButtonList
|
140
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
-
|
142
|
-
include Google::Apis::Core::JsonObjectSupport
|
143
|
-
end
|
144
|
-
|
145
|
-
class GoogleAppsCardV1Card
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
-
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
149
|
-
end
|
150
|
-
|
151
|
-
class GoogleAppsCardV1CardAction
|
152
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
-
|
154
|
-
include Google::Apis::Core::JsonObjectSupport
|
155
|
-
end
|
156
|
-
|
157
|
-
class GoogleAppsCardV1CardFixedFooter
|
158
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
-
|
160
|
-
include Google::Apis::Core::JsonObjectSupport
|
161
|
-
end
|
162
|
-
|
163
|
-
class GoogleAppsCardV1CardHeader
|
164
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
-
|
166
|
-
include Google::Apis::Core::JsonObjectSupport
|
167
|
-
end
|
168
|
-
|
169
|
-
class GoogleAppsCardV1DateTimePicker
|
170
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
-
|
172
|
-
include Google::Apis::Core::JsonObjectSupport
|
173
|
-
end
|
174
|
-
|
175
|
-
class GoogleAppsCardV1DecoratedText
|
176
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
-
|
178
|
-
include Google::Apis::Core::JsonObjectSupport
|
179
|
-
end
|
180
|
-
|
181
|
-
class GoogleAppsCardV1Divider
|
182
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
-
|
184
|
-
include Google::Apis::Core::JsonObjectSupport
|
185
|
-
end
|
186
|
-
|
187
|
-
class GoogleAppsCardV1Grid
|
188
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
-
|
190
|
-
include Google::Apis::Core::JsonObjectSupport
|
191
|
-
end
|
192
|
-
|
193
|
-
class GoogleAppsCardV1GridItem
|
194
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
-
|
196
|
-
include Google::Apis::Core::JsonObjectSupport
|
197
|
-
end
|
198
|
-
|
199
|
-
class GoogleAppsCardV1Icon
|
200
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
-
|
202
|
-
include Google::Apis::Core::JsonObjectSupport
|
203
|
-
end
|
204
|
-
|
205
|
-
class GoogleAppsCardV1Image
|
206
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
-
|
208
|
-
include Google::Apis::Core::JsonObjectSupport
|
209
|
-
end
|
210
|
-
|
211
|
-
class GoogleAppsCardV1ImageComponent
|
212
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
-
|
214
|
-
include Google::Apis::Core::JsonObjectSupport
|
215
|
-
end
|
216
|
-
|
217
|
-
class GoogleAppsCardV1ImageCropStyle
|
218
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
-
|
220
|
-
include Google::Apis::Core::JsonObjectSupport
|
221
|
-
end
|
222
|
-
|
223
|
-
class GoogleAppsCardV1OnClick
|
224
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
-
|
226
|
-
include Google::Apis::Core::JsonObjectSupport
|
227
|
-
end
|
228
|
-
|
229
|
-
class GoogleAppsCardV1OpenLink
|
230
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
-
|
232
|
-
include Google::Apis::Core::JsonObjectSupport
|
233
|
-
end
|
234
|
-
|
235
|
-
class GoogleAppsCardV1Section
|
236
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
-
|
238
|
-
include Google::Apis::Core::JsonObjectSupport
|
239
|
-
end
|
240
|
-
|
241
|
-
class GoogleAppsCardV1SelectionInput
|
242
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
-
|
244
|
-
include Google::Apis::Core::JsonObjectSupport
|
245
|
-
end
|
246
|
-
|
247
|
-
class GoogleAppsCardV1SelectionItem
|
248
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
-
|
250
|
-
include Google::Apis::Core::JsonObjectSupport
|
251
|
-
end
|
252
|
-
|
253
|
-
class GoogleAppsCardV1SuggestionItem
|
254
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
-
|
256
|
-
include Google::Apis::Core::JsonObjectSupport
|
257
|
-
end
|
258
|
-
|
259
|
-
class GoogleAppsCardV1Suggestions
|
260
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
-
|
262
|
-
include Google::Apis::Core::JsonObjectSupport
|
263
|
-
end
|
264
|
-
|
265
|
-
class GoogleAppsCardV1SwitchControl
|
266
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
-
|
268
|
-
include Google::Apis::Core::JsonObjectSupport
|
269
|
-
end
|
270
|
-
|
271
|
-
class GoogleAppsCardV1TextInput
|
272
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
-
|
274
|
-
include Google::Apis::Core::JsonObjectSupport
|
275
|
-
end
|
276
|
-
|
277
|
-
class GoogleAppsCardV1TextParagraph
|
278
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
-
|
280
|
-
include Google::Apis::Core::JsonObjectSupport
|
281
|
-
end
|
282
|
-
|
283
|
-
class GoogleAppsCardV1Widget
|
284
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
-
|
286
|
-
include Google::Apis::Core::JsonObjectSupport
|
287
|
-
end
|
288
|
-
|
289
103
|
class Image
|
290
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
105
|
|
@@ -500,25 +314,6 @@ module Google
|
|
500
314
|
end
|
501
315
|
end
|
502
316
|
|
503
|
-
class CardWithId
|
504
|
-
# @private
|
505
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
506
|
-
property :card, as: 'card', class: Google::Apis::ChatV1::GoogleAppsCardV1Card, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Card::Representation
|
507
|
-
|
508
|
-
property :card_id, as: 'cardId'
|
509
|
-
end
|
510
|
-
end
|
511
|
-
|
512
|
-
class Color
|
513
|
-
# @private
|
514
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
515
|
-
property :alpha, as: 'alpha'
|
516
|
-
property :blue, as: 'blue'
|
517
|
-
property :green, as: 'green'
|
518
|
-
property :red, as: 'red'
|
519
|
-
end
|
520
|
-
end
|
521
|
-
|
522
317
|
class DeprecatedEvent
|
523
318
|
# @private
|
524
319
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -560,346 +355,6 @@ module Google
|
|
560
355
|
end
|
561
356
|
end
|
562
357
|
|
563
|
-
class GoogleAppsCardV1Action
|
564
|
-
# @private
|
565
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
566
|
-
property :function, as: 'function'
|
567
|
-
property :load_indicator, as: 'loadIndicator'
|
568
|
-
collection :parameters, as: 'parameters', class: Google::Apis::ChatV1::GoogleAppsCardV1ActionParameter, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ActionParameter::Representation
|
569
|
-
|
570
|
-
property :persist_values, as: 'persistValues'
|
571
|
-
end
|
572
|
-
end
|
573
|
-
|
574
|
-
class GoogleAppsCardV1ActionParameter
|
575
|
-
# @private
|
576
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
577
|
-
property :key, as: 'key'
|
578
|
-
property :value, as: 'value'
|
579
|
-
end
|
580
|
-
end
|
581
|
-
|
582
|
-
class GoogleAppsCardV1BorderStyle
|
583
|
-
# @private
|
584
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
585
|
-
property :corner_radius, as: 'cornerRadius'
|
586
|
-
property :stroke_color, as: 'strokeColor', class: Google::Apis::ChatV1::Color, decorator: Google::Apis::ChatV1::Color::Representation
|
587
|
-
|
588
|
-
property :type, as: 'type'
|
589
|
-
end
|
590
|
-
end
|
591
|
-
|
592
|
-
class GoogleAppsCardV1Button
|
593
|
-
# @private
|
594
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
595
|
-
property :alt_text, as: 'altText'
|
596
|
-
property :color, as: 'color', class: Google::Apis::ChatV1::Color, decorator: Google::Apis::ChatV1::Color::Representation
|
597
|
-
|
598
|
-
property :disabled, as: 'disabled'
|
599
|
-
property :icon, as: 'icon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
|
600
|
-
|
601
|
-
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
602
|
-
|
603
|
-
property :text, as: 'text'
|
604
|
-
end
|
605
|
-
end
|
606
|
-
|
607
|
-
class GoogleAppsCardV1ButtonList
|
608
|
-
# @private
|
609
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
610
|
-
collection :buttons, as: 'buttons', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
|
611
|
-
|
612
|
-
end
|
613
|
-
end
|
614
|
-
|
615
|
-
class GoogleAppsCardV1Card
|
616
|
-
# @private
|
617
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
618
|
-
collection :card_actions, as: 'cardActions', class: Google::Apis::ChatV1::GoogleAppsCardV1CardAction, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardAction::Representation
|
619
|
-
|
620
|
-
property :display_style, as: 'displayStyle'
|
621
|
-
property :fixed_footer, as: 'fixedFooter', class: Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter::Representation
|
622
|
-
|
623
|
-
property :header, as: 'header', class: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader::Representation
|
624
|
-
|
625
|
-
property :name, as: 'name'
|
626
|
-
property :peek_card_header, as: 'peekCardHeader', class: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader::Representation
|
627
|
-
|
628
|
-
collection :sections, as: 'sections', class: Google::Apis::ChatV1::GoogleAppsCardV1Section, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Section::Representation
|
629
|
-
|
630
|
-
end
|
631
|
-
end
|
632
|
-
|
633
|
-
class GoogleAppsCardV1CardAction
|
634
|
-
# @private
|
635
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
-
property :action_label, as: 'actionLabel'
|
637
|
-
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
638
|
-
|
639
|
-
end
|
640
|
-
end
|
641
|
-
|
642
|
-
class GoogleAppsCardV1CardFixedFooter
|
643
|
-
# @private
|
644
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
645
|
-
property :primary_button, as: 'primaryButton', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
|
646
|
-
|
647
|
-
property :secondary_button, as: 'secondaryButton', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
|
648
|
-
|
649
|
-
end
|
650
|
-
end
|
651
|
-
|
652
|
-
class GoogleAppsCardV1CardHeader
|
653
|
-
# @private
|
654
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
655
|
-
property :image_alt_text, as: 'imageAltText'
|
656
|
-
property :image_type, as: 'imageType'
|
657
|
-
property :image_url, as: 'imageUrl'
|
658
|
-
property :subtitle, as: 'subtitle'
|
659
|
-
property :title, as: 'title'
|
660
|
-
end
|
661
|
-
end
|
662
|
-
|
663
|
-
class GoogleAppsCardV1DateTimePicker
|
664
|
-
# @private
|
665
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
666
|
-
property :label, as: 'label'
|
667
|
-
property :name, as: 'name'
|
668
|
-
property :on_change_action, as: 'onChangeAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
669
|
-
|
670
|
-
property :timezone_offset_date, as: 'timezoneOffsetDate'
|
671
|
-
property :type, as: 'type'
|
672
|
-
property :value_ms_epoch, :numeric_string => true, as: 'valueMsEpoch'
|
673
|
-
end
|
674
|
-
end
|
675
|
-
|
676
|
-
class GoogleAppsCardV1DecoratedText
|
677
|
-
# @private
|
678
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
679
|
-
property :bottom_label, as: 'bottomLabel'
|
680
|
-
property :button, as: 'button', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
|
681
|
-
|
682
|
-
property :end_icon, as: 'endIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
|
683
|
-
|
684
|
-
property :icon, as: 'icon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
|
685
|
-
|
686
|
-
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
687
|
-
|
688
|
-
property :start_icon, as: 'startIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
|
689
|
-
|
690
|
-
property :switch_control, as: 'switchControl', class: Google::Apis::ChatV1::GoogleAppsCardV1SwitchControl, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SwitchControl::Representation
|
691
|
-
|
692
|
-
property :text, as: 'text'
|
693
|
-
property :top_label, as: 'topLabel'
|
694
|
-
property :wrap_text, as: 'wrapText'
|
695
|
-
end
|
696
|
-
end
|
697
|
-
|
698
|
-
class GoogleAppsCardV1Divider
|
699
|
-
# @private
|
700
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
701
|
-
end
|
702
|
-
end
|
703
|
-
|
704
|
-
class GoogleAppsCardV1Grid
|
705
|
-
# @private
|
706
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
707
|
-
property :border_style, as: 'borderStyle', class: Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle, decorator: Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle::Representation
|
708
|
-
|
709
|
-
property :column_count, as: 'columnCount'
|
710
|
-
collection :items, as: 'items', class: Google::Apis::ChatV1::GoogleAppsCardV1GridItem, decorator: Google::Apis::ChatV1::GoogleAppsCardV1GridItem::Representation
|
711
|
-
|
712
|
-
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
713
|
-
|
714
|
-
property :title, as: 'title'
|
715
|
-
end
|
716
|
-
end
|
717
|
-
|
718
|
-
class GoogleAppsCardV1GridItem
|
719
|
-
# @private
|
720
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
721
|
-
property :id, as: 'id'
|
722
|
-
property :image, as: 'image', class: Google::Apis::ChatV1::GoogleAppsCardV1ImageComponent, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ImageComponent::Representation
|
723
|
-
|
724
|
-
property :layout, as: 'layout'
|
725
|
-
property :subtitle, as: 'subtitle'
|
726
|
-
property :text_alignment, as: 'textAlignment'
|
727
|
-
property :title, as: 'title'
|
728
|
-
end
|
729
|
-
end
|
730
|
-
|
731
|
-
class GoogleAppsCardV1Icon
|
732
|
-
# @private
|
733
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
734
|
-
property :alt_text, as: 'altText'
|
735
|
-
property :icon_url, as: 'iconUrl'
|
736
|
-
property :image_type, as: 'imageType'
|
737
|
-
property :known_icon, as: 'knownIcon'
|
738
|
-
end
|
739
|
-
end
|
740
|
-
|
741
|
-
class GoogleAppsCardV1Image
|
742
|
-
# @private
|
743
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
744
|
-
property :alt_text, as: 'altText'
|
745
|
-
property :image_url, as: 'imageUrl'
|
746
|
-
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
747
|
-
|
748
|
-
end
|
749
|
-
end
|
750
|
-
|
751
|
-
class GoogleAppsCardV1ImageComponent
|
752
|
-
# @private
|
753
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
754
|
-
property :alt_text, as: 'altText'
|
755
|
-
property :border_style, as: 'borderStyle', class: Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle, decorator: Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle::Representation
|
756
|
-
|
757
|
-
property :crop_style, as: 'cropStyle', class: Google::Apis::ChatV1::GoogleAppsCardV1ImageCropStyle, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ImageCropStyle::Representation
|
758
|
-
|
759
|
-
property :image_uri, as: 'imageUri'
|
760
|
-
end
|
761
|
-
end
|
762
|
-
|
763
|
-
class GoogleAppsCardV1ImageCropStyle
|
764
|
-
# @private
|
765
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
766
|
-
property :aspect_ratio, as: 'aspectRatio'
|
767
|
-
property :type, as: 'type'
|
768
|
-
end
|
769
|
-
end
|
770
|
-
|
771
|
-
class GoogleAppsCardV1OnClick
|
772
|
-
# @private
|
773
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
774
|
-
property :action, as: 'action', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
775
|
-
|
776
|
-
property :card, as: 'card', class: Google::Apis::ChatV1::GoogleAppsCardV1Card, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Card::Representation
|
777
|
-
|
778
|
-
property :open_dynamic_link_action, as: 'openDynamicLinkAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
779
|
-
|
780
|
-
property :open_link, as: 'openLink', class: Google::Apis::ChatV1::GoogleAppsCardV1OpenLink, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OpenLink::Representation
|
781
|
-
|
782
|
-
end
|
783
|
-
end
|
784
|
-
|
785
|
-
class GoogleAppsCardV1OpenLink
|
786
|
-
# @private
|
787
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
788
|
-
property :on_close, as: 'onClose'
|
789
|
-
property :open_as, as: 'openAs'
|
790
|
-
property :url, as: 'url'
|
791
|
-
end
|
792
|
-
end
|
793
|
-
|
794
|
-
class GoogleAppsCardV1Section
|
795
|
-
# @private
|
796
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
797
|
-
property :collapsible, as: 'collapsible'
|
798
|
-
property :header, as: 'header'
|
799
|
-
property :uncollapsible_widgets_count, as: 'uncollapsibleWidgetsCount'
|
800
|
-
collection :widgets, as: 'widgets', class: Google::Apis::ChatV1::GoogleAppsCardV1Widget, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Widget::Representation
|
801
|
-
|
802
|
-
end
|
803
|
-
end
|
804
|
-
|
805
|
-
class GoogleAppsCardV1SelectionInput
|
806
|
-
# @private
|
807
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
808
|
-
collection :items, as: 'items', class: Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem::Representation
|
809
|
-
|
810
|
-
property :label, as: 'label'
|
811
|
-
property :name, as: 'name'
|
812
|
-
property :on_change_action, as: 'onChangeAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
813
|
-
|
814
|
-
property :type, as: 'type'
|
815
|
-
end
|
816
|
-
end
|
817
|
-
|
818
|
-
class GoogleAppsCardV1SelectionItem
|
819
|
-
# @private
|
820
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
821
|
-
property :selected, as: 'selected'
|
822
|
-
property :text, as: 'text'
|
823
|
-
property :value, as: 'value'
|
824
|
-
end
|
825
|
-
end
|
826
|
-
|
827
|
-
class GoogleAppsCardV1SuggestionItem
|
828
|
-
# @private
|
829
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
830
|
-
property :text, as: 'text'
|
831
|
-
end
|
832
|
-
end
|
833
|
-
|
834
|
-
class GoogleAppsCardV1Suggestions
|
835
|
-
# @private
|
836
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
837
|
-
collection :items, as: 'items', class: Google::Apis::ChatV1::GoogleAppsCardV1SuggestionItem, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SuggestionItem::Representation
|
838
|
-
|
839
|
-
end
|
840
|
-
end
|
841
|
-
|
842
|
-
class GoogleAppsCardV1SwitchControl
|
843
|
-
# @private
|
844
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
845
|
-
property :control_type, as: 'controlType'
|
846
|
-
property :name, as: 'name'
|
847
|
-
property :on_change_action, as: 'onChangeAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
848
|
-
|
849
|
-
property :selected, as: 'selected'
|
850
|
-
property :value, as: 'value'
|
851
|
-
end
|
852
|
-
end
|
853
|
-
|
854
|
-
class GoogleAppsCardV1TextInput
|
855
|
-
# @private
|
856
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
857
|
-
property :auto_complete_action, as: 'autoCompleteAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
858
|
-
|
859
|
-
property :hint_text, as: 'hintText'
|
860
|
-
property :initial_suggestions, as: 'initialSuggestions', class: Google::Apis::ChatV1::GoogleAppsCardV1Suggestions, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Suggestions::Representation
|
861
|
-
|
862
|
-
property :label, as: 'label'
|
863
|
-
property :name, as: 'name'
|
864
|
-
property :on_change_action, as: 'onChangeAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
865
|
-
|
866
|
-
property :type, as: 'type'
|
867
|
-
property :value, as: 'value'
|
868
|
-
end
|
869
|
-
end
|
870
|
-
|
871
|
-
class GoogleAppsCardV1TextParagraph
|
872
|
-
# @private
|
873
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
874
|
-
property :text, as: 'text'
|
875
|
-
end
|
876
|
-
end
|
877
|
-
|
878
|
-
class GoogleAppsCardV1Widget
|
879
|
-
# @private
|
880
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
881
|
-
property :button_list, as: 'buttonList', class: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList::Representation
|
882
|
-
|
883
|
-
property :date_time_picker, as: 'dateTimePicker', class: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker::Representation
|
884
|
-
|
885
|
-
property :decorated_text, as: 'decoratedText', class: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText::Representation
|
886
|
-
|
887
|
-
property :divider, as: 'divider', class: Google::Apis::ChatV1::GoogleAppsCardV1Divider, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Divider::Representation
|
888
|
-
|
889
|
-
property :grid, as: 'grid', class: Google::Apis::ChatV1::GoogleAppsCardV1Grid, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Grid::Representation
|
890
|
-
|
891
|
-
property :horizontal_alignment, as: 'horizontalAlignment'
|
892
|
-
property :image, as: 'image', class: Google::Apis::ChatV1::GoogleAppsCardV1Image, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Image::Representation
|
893
|
-
|
894
|
-
property :selection_input, as: 'selectionInput', class: Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput::Representation
|
895
|
-
|
896
|
-
property :text_input, as: 'textInput', class: Google::Apis::ChatV1::GoogleAppsCardV1TextInput, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextInput::Representation
|
897
|
-
|
898
|
-
property :text_paragraph, as: 'textParagraph', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation
|
899
|
-
|
900
|
-
end
|
901
|
-
end
|
902
|
-
|
903
358
|
class Image
|
904
359
|
# @private
|
905
360
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -985,8 +440,6 @@ module Google
|
|
985
440
|
|
986
441
|
collection :cards, as: 'cards', class: Google::Apis::ChatV1::Card, decorator: Google::Apis::ChatV1::Card::Representation
|
987
442
|
|
988
|
-
collection :cards_v2, as: 'cardsV2', class: Google::Apis::ChatV1::CardWithId, decorator: Google::Apis::ChatV1::CardWithId::Representation
|
989
|
-
|
990
443
|
property :create_time, as: 'createTime'
|
991
444
|
property :fallback_text, as: 'fallbackText'
|
992
445
|
property :name, as: 'name'
|