google-apis-chat_v1 0.57.0 → 0.59.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.57.0"
19
+ GEM_VERSION = "0.59.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230328"
25
+ REVISION = "20230516"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class CustomEmoji
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class DateInput
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -118,6 +124,12 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class DeletionMetadata
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
121
133
  class DeprecatedEvent
122
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
135
 
@@ -142,6 +154,18 @@ module Google
142
154
  include Google::Apis::Core::JsonObjectSupport
143
155
  end
144
156
 
157
+ class Emoji
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class EmojiReactionSummary
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
145
169
  class Empty
146
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
171
 
@@ -208,6 +232,18 @@ module Google
208
232
  include Google::Apis::Core::JsonObjectSupport
209
233
  end
210
234
 
235
+ class GoogleAppsCardV1Column
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleAppsCardV1Columns
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
211
247
  class GoogleAppsCardV1DateTimePicker
212
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
249
 
@@ -226,6 +262,12 @@ module Google
226
262
  include Google::Apis::Core::JsonObjectSupport
227
263
  end
228
264
 
265
+ class GoogleAppsCardV1FooterWidget
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
229
271
  class GoogleAppsCardV1Grid
230
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
273
 
@@ -328,6 +370,12 @@ module Google
328
370
  include Google::Apis::Core::JsonObjectSupport
329
371
  end
330
372
 
373
+ class GoogleAppsCardV1Widgets
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
331
379
  class Image
332
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
381
 
@@ -358,6 +406,18 @@ module Google
358
406
  include Google::Apis::Core::JsonObjectSupport
359
407
  end
360
408
 
409
+ class ListMessagesResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class ListReactionsResponse
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
361
421
  class ListSpacesResponse
362
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
423
 
@@ -400,12 +460,24 @@ module Google
400
460
  include Google::Apis::Core::JsonObjectSupport
401
461
  end
402
462
 
463
+ class Reaction
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
403
469
  class Section
404
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
471
 
406
472
  include Google::Apis::Core::JsonObjectSupport
407
473
  end
408
474
 
475
+ class SetUpSpaceRequest
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
409
481
  class SlashCommand
410
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
483
 
@@ -472,6 +544,18 @@ module Google
472
544
  include Google::Apis::Core::JsonObjectSupport
473
545
  end
474
546
 
547
+ class UploadAttachmentRequest
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class UploadAttachmentResponse
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
475
559
  class User
476
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
561
 
@@ -548,6 +632,7 @@ module Google
548
632
  class AttachmentDataRef
549
633
  # @private
550
634
  class Representation < Google::Apis::Core::JsonRepresentation
635
+ property :attachment_upload_token, as: 'attachmentUploadToken'
551
636
  property :resource_name, as: 'resourceName'
552
637
  end
553
638
  end
@@ -638,6 +723,13 @@ module Google
638
723
  end
639
724
  end
640
725
 
726
+ class CustomEmoji
727
+ # @private
728
+ class Representation < Google::Apis::Core::JsonRepresentation
729
+ property :uid, as: 'uid'
730
+ end
731
+ end
732
+
641
733
  class DateInput
642
734
  # @private
643
735
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -654,6 +746,13 @@ module Google
654
746
  end
655
747
  end
656
748
 
749
+ class DeletionMetadata
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :deletion_type, as: 'deletionType'
753
+ end
754
+ end
755
+
657
756
  class DeprecatedEvent
658
757
  # @private
659
758
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -702,6 +801,24 @@ module Google
702
801
  end
703
802
  end
704
803
 
804
+ class Emoji
805
+ # @private
806
+ class Representation < Google::Apis::Core::JsonRepresentation
807
+ property :custom_emoji, as: 'customEmoji', class: Google::Apis::ChatV1::CustomEmoji, decorator: Google::Apis::ChatV1::CustomEmoji::Representation
808
+
809
+ property :unicode, as: 'unicode'
810
+ end
811
+ end
812
+
813
+ class EmojiReactionSummary
814
+ # @private
815
+ class Representation < Google::Apis::Core::JsonRepresentation
816
+ property :emoji, as: 'emoji', class: Google::Apis::ChatV1::Emoji, decorator: Google::Apis::ChatV1::Emoji::Representation
817
+
818
+ property :reaction_count, as: 'reactionCount'
819
+ end
820
+ end
821
+
705
822
  class Empty
706
823
  # @private
707
824
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -804,6 +921,8 @@ module Google
804
921
 
805
922
  property :secondary_button, as: 'secondaryButton', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
806
923
 
924
+ collection :widgets, as: 'widgets', class: Google::Apis::ChatV1::GoogleAppsCardV1FooterWidget, decorator: Google::Apis::ChatV1::GoogleAppsCardV1FooterWidget::Representation
925
+
807
926
  end
808
927
  end
809
928
 
@@ -818,6 +937,25 @@ module Google
818
937
  end
819
938
  end
820
939
 
940
+ class GoogleAppsCardV1Column
941
+ # @private
942
+ class Representation < Google::Apis::Core::JsonRepresentation
943
+ property :horizontal_alignment, as: 'horizontalAlignment'
944
+ property :horizontal_size_style, as: 'horizontalSizeStyle'
945
+ property :vertical_alignment, as: 'verticalAlignment'
946
+ collection :widgets, as: 'widgets', class: Google::Apis::ChatV1::GoogleAppsCardV1Widgets, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Widgets::Representation
947
+
948
+ end
949
+ end
950
+
951
+ class GoogleAppsCardV1Columns
952
+ # @private
953
+ class Representation < Google::Apis::Core::JsonRepresentation
954
+ collection :column_items, as: 'columnItems', class: Google::Apis::ChatV1::GoogleAppsCardV1Column, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Column::Representation
955
+
956
+ end
957
+ end
958
+
821
959
  class GoogleAppsCardV1DateTimePicker
822
960
  # @private
823
961
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -859,6 +997,22 @@ module Google
859
997
  end
860
998
  end
861
999
 
1000
+ class GoogleAppsCardV1FooterWidget
1001
+ # @private
1002
+ class Representation < Google::Apis::Core::JsonRepresentation
1003
+ property :button_list, as: 'buttonList', class: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList::Representation
1004
+
1005
+ property :date_time_picker, as: 'dateTimePicker', class: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker::Representation
1006
+
1007
+ property :decorated_text, as: 'decoratedText', class: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText::Representation
1008
+
1009
+ property :text_input, as: 'textInput', class: Google::Apis::ChatV1::GoogleAppsCardV1TextInput, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextInput::Representation
1010
+
1011
+ property :text_paragraph, as: 'textParagraph', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation
1012
+
1013
+ end
1014
+ end
1015
+
862
1016
  class GoogleAppsCardV1Grid
863
1017
  # @private
864
1018
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1037,6 +1191,8 @@ module Google
1037
1191
  class Representation < Google::Apis::Core::JsonRepresentation
1038
1192
  property :button_list, as: 'buttonList', class: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList::Representation
1039
1193
 
1194
+ property :columns, as: 'columns', class: Google::Apis::ChatV1::GoogleAppsCardV1Columns, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Columns::Representation
1195
+
1040
1196
  property :date_time_picker, as: 'dateTimePicker', class: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker::Representation
1041
1197
 
1042
1198
  property :decorated_text, as: 'decoratedText', class: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText::Representation
@@ -1045,6 +1201,27 @@ module Google
1045
1201
 
1046
1202
  property :grid, as: 'grid', class: Google::Apis::ChatV1::GoogleAppsCardV1Grid, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Grid::Representation
1047
1203
 
1204
+ property :horizontal_alignment, as: 'horizontalAlignment'
1205
+ property :image, as: 'image', class: Google::Apis::ChatV1::GoogleAppsCardV1Image, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Image::Representation
1206
+
1207
+ property :selection_input, as: 'selectionInput', class: Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput::Representation
1208
+
1209
+ property :text_input, as: 'textInput', class: Google::Apis::ChatV1::GoogleAppsCardV1TextInput, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextInput::Representation
1210
+
1211
+ property :text_paragraph, as: 'textParagraph', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation
1212
+
1213
+ end
1214
+ end
1215
+
1216
+ class GoogleAppsCardV1Widgets
1217
+ # @private
1218
+ class Representation < Google::Apis::Core::JsonRepresentation
1219
+ property :button_list, as: 'buttonList', class: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList::Representation
1220
+
1221
+ property :date_time_picker, as: 'dateTimePicker', class: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker::Representation
1222
+
1223
+ property :decorated_text, as: 'decoratedText', class: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText::Representation
1224
+
1048
1225
  property :image, as: 'image', class: Google::Apis::ChatV1::GoogleAppsCardV1Image, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Image::Representation
1049
1226
 
1050
1227
  property :selection_input, as: 'selectionInput', class: Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput::Representation
@@ -1116,6 +1293,24 @@ module Google
1116
1293
  end
1117
1294
  end
1118
1295
 
1296
+ class ListMessagesResponse
1297
+ # @private
1298
+ class Representation < Google::Apis::Core::JsonRepresentation
1299
+ collection :messages, as: 'messages', class: Google::Apis::ChatV1::Message, decorator: Google::Apis::ChatV1::Message::Representation
1300
+
1301
+ property :next_page_token, as: 'nextPageToken'
1302
+ end
1303
+ end
1304
+
1305
+ class ListReactionsResponse
1306
+ # @private
1307
+ class Representation < Google::Apis::Core::JsonRepresentation
1308
+ property :next_page_token, as: 'nextPageToken'
1309
+ collection :reactions, as: 'reactions', class: Google::Apis::ChatV1::Reaction, decorator: Google::Apis::ChatV1::Reaction::Representation
1310
+
1311
+ end
1312
+ end
1313
+
1119
1314
  class ListSpacesResponse
1120
1315
  # @private
1121
1316
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1167,6 +1362,11 @@ module Google
1167
1362
 
1168
1363
  property :client_assigned_message_id, as: 'clientAssignedMessageId'
1169
1364
  property :create_time, as: 'createTime'
1365
+ property :delete_time, as: 'deleteTime'
1366
+ property :deletion_metadata, as: 'deletionMetadata', class: Google::Apis::ChatV1::DeletionMetadata, decorator: Google::Apis::ChatV1::DeletionMetadata::Representation
1367
+
1368
+ collection :emoji_reaction_summaries, as: 'emojiReactionSummaries', class: Google::Apis::ChatV1::EmojiReactionSummary, decorator: Google::Apis::ChatV1::EmojiReactionSummary::Representation
1369
+
1170
1370
  property :fallback_text, as: 'fallbackText'
1171
1371
  property :last_update_time, as: 'lastUpdateTime'
1172
1372
  property :matched_url, as: 'matchedUrl', class: Google::Apis::ChatV1::MatchedUrl, decorator: Google::Apis::ChatV1::MatchedUrl::Representation
@@ -1202,6 +1402,17 @@ module Google
1202
1402
  end
1203
1403
  end
1204
1404
 
1405
+ class Reaction
1406
+ # @private
1407
+ class Representation < Google::Apis::Core::JsonRepresentation
1408
+ property :emoji, as: 'emoji', class: Google::Apis::ChatV1::Emoji, decorator: Google::Apis::ChatV1::Emoji::Representation
1409
+
1410
+ property :name, as: 'name'
1411
+ property :user, as: 'user', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
1412
+
1413
+ end
1414
+ end
1415
+
1205
1416
  class Section
1206
1417
  # @private
1207
1418
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1211,6 +1422,17 @@ module Google
1211
1422
  end
1212
1423
  end
1213
1424
 
1425
+ class SetUpSpaceRequest
1426
+ # @private
1427
+ class Representation < Google::Apis::Core::JsonRepresentation
1428
+ collection :memberships, as: 'memberships', class: Google::Apis::ChatV1::Membership, decorator: Google::Apis::ChatV1::Membership::Representation
1429
+
1430
+ property :request_id, as: 'requestId'
1431
+ property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation
1432
+
1433
+ end
1434
+ end
1435
+
1214
1436
  class SlashCommand
1215
1437
  # @private
1216
1438
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1239,7 +1461,9 @@ module Google
1239
1461
  property :single_user_bot_dm, as: 'singleUserBotDm'
1240
1462
  property :space_details, as: 'spaceDetails', class: Google::Apis::ChatV1::SpaceDetails, decorator: Google::Apis::ChatV1::SpaceDetails::Representation
1241
1463
 
1464
+ property :space_history_state, as: 'spaceHistoryState'
1242
1465
  property :space_threading_state, as: 'spaceThreadingState'
1466
+ property :space_type, as: 'spaceType'
1243
1467
  property :threaded, as: 'threaded'
1244
1468
  property :type, as: 'type'
1245
1469
  end
@@ -1309,6 +1533,21 @@ module Google
1309
1533
  end
1310
1534
  end
1311
1535
 
1536
+ class UploadAttachmentRequest
1537
+ # @private
1538
+ class Representation < Google::Apis::Core::JsonRepresentation
1539
+ property :filename, as: 'filename'
1540
+ end
1541
+ end
1542
+
1543
+ class UploadAttachmentResponse
1544
+ # @private
1545
+ class Representation < Google::Apis::Core::JsonRepresentation
1546
+ property :attachment_data_ref, as: 'attachmentDataRef', class: Google::Apis::ChatV1::AttachmentDataRef, decorator: Google::Apis::ChatV1::AttachmentDataRef::Representation
1547
+
1548
+ end
1549
+ end
1550
+
1312
1551
  class User
1313
1552
  # @private
1314
1553
  class Representation < Google::Apis::Core::JsonRepresentation