google-apis-chat_v1 0.44.0 → 0.69.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 +104 -0
- data/lib/google/apis/chat_v1/classes.rb +1520 -404
- data/lib/google/apis/chat_v1/gem_version.rb +3 -3
- data/lib/google/apis/chat_v1/representations.rb +317 -1
- data/lib/google/apis/chat_v1/service.rb +728 -246
- data/lib/google/apis/chat_v1.rb +45 -0
- metadata +6 -6
@@ -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.69.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230822"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class AttachedGif
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class Attachment
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -94,6 +100,12 @@ module Google
|
|
94
100
|
include Google::Apis::Core::JsonObjectSupport
|
95
101
|
end
|
96
102
|
|
103
|
+
class ChatClientDataSourceMarkup
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
97
109
|
class Color
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
111
|
|
@@ -106,6 +118,12 @@ module Google
|
|
106
118
|
include Google::Apis::Core::JsonObjectSupport
|
107
119
|
end
|
108
120
|
|
121
|
+
class CustomEmoji
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
109
127
|
class DateInput
|
110
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
129
|
|
@@ -118,6 +136,12 @@ module Google
|
|
118
136
|
include Google::Apis::Core::JsonObjectSupport
|
119
137
|
end
|
120
138
|
|
139
|
+
class DeletionMetadata
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
121
145
|
class DeprecatedEvent
|
122
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
147
|
|
@@ -142,6 +166,18 @@ module Google
|
|
142
166
|
include Google::Apis::Core::JsonObjectSupport
|
143
167
|
end
|
144
168
|
|
169
|
+
class Emoji
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class EmojiReactionSummary
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
145
181
|
class Empty
|
146
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
183
|
|
@@ -208,6 +244,18 @@ module Google
|
|
208
244
|
include Google::Apis::Core::JsonObjectSupport
|
209
245
|
end
|
210
246
|
|
247
|
+
class GoogleAppsCardV1Column
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class GoogleAppsCardV1Columns
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
211
259
|
class GoogleAppsCardV1DateTimePicker
|
212
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
261
|
|
@@ -274,6 +322,12 @@ module Google
|
|
274
322
|
include Google::Apis::Core::JsonObjectSupport
|
275
323
|
end
|
276
324
|
|
325
|
+
class GoogleAppsCardV1PlatformDataSource
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
277
331
|
class GoogleAppsCardV1Section
|
278
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
333
|
|
@@ -328,6 +382,18 @@ module Google
|
|
328
382
|
include Google::Apis::Core::JsonObjectSupport
|
329
383
|
end
|
330
384
|
|
385
|
+
class GoogleAppsCardV1Widgets
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
391
|
+
class HostAppDataSourceMarkup
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
331
397
|
class Image
|
332
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
399
|
|
@@ -358,6 +424,18 @@ module Google
|
|
358
424
|
include Google::Apis::Core::JsonObjectSupport
|
359
425
|
end
|
360
426
|
|
427
|
+
class ListMessagesResponse
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
433
|
+
class ListReactionsResponse
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
361
439
|
class ListSpacesResponse
|
362
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
441
|
|
@@ -400,12 +478,30 @@ module Google
|
|
400
478
|
include Google::Apis::Core::JsonObjectSupport
|
401
479
|
end
|
402
480
|
|
481
|
+
class QuotedMessageMetadata
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
487
|
+
class Reaction
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
403
493
|
class Section
|
404
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
495
|
|
406
496
|
include Google::Apis::Core::JsonObjectSupport
|
407
497
|
end
|
408
498
|
|
499
|
+
class SetUpSpaceRequest
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
409
505
|
class SlashCommand
|
410
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
507
|
|
@@ -424,6 +520,12 @@ module Google
|
|
424
520
|
include Google::Apis::Core::JsonObjectSupport
|
425
521
|
end
|
426
522
|
|
523
|
+
class SpaceDataSource
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
427
529
|
class SpaceDetails
|
428
530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
531
|
|
@@ -472,6 +574,18 @@ module Google
|
|
472
574
|
include Google::Apis::Core::JsonObjectSupport
|
473
575
|
end
|
474
576
|
|
577
|
+
class UploadAttachmentRequest
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
583
|
+
class UploadAttachmentResponse
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
+
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
587
|
+
end
|
588
|
+
|
475
589
|
class User
|
476
590
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
591
|
|
@@ -529,6 +643,13 @@ module Google
|
|
529
643
|
end
|
530
644
|
end
|
531
645
|
|
646
|
+
class AttachedGif
|
647
|
+
# @private
|
648
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
649
|
+
property :uri, as: 'uri'
|
650
|
+
end
|
651
|
+
end
|
652
|
+
|
532
653
|
class Attachment
|
533
654
|
# @private
|
534
655
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -548,6 +669,7 @@ module Google
|
|
548
669
|
class AttachmentDataRef
|
549
670
|
# @private
|
550
671
|
class Representation < Google::Apis::Core::JsonRepresentation
|
672
|
+
property :attachment_upload_token, as: 'attachmentUploadToken'
|
551
673
|
property :resource_name, as: 'resourceName'
|
552
674
|
end
|
553
675
|
end
|
@@ -613,6 +735,14 @@ module Google
|
|
613
735
|
end
|
614
736
|
end
|
615
737
|
|
738
|
+
class ChatClientDataSourceMarkup
|
739
|
+
# @private
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
741
|
+
property :space_data_source, as: 'spaceDataSource', class: Google::Apis::ChatV1::SpaceDataSource, decorator: Google::Apis::ChatV1::SpaceDataSource::Representation
|
742
|
+
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
616
746
|
class Color
|
617
747
|
# @private
|
618
748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -638,6 +768,13 @@ module Google
|
|
638
768
|
end
|
639
769
|
end
|
640
770
|
|
771
|
+
class CustomEmoji
|
772
|
+
# @private
|
773
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
774
|
+
property :uid, as: 'uid'
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
641
778
|
class DateInput
|
642
779
|
# @private
|
643
780
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -654,6 +791,13 @@ module Google
|
|
654
791
|
end
|
655
792
|
end
|
656
793
|
|
794
|
+
class DeletionMetadata
|
795
|
+
# @private
|
796
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
797
|
+
property :deletion_type, as: 'deletionType'
|
798
|
+
end
|
799
|
+
end
|
800
|
+
|
657
801
|
class DeprecatedEvent
|
658
802
|
# @private
|
659
803
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -702,6 +846,24 @@ module Google
|
|
702
846
|
end
|
703
847
|
end
|
704
848
|
|
849
|
+
class Emoji
|
850
|
+
# @private
|
851
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
852
|
+
property :custom_emoji, as: 'customEmoji', class: Google::Apis::ChatV1::CustomEmoji, decorator: Google::Apis::ChatV1::CustomEmoji::Representation
|
853
|
+
|
854
|
+
property :unicode, as: 'unicode'
|
855
|
+
end
|
856
|
+
end
|
857
|
+
|
858
|
+
class EmojiReactionSummary
|
859
|
+
# @private
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
861
|
+
property :emoji, as: 'emoji', class: Google::Apis::ChatV1::Emoji, decorator: Google::Apis::ChatV1::Emoji::Representation
|
862
|
+
|
863
|
+
property :reaction_count, as: 'reactionCount'
|
864
|
+
end
|
865
|
+
end
|
866
|
+
|
705
867
|
class Empty
|
706
868
|
# @private
|
707
869
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -721,6 +883,7 @@ module Google
|
|
721
883
|
# @private
|
722
884
|
class Representation < Google::Apis::Core::JsonRepresentation
|
723
885
|
property :function, as: 'function'
|
886
|
+
property :interaction, as: 'interaction'
|
724
887
|
property :load_indicator, as: 'loadIndicator'
|
725
888
|
collection :parameters, as: 'parameters', class: Google::Apis::ChatV1::GoogleAppsCardV1ActionParameter, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ActionParameter::Representation
|
726
889
|
|
@@ -782,6 +945,7 @@ module Google
|
|
782
945
|
property :name, as: 'name'
|
783
946
|
property :peek_card_header, as: 'peekCardHeader', class: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader::Representation
|
784
947
|
|
948
|
+
property :section_divider_style, as: 'sectionDividerStyle'
|
785
949
|
collection :sections, as: 'sections', class: Google::Apis::ChatV1::GoogleAppsCardV1Section, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Section::Representation
|
786
950
|
|
787
951
|
end
|
@@ -817,6 +981,25 @@ module Google
|
|
817
981
|
end
|
818
982
|
end
|
819
983
|
|
984
|
+
class GoogleAppsCardV1Column
|
985
|
+
# @private
|
986
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
987
|
+
property :horizontal_alignment, as: 'horizontalAlignment'
|
988
|
+
property :horizontal_size_style, as: 'horizontalSizeStyle'
|
989
|
+
property :vertical_alignment, as: 'verticalAlignment'
|
990
|
+
collection :widgets, as: 'widgets', class: Google::Apis::ChatV1::GoogleAppsCardV1Widgets, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Widgets::Representation
|
991
|
+
|
992
|
+
end
|
993
|
+
end
|
994
|
+
|
995
|
+
class GoogleAppsCardV1Columns
|
996
|
+
# @private
|
997
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
998
|
+
collection :column_items, as: 'columnItems', class: Google::Apis::ChatV1::GoogleAppsCardV1Column, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Column::Representation
|
999
|
+
|
1000
|
+
end
|
1001
|
+
end
|
1002
|
+
|
820
1003
|
class GoogleAppsCardV1DateTimePicker
|
821
1004
|
# @private
|
822
1005
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -880,7 +1063,6 @@ module Google
|
|
880
1063
|
|
881
1064
|
property :layout, as: 'layout'
|
882
1065
|
property :subtitle, as: 'subtitle'
|
883
|
-
property :text_alignment, as: 'textAlignment'
|
884
1066
|
property :title, as: 'title'
|
885
1067
|
end
|
886
1068
|
end
|
@@ -948,6 +1130,15 @@ module Google
|
|
948
1130
|
end
|
949
1131
|
end
|
950
1132
|
|
1133
|
+
class GoogleAppsCardV1PlatformDataSource
|
1134
|
+
# @private
|
1135
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1136
|
+
property :common_data_source, as: 'commonDataSource'
|
1137
|
+
property :host_app_data_source, as: 'hostAppDataSource', class: Google::Apis::ChatV1::HostAppDataSourceMarkup, decorator: Google::Apis::ChatV1::HostAppDataSourceMarkup::Representation
|
1138
|
+
|
1139
|
+
end
|
1140
|
+
end
|
1141
|
+
|
951
1142
|
class GoogleAppsCardV1Section
|
952
1143
|
# @private
|
953
1144
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -962,12 +1153,18 @@ module Google
|
|
962
1153
|
class GoogleAppsCardV1SelectionInput
|
963
1154
|
# @private
|
964
1155
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1156
|
+
property :external_data_source, as: 'externalDataSource', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
1157
|
+
|
965
1158
|
collection :items, as: 'items', class: Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem::Representation
|
966
1159
|
|
967
1160
|
property :label, as: 'label'
|
1161
|
+
property :multi_select_max_selected_items, as: 'multiSelectMaxSelectedItems'
|
1162
|
+
property :multi_select_min_query_length, as: 'multiSelectMinQueryLength'
|
968
1163
|
property :name, as: 'name'
|
969
1164
|
property :on_change_action, as: 'onChangeAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
970
1165
|
|
1166
|
+
property :platform_data_source, as: 'platformDataSource', class: Google::Apis::ChatV1::GoogleAppsCardV1PlatformDataSource, decorator: Google::Apis::ChatV1::GoogleAppsCardV1PlatformDataSource::Representation
|
1167
|
+
|
971
1168
|
property :type, as: 'type'
|
972
1169
|
end
|
973
1170
|
end
|
@@ -975,7 +1172,9 @@ module Google
|
|
975
1172
|
class GoogleAppsCardV1SelectionItem
|
976
1173
|
# @private
|
977
1174
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1175
|
+
property :bottom_text, as: 'bottomText'
|
978
1176
|
property :selected, as: 'selected'
|
1177
|
+
property :start_icon_uri, as: 'startIconUri'
|
979
1178
|
property :text, as: 'text'
|
980
1179
|
property :value, as: 'value'
|
981
1180
|
end
|
@@ -1037,6 +1236,8 @@ module Google
|
|
1037
1236
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1038
1237
|
property :button_list, as: 'buttonList', class: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList::Representation
|
1039
1238
|
|
1239
|
+
property :columns, as: 'columns', class: Google::Apis::ChatV1::GoogleAppsCardV1Columns, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Columns::Representation
|
1240
|
+
|
1040
1241
|
property :date_time_picker, as: 'dateTimePicker', class: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker::Representation
|
1041
1242
|
|
1042
1243
|
property :decorated_text, as: 'decoratedText', class: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText::Representation
|
@@ -1057,6 +1258,34 @@ module Google
|
|
1057
1258
|
end
|
1058
1259
|
end
|
1059
1260
|
|
1261
|
+
class GoogleAppsCardV1Widgets
|
1262
|
+
# @private
|
1263
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1264
|
+
property :button_list, as: 'buttonList', class: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList::Representation
|
1265
|
+
|
1266
|
+
property :date_time_picker, as: 'dateTimePicker', class: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker::Representation
|
1267
|
+
|
1268
|
+
property :decorated_text, as: 'decoratedText', class: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText::Representation
|
1269
|
+
|
1270
|
+
property :image, as: 'image', class: Google::Apis::ChatV1::GoogleAppsCardV1Image, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Image::Representation
|
1271
|
+
|
1272
|
+
property :selection_input, as: 'selectionInput', class: Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput::Representation
|
1273
|
+
|
1274
|
+
property :text_input, as: 'textInput', class: Google::Apis::ChatV1::GoogleAppsCardV1TextInput, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextInput::Representation
|
1275
|
+
|
1276
|
+
property :text_paragraph, as: 'textParagraph', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation
|
1277
|
+
|
1278
|
+
end
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
class HostAppDataSourceMarkup
|
1282
|
+
# @private
|
1283
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1284
|
+
property :chat_data_source, as: 'chatDataSource', class: Google::Apis::ChatV1::ChatClientDataSourceMarkup, decorator: Google::Apis::ChatV1::ChatClientDataSourceMarkup::Representation
|
1285
|
+
|
1286
|
+
end
|
1287
|
+
end
|
1288
|
+
|
1060
1289
|
class Image
|
1061
1290
|
# @private
|
1062
1291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1117,6 +1346,24 @@ module Google
|
|
1117
1346
|
end
|
1118
1347
|
end
|
1119
1348
|
|
1349
|
+
class ListMessagesResponse
|
1350
|
+
# @private
|
1351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1352
|
+
collection :messages, as: 'messages', class: Google::Apis::ChatV1::Message, decorator: Google::Apis::ChatV1::Message::Representation
|
1353
|
+
|
1354
|
+
property :next_page_token, as: 'nextPageToken'
|
1355
|
+
end
|
1356
|
+
end
|
1357
|
+
|
1358
|
+
class ListReactionsResponse
|
1359
|
+
# @private
|
1360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1361
|
+
property :next_page_token, as: 'nextPageToken'
|
1362
|
+
collection :reactions, as: 'reactions', class: Google::Apis::ChatV1::Reaction, decorator: Google::Apis::ChatV1::Reaction::Representation
|
1363
|
+
|
1364
|
+
end
|
1365
|
+
end
|
1366
|
+
|
1120
1367
|
class ListSpacesResponse
|
1121
1368
|
# @private
|
1122
1369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1160,18 +1407,28 @@ module Google
|
|
1160
1407
|
collection :annotations, as: 'annotations', class: Google::Apis::ChatV1::Annotation, decorator: Google::Apis::ChatV1::Annotation::Representation
|
1161
1408
|
|
1162
1409
|
property :argument_text, as: 'argumentText'
|
1410
|
+
collection :attached_gifs, as: 'attachedGifs', class: Google::Apis::ChatV1::AttachedGif, decorator: Google::Apis::ChatV1::AttachedGif::Representation
|
1411
|
+
|
1163
1412
|
collection :attachment, as: 'attachment', class: Google::Apis::ChatV1::Attachment, decorator: Google::Apis::ChatV1::Attachment::Representation
|
1164
1413
|
|
1165
1414
|
collection :cards, as: 'cards', class: Google::Apis::ChatV1::Card, decorator: Google::Apis::ChatV1::Card::Representation
|
1166
1415
|
|
1167
1416
|
collection :cards_v2, as: 'cardsV2', class: Google::Apis::ChatV1::CardWithId, decorator: Google::Apis::ChatV1::CardWithId::Representation
|
1168
1417
|
|
1418
|
+
property :client_assigned_message_id, as: 'clientAssignedMessageId'
|
1169
1419
|
property :create_time, as: 'createTime'
|
1420
|
+
property :delete_time, as: 'deleteTime'
|
1421
|
+
property :deletion_metadata, as: 'deletionMetadata', class: Google::Apis::ChatV1::DeletionMetadata, decorator: Google::Apis::ChatV1::DeletionMetadata::Representation
|
1422
|
+
|
1423
|
+
collection :emoji_reaction_summaries, as: 'emojiReactionSummaries', class: Google::Apis::ChatV1::EmojiReactionSummary, decorator: Google::Apis::ChatV1::EmojiReactionSummary::Representation
|
1424
|
+
|
1170
1425
|
property :fallback_text, as: 'fallbackText'
|
1171
1426
|
property :last_update_time, as: 'lastUpdateTime'
|
1172
1427
|
property :matched_url, as: 'matchedUrl', class: Google::Apis::ChatV1::MatchedUrl, decorator: Google::Apis::ChatV1::MatchedUrl::Representation
|
1173
1428
|
|
1174
1429
|
property :name, as: 'name'
|
1430
|
+
property :quoted_message_metadata, as: 'quotedMessageMetadata', class: Google::Apis::ChatV1::QuotedMessageMetadata, decorator: Google::Apis::ChatV1::QuotedMessageMetadata::Representation
|
1431
|
+
|
1175
1432
|
property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
|
1176
1433
|
|
1177
1434
|
property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommand, decorator: Google::Apis::ChatV1::SlashCommand::Representation
|
@@ -1181,6 +1438,7 @@ module Google
|
|
1181
1438
|
property :text, as: 'text'
|
1182
1439
|
property :thread, as: 'thread', class: Google::Apis::ChatV1::Thread, decorator: Google::Apis::ChatV1::Thread::Representation
|
1183
1440
|
|
1441
|
+
property :thread_reply, as: 'threadReply'
|
1184
1442
|
end
|
1185
1443
|
end
|
1186
1444
|
|
@@ -1201,6 +1459,25 @@ module Google
|
|
1201
1459
|
end
|
1202
1460
|
end
|
1203
1461
|
|
1462
|
+
class QuotedMessageMetadata
|
1463
|
+
# @private
|
1464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1465
|
+
property :last_update_time, as: 'lastUpdateTime'
|
1466
|
+
property :name, as: 'name'
|
1467
|
+
end
|
1468
|
+
end
|
1469
|
+
|
1470
|
+
class Reaction
|
1471
|
+
# @private
|
1472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1473
|
+
property :emoji, as: 'emoji', class: Google::Apis::ChatV1::Emoji, decorator: Google::Apis::ChatV1::Emoji::Representation
|
1474
|
+
|
1475
|
+
property :name, as: 'name'
|
1476
|
+
property :user, as: 'user', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
|
1477
|
+
|
1478
|
+
end
|
1479
|
+
end
|
1480
|
+
|
1204
1481
|
class Section
|
1205
1482
|
# @private
|
1206
1483
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1210,6 +1487,17 @@ module Google
|
|
1210
1487
|
end
|
1211
1488
|
end
|
1212
1489
|
|
1490
|
+
class SetUpSpaceRequest
|
1491
|
+
# @private
|
1492
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1493
|
+
collection :memberships, as: 'memberships', class: Google::Apis::ChatV1::Membership, decorator: Google::Apis::ChatV1::Membership::Representation
|
1494
|
+
|
1495
|
+
property :request_id, as: 'requestId'
|
1496
|
+
property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation
|
1497
|
+
|
1498
|
+
end
|
1499
|
+
end
|
1500
|
+
|
1213
1501
|
class SlashCommand
|
1214
1502
|
# @private
|
1215
1503
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1232,16 +1520,28 @@ module Google
|
|
1232
1520
|
class Space
|
1233
1521
|
# @private
|
1234
1522
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1523
|
+
property :admin_installed, as: 'adminInstalled'
|
1235
1524
|
property :display_name, as: 'displayName'
|
1525
|
+
property :external_user_allowed, as: 'externalUserAllowed'
|
1236
1526
|
property :name, as: 'name'
|
1237
1527
|
property :single_user_bot_dm, as: 'singleUserBotDm'
|
1238
1528
|
property :space_details, as: 'spaceDetails', class: Google::Apis::ChatV1::SpaceDetails, decorator: Google::Apis::ChatV1::SpaceDetails::Representation
|
1239
1529
|
|
1530
|
+
property :space_history_state, as: 'spaceHistoryState'
|
1531
|
+
property :space_threading_state, as: 'spaceThreadingState'
|
1532
|
+
property :space_type, as: 'spaceType'
|
1240
1533
|
property :threaded, as: 'threaded'
|
1241
1534
|
property :type, as: 'type'
|
1242
1535
|
end
|
1243
1536
|
end
|
1244
1537
|
|
1538
|
+
class SpaceDataSource
|
1539
|
+
# @private
|
1540
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1541
|
+
property :default_to_current_space, as: 'defaultToCurrentSpace'
|
1542
|
+
end
|
1543
|
+
end
|
1544
|
+
|
1245
1545
|
class SpaceDetails
|
1246
1546
|
# @private
|
1247
1547
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1286,6 +1586,7 @@ module Google
|
|
1286
1586
|
# @private
|
1287
1587
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1288
1588
|
property :name, as: 'name'
|
1589
|
+
property :thread_key, as: 'threadKey'
|
1289
1590
|
end
|
1290
1591
|
end
|
1291
1592
|
|
@@ -1305,6 +1606,21 @@ module Google
|
|
1305
1606
|
end
|
1306
1607
|
end
|
1307
1608
|
|
1609
|
+
class UploadAttachmentRequest
|
1610
|
+
# @private
|
1611
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1612
|
+
property :filename, as: 'filename'
|
1613
|
+
end
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
class UploadAttachmentResponse
|
1617
|
+
# @private
|
1618
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1619
|
+
property :attachment_data_ref, as: 'attachmentDataRef', class: Google::Apis::ChatV1::AttachmentDataRef, decorator: Google::Apis::ChatV1::AttachmentDataRef::Representation
|
1620
|
+
|
1621
|
+
end
|
1622
|
+
end
|
1623
|
+
|
1308
1624
|
class User
|
1309
1625
|
# @private
|
1310
1626
|
class Representation < Google::Apis::Core::JsonRepresentation
|