google-apis-chat_v1 0.87.0 → 0.89.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 +8 -0
- data/lib/google/apis/chat_v1/classes.rb +678 -12
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +352 -0
- data/lib/google/apis/chat_v1/service.rb +109 -4
- 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.89.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240326"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ChatV1
|
24
24
|
|
25
|
+
class AccessoryWidget
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class ActionParameter
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -328,6 +334,12 @@ module Google
|
|
328
334
|
include Google::Apis::Core::JsonObjectSupport
|
329
335
|
end
|
330
336
|
|
337
|
+
class GoogleAppsCardV1MaterialIcon
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
331
343
|
class GoogleAppsCardV1OnClick
|
332
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
345
|
|
@@ -460,6 +472,12 @@ module Google
|
|
460
472
|
include Google::Apis::Core::JsonObjectSupport
|
461
473
|
end
|
462
474
|
|
475
|
+
class ListSpaceEventsResponse
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
463
481
|
class ListSpacesResponse
|
464
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
483
|
|
@@ -484,12 +502,84 @@ module Google
|
|
484
502
|
include Google::Apis::Core::JsonObjectSupport
|
485
503
|
end
|
486
504
|
|
505
|
+
class MembershipBatchCreatedEventData
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
511
|
+
class MembershipBatchDeletedEventData
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
517
|
+
class MembershipBatchUpdatedEventData
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
523
|
+
class MembershipCreatedEventData
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
529
|
+
class MembershipDeletedEventData
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
535
|
+
class MembershipUpdatedEventData
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
487
541
|
class Message
|
488
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
543
|
|
490
544
|
include Google::Apis::Core::JsonObjectSupport
|
491
545
|
end
|
492
546
|
|
547
|
+
class MessageBatchCreatedEventData
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
553
|
+
class MessageBatchDeletedEventData
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
559
|
+
class MessageBatchUpdatedEventData
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
|
+
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
563
|
+
end
|
564
|
+
|
565
|
+
class MessageCreatedEventData
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
|
+
|
568
|
+
include Google::Apis::Core::JsonObjectSupport
|
569
|
+
end
|
570
|
+
|
571
|
+
class MessageDeletedEventData
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
577
|
+
class MessageUpdatedEventData
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
493
583
|
class OnClick
|
494
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
585
|
|
@@ -514,6 +604,30 @@ module Google
|
|
514
604
|
include Google::Apis::Core::JsonObjectSupport
|
515
605
|
end
|
516
606
|
|
607
|
+
class ReactionBatchCreatedEventData
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
613
|
+
class ReactionBatchDeletedEventData
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
619
|
+
class ReactionCreatedEventData
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
625
|
+
class ReactionDeletedEventData
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
517
631
|
class RichLinkMetadata
|
518
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
633
|
|
@@ -556,6 +670,12 @@ module Google
|
|
556
670
|
include Google::Apis::Core::JsonObjectSupport
|
557
671
|
end
|
558
672
|
|
673
|
+
class SpaceBatchUpdatedEventData
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
559
679
|
class SpaceDataSource
|
560
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
681
|
|
@@ -568,6 +688,18 @@ module Google
|
|
568
688
|
include Google::Apis::Core::JsonObjectSupport
|
569
689
|
end
|
570
690
|
|
691
|
+
class SpaceEvent
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
|
+
|
694
|
+
include Google::Apis::Core::JsonObjectSupport
|
695
|
+
end
|
696
|
+
|
697
|
+
class SpaceUpdatedEventData
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
|
+
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
701
|
+
end
|
702
|
+
|
571
703
|
class Status
|
572
704
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
705
|
|
@@ -646,6 +778,14 @@ module Google
|
|
646
778
|
include Google::Apis::Core::JsonObjectSupport
|
647
779
|
end
|
648
780
|
|
781
|
+
class AccessoryWidget
|
782
|
+
# @private
|
783
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
784
|
+
property :button_list, as: 'buttonList', class: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList::Representation
|
785
|
+
|
786
|
+
end
|
787
|
+
end
|
788
|
+
|
649
789
|
class ActionParameter
|
650
790
|
# @private
|
651
791
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1143,6 +1283,8 @@ module Google
|
|
1143
1283
|
property :icon_url, as: 'iconUrl'
|
1144
1284
|
property :image_type, as: 'imageType'
|
1145
1285
|
property :known_icon, as: 'knownIcon'
|
1286
|
+
property :material_icon, as: 'materialIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon::Representation
|
1287
|
+
|
1146
1288
|
end
|
1147
1289
|
end
|
1148
1290
|
|
@@ -1176,6 +1318,16 @@ module Google
|
|
1176
1318
|
end
|
1177
1319
|
end
|
1178
1320
|
|
1321
|
+
class GoogleAppsCardV1MaterialIcon
|
1322
|
+
# @private
|
1323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1324
|
+
property :fill, as: 'fill'
|
1325
|
+
property :grade, as: 'grade'
|
1326
|
+
property :name, as: 'name'
|
1327
|
+
property :weight, as: 'weight'
|
1328
|
+
end
|
1329
|
+
end
|
1330
|
+
|
1179
1331
|
class GoogleAppsCardV1OnClick
|
1180
1332
|
# @private
|
1181
1333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1441,6 +1593,15 @@ module Google
|
|
1441
1593
|
end
|
1442
1594
|
end
|
1443
1595
|
|
1596
|
+
class ListSpaceEventsResponse
|
1597
|
+
# @private
|
1598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1599
|
+
property :next_page_token, as: 'nextPageToken'
|
1600
|
+
collection :space_events, as: 'spaceEvents', class: Google::Apis::ChatV1::SpaceEvent, decorator: Google::Apis::ChatV1::SpaceEvent::Representation
|
1601
|
+
|
1602
|
+
end
|
1603
|
+
end
|
1604
|
+
|
1444
1605
|
class ListSpacesResponse
|
1445
1606
|
# @private
|
1446
1607
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1479,9 +1640,59 @@ module Google
|
|
1479
1640
|
end
|
1480
1641
|
end
|
1481
1642
|
|
1643
|
+
class MembershipBatchCreatedEventData
|
1644
|
+
# @private
|
1645
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1646
|
+
collection :memberships, as: 'memberships', class: Google::Apis::ChatV1::MembershipCreatedEventData, decorator: Google::Apis::ChatV1::MembershipCreatedEventData::Representation
|
1647
|
+
|
1648
|
+
end
|
1649
|
+
end
|
1650
|
+
|
1651
|
+
class MembershipBatchDeletedEventData
|
1652
|
+
# @private
|
1653
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1654
|
+
collection :memberships, as: 'memberships', class: Google::Apis::ChatV1::MembershipDeletedEventData, decorator: Google::Apis::ChatV1::MembershipDeletedEventData::Representation
|
1655
|
+
|
1656
|
+
end
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
class MembershipBatchUpdatedEventData
|
1660
|
+
# @private
|
1661
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1662
|
+
collection :memberships, as: 'memberships', class: Google::Apis::ChatV1::MembershipUpdatedEventData, decorator: Google::Apis::ChatV1::MembershipUpdatedEventData::Representation
|
1663
|
+
|
1664
|
+
end
|
1665
|
+
end
|
1666
|
+
|
1667
|
+
class MembershipCreatedEventData
|
1668
|
+
# @private
|
1669
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1670
|
+
property :membership, as: 'membership', class: Google::Apis::ChatV1::Membership, decorator: Google::Apis::ChatV1::Membership::Representation
|
1671
|
+
|
1672
|
+
end
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
class MembershipDeletedEventData
|
1676
|
+
# @private
|
1677
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1678
|
+
property :membership, as: 'membership', class: Google::Apis::ChatV1::Membership, decorator: Google::Apis::ChatV1::Membership::Representation
|
1679
|
+
|
1680
|
+
end
|
1681
|
+
end
|
1682
|
+
|
1683
|
+
class MembershipUpdatedEventData
|
1684
|
+
# @private
|
1685
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1686
|
+
property :membership, as: 'membership', class: Google::Apis::ChatV1::Membership, decorator: Google::Apis::ChatV1::Membership::Representation
|
1687
|
+
|
1688
|
+
end
|
1689
|
+
end
|
1690
|
+
|
1482
1691
|
class Message
|
1483
1692
|
# @private
|
1484
1693
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1694
|
+
collection :accessory_widgets, as: 'accessoryWidgets', class: Google::Apis::ChatV1::AccessoryWidget, decorator: Google::Apis::ChatV1::AccessoryWidget::Representation
|
1695
|
+
|
1485
1696
|
property :action_response, as: 'actionResponse', class: Google::Apis::ChatV1::ActionResponse, decorator: Google::Apis::ChatV1::ActionResponse::Representation
|
1486
1697
|
|
1487
1698
|
collection :annotations, as: 'annotations', class: Google::Apis::ChatV1::Annotation, decorator: Google::Apis::ChatV1::Annotation::Representation
|
@@ -1525,6 +1736,54 @@ module Google
|
|
1525
1736
|
end
|
1526
1737
|
end
|
1527
1738
|
|
1739
|
+
class MessageBatchCreatedEventData
|
1740
|
+
# @private
|
1741
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1742
|
+
collection :messages, as: 'messages', class: Google::Apis::ChatV1::MessageCreatedEventData, decorator: Google::Apis::ChatV1::MessageCreatedEventData::Representation
|
1743
|
+
|
1744
|
+
end
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
class MessageBatchDeletedEventData
|
1748
|
+
# @private
|
1749
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1750
|
+
collection :messages, as: 'messages', class: Google::Apis::ChatV1::MessageDeletedEventData, decorator: Google::Apis::ChatV1::MessageDeletedEventData::Representation
|
1751
|
+
|
1752
|
+
end
|
1753
|
+
end
|
1754
|
+
|
1755
|
+
class MessageBatchUpdatedEventData
|
1756
|
+
# @private
|
1757
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1758
|
+
collection :messages, as: 'messages', class: Google::Apis::ChatV1::MessageUpdatedEventData, decorator: Google::Apis::ChatV1::MessageUpdatedEventData::Representation
|
1759
|
+
|
1760
|
+
end
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
class MessageCreatedEventData
|
1764
|
+
# @private
|
1765
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1766
|
+
property :message, as: 'message', class: Google::Apis::ChatV1::Message, decorator: Google::Apis::ChatV1::Message::Representation
|
1767
|
+
|
1768
|
+
end
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
class MessageDeletedEventData
|
1772
|
+
# @private
|
1773
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1774
|
+
property :message, as: 'message', class: Google::Apis::ChatV1::Message, decorator: Google::Apis::ChatV1::Message::Representation
|
1775
|
+
|
1776
|
+
end
|
1777
|
+
end
|
1778
|
+
|
1779
|
+
class MessageUpdatedEventData
|
1780
|
+
# @private
|
1781
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1782
|
+
property :message, as: 'message', class: Google::Apis::ChatV1::Message, decorator: Google::Apis::ChatV1::Message::Representation
|
1783
|
+
|
1784
|
+
end
|
1785
|
+
end
|
1786
|
+
|
1528
1787
|
class OnClick
|
1529
1788
|
# @private
|
1530
1789
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1561,6 +1820,38 @@ module Google
|
|
1561
1820
|
end
|
1562
1821
|
end
|
1563
1822
|
|
1823
|
+
class ReactionBatchCreatedEventData
|
1824
|
+
# @private
|
1825
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1826
|
+
collection :reactions, as: 'reactions', class: Google::Apis::ChatV1::ReactionCreatedEventData, decorator: Google::Apis::ChatV1::ReactionCreatedEventData::Representation
|
1827
|
+
|
1828
|
+
end
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
class ReactionBatchDeletedEventData
|
1832
|
+
# @private
|
1833
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1834
|
+
collection :reactions, as: 'reactions', class: Google::Apis::ChatV1::ReactionDeletedEventData, decorator: Google::Apis::ChatV1::ReactionDeletedEventData::Representation
|
1835
|
+
|
1836
|
+
end
|
1837
|
+
end
|
1838
|
+
|
1839
|
+
class ReactionCreatedEventData
|
1840
|
+
# @private
|
1841
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1842
|
+
property :reaction, as: 'reaction', class: Google::Apis::ChatV1::Reaction, decorator: Google::Apis::ChatV1::Reaction::Representation
|
1843
|
+
|
1844
|
+
end
|
1845
|
+
end
|
1846
|
+
|
1847
|
+
class ReactionDeletedEventData
|
1848
|
+
# @private
|
1849
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1850
|
+
property :reaction, as: 'reaction', class: Google::Apis::ChatV1::Reaction, decorator: Google::Apis::ChatV1::Reaction::Representation
|
1851
|
+
|
1852
|
+
end
|
1853
|
+
end
|
1854
|
+
|
1564
1855
|
class RichLinkMetadata
|
1565
1856
|
# @private
|
1566
1857
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1638,6 +1929,14 @@ module Google
|
|
1638
1929
|
end
|
1639
1930
|
end
|
1640
1931
|
|
1932
|
+
class SpaceBatchUpdatedEventData
|
1933
|
+
# @private
|
1934
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1935
|
+
collection :spaces, as: 'spaces', class: Google::Apis::ChatV1::SpaceUpdatedEventData, decorator: Google::Apis::ChatV1::SpaceUpdatedEventData::Representation
|
1936
|
+
|
1937
|
+
end
|
1938
|
+
end
|
1939
|
+
|
1641
1940
|
class SpaceDataSource
|
1642
1941
|
# @private
|
1643
1942
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1653,6 +1952,59 @@ module Google
|
|
1653
1952
|
end
|
1654
1953
|
end
|
1655
1954
|
|
1955
|
+
class SpaceEvent
|
1956
|
+
# @private
|
1957
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1958
|
+
property :event_time, as: 'eventTime'
|
1959
|
+
property :event_type, as: 'eventType'
|
1960
|
+
property :membership_batch_created_event_data, as: 'membershipBatchCreatedEventData', class: Google::Apis::ChatV1::MembershipBatchCreatedEventData, decorator: Google::Apis::ChatV1::MembershipBatchCreatedEventData::Representation
|
1961
|
+
|
1962
|
+
property :membership_batch_deleted_event_data, as: 'membershipBatchDeletedEventData', class: Google::Apis::ChatV1::MembershipBatchDeletedEventData, decorator: Google::Apis::ChatV1::MembershipBatchDeletedEventData::Representation
|
1963
|
+
|
1964
|
+
property :membership_batch_updated_event_data, as: 'membershipBatchUpdatedEventData', class: Google::Apis::ChatV1::MembershipBatchUpdatedEventData, decorator: Google::Apis::ChatV1::MembershipBatchUpdatedEventData::Representation
|
1965
|
+
|
1966
|
+
property :membership_created_event_data, as: 'membershipCreatedEventData', class: Google::Apis::ChatV1::MembershipCreatedEventData, decorator: Google::Apis::ChatV1::MembershipCreatedEventData::Representation
|
1967
|
+
|
1968
|
+
property :membership_deleted_event_data, as: 'membershipDeletedEventData', class: Google::Apis::ChatV1::MembershipDeletedEventData, decorator: Google::Apis::ChatV1::MembershipDeletedEventData::Representation
|
1969
|
+
|
1970
|
+
property :membership_updated_event_data, as: 'membershipUpdatedEventData', class: Google::Apis::ChatV1::MembershipUpdatedEventData, decorator: Google::Apis::ChatV1::MembershipUpdatedEventData::Representation
|
1971
|
+
|
1972
|
+
property :message_batch_created_event_data, as: 'messageBatchCreatedEventData', class: Google::Apis::ChatV1::MessageBatchCreatedEventData, decorator: Google::Apis::ChatV1::MessageBatchCreatedEventData::Representation
|
1973
|
+
|
1974
|
+
property :message_batch_deleted_event_data, as: 'messageBatchDeletedEventData', class: Google::Apis::ChatV1::MessageBatchDeletedEventData, decorator: Google::Apis::ChatV1::MessageBatchDeletedEventData::Representation
|
1975
|
+
|
1976
|
+
property :message_batch_updated_event_data, as: 'messageBatchUpdatedEventData', class: Google::Apis::ChatV1::MessageBatchUpdatedEventData, decorator: Google::Apis::ChatV1::MessageBatchUpdatedEventData::Representation
|
1977
|
+
|
1978
|
+
property :message_created_event_data, as: 'messageCreatedEventData', class: Google::Apis::ChatV1::MessageCreatedEventData, decorator: Google::Apis::ChatV1::MessageCreatedEventData::Representation
|
1979
|
+
|
1980
|
+
property :message_deleted_event_data, as: 'messageDeletedEventData', class: Google::Apis::ChatV1::MessageDeletedEventData, decorator: Google::Apis::ChatV1::MessageDeletedEventData::Representation
|
1981
|
+
|
1982
|
+
property :message_updated_event_data, as: 'messageUpdatedEventData', class: Google::Apis::ChatV1::MessageUpdatedEventData, decorator: Google::Apis::ChatV1::MessageUpdatedEventData::Representation
|
1983
|
+
|
1984
|
+
property :name, as: 'name'
|
1985
|
+
property :reaction_batch_created_event_data, as: 'reactionBatchCreatedEventData', class: Google::Apis::ChatV1::ReactionBatchCreatedEventData, decorator: Google::Apis::ChatV1::ReactionBatchCreatedEventData::Representation
|
1986
|
+
|
1987
|
+
property :reaction_batch_deleted_event_data, as: 'reactionBatchDeletedEventData', class: Google::Apis::ChatV1::ReactionBatchDeletedEventData, decorator: Google::Apis::ChatV1::ReactionBatchDeletedEventData::Representation
|
1988
|
+
|
1989
|
+
property :reaction_created_event_data, as: 'reactionCreatedEventData', class: Google::Apis::ChatV1::ReactionCreatedEventData, decorator: Google::Apis::ChatV1::ReactionCreatedEventData::Representation
|
1990
|
+
|
1991
|
+
property :reaction_deleted_event_data, as: 'reactionDeletedEventData', class: Google::Apis::ChatV1::ReactionDeletedEventData, decorator: Google::Apis::ChatV1::ReactionDeletedEventData::Representation
|
1992
|
+
|
1993
|
+
property :space_batch_updated_event_data, as: 'spaceBatchUpdatedEventData', class: Google::Apis::ChatV1::SpaceBatchUpdatedEventData, decorator: Google::Apis::ChatV1::SpaceBatchUpdatedEventData::Representation
|
1994
|
+
|
1995
|
+
property :space_updated_event_data, as: 'spaceUpdatedEventData', class: Google::Apis::ChatV1::SpaceUpdatedEventData, decorator: Google::Apis::ChatV1::SpaceUpdatedEventData::Representation
|
1996
|
+
|
1997
|
+
end
|
1998
|
+
end
|
1999
|
+
|
2000
|
+
class SpaceUpdatedEventData
|
2001
|
+
# @private
|
2002
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2003
|
+
property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation
|
2004
|
+
|
2005
|
+
end
|
2006
|
+
end
|
2007
|
+
|
1656
2008
|
class Status
|
1657
2009
|
# @private
|
1658
2010
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -986,8 +986,8 @@ module Google
|
|
986
986
|
# use `*` to update all field paths. Currently supported field paths: - `text` -
|
987
987
|
# `attachment` - `cards` (Requires [app authentication](/chat/api/guides/auth/
|
988
988
|
# service-accounts).) - `cards_v2` (Requires [app authentication](/chat/api/
|
989
|
-
# guides/auth/service-accounts).) -
|
990
|
-
#
|
989
|
+
# guides/auth/service-accounts).) - `accessory_widgets` (Requires [app
|
990
|
+
# authentication](/chat/api/guides/auth/service-accounts).)
|
991
991
|
# @param [String] fields
|
992
992
|
# Selector specifying which fields to include in a partial response.
|
993
993
|
# @param [String] quota_user
|
@@ -1050,8 +1050,8 @@ module Google
|
|
1050
1050
|
# use `*` to update all field paths. Currently supported field paths: - `text` -
|
1051
1051
|
# `attachment` - `cards` (Requires [app authentication](/chat/api/guides/auth/
|
1052
1052
|
# service-accounts).) - `cards_v2` (Requires [app authentication](/chat/api/
|
1053
|
-
# guides/auth/service-accounts).) -
|
1054
|
-
#
|
1053
|
+
# guides/auth/service-accounts).) - `accessory_widgets` (Requires [app
|
1054
|
+
# authentication](/chat/api/guides/auth/service-accounts).)
|
1055
1055
|
# @param [String] fields
|
1056
1056
|
# Selector specifying which fields to include in a partial response.
|
1057
1057
|
# @param [String] quota_user
|
@@ -1254,6 +1254,111 @@ module Google
|
|
1254
1254
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1255
1255
|
execute_or_queue_command(command, &block)
|
1256
1256
|
end
|
1257
|
+
|
1258
|
+
# Returns a SpaceEvent. You can request events from up to 28 days before the
|
1259
|
+
# time of the request. The server will return the most recent version of the
|
1260
|
+
# resource. For example, if a `google.workspace.chat.message.v1.created` event
|
1261
|
+
# is requested and the message has since been deleted, the returned event will
|
1262
|
+
# contain the deleted message resource in the payload. Requires [user
|
1263
|
+
# authentication](https://developers.google.com/chat/api/guides/auth/users).
|
1264
|
+
# @param [String] name
|
1265
|
+
# Required. The resource name of the event. Format: `spaces/`space`/spaceEvents/`
|
1266
|
+
# spaceEvent``
|
1267
|
+
# @param [String] fields
|
1268
|
+
# Selector specifying which fields to include in a partial response.
|
1269
|
+
# @param [String] quota_user
|
1270
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1271
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1272
|
+
# @param [Google::Apis::RequestOptions] options
|
1273
|
+
# Request-specific options
|
1274
|
+
#
|
1275
|
+
# @yield [result, err] Result & error if block supplied
|
1276
|
+
# @yieldparam result [Google::Apis::ChatV1::SpaceEvent] parsed result object
|
1277
|
+
# @yieldparam err [StandardError] error object if request failed
|
1278
|
+
#
|
1279
|
+
# @return [Google::Apis::ChatV1::SpaceEvent]
|
1280
|
+
#
|
1281
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1282
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1283
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1284
|
+
def get_space_space_event(name, fields: nil, quota_user: nil, options: nil, &block)
|
1285
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1286
|
+
command.response_representation = Google::Apis::ChatV1::SpaceEvent::Representation
|
1287
|
+
command.response_class = Google::Apis::ChatV1::SpaceEvent
|
1288
|
+
command.params['name'] = name unless name.nil?
|
1289
|
+
command.query['fields'] = fields unless fields.nil?
|
1290
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1291
|
+
execute_or_queue_command(command, &block)
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
# Lists SpaceEvents in a space that the caller is a member of. You can request
|
1295
|
+
# events from up to 28 days before the time of the request. The server will
|
1296
|
+
# return the most recent version of the resources. For example, if a `google.
|
1297
|
+
# workspace.chat.message.v1.created` event is requested and the message has
|
1298
|
+
# since been deleted, the returned event will contain the deleted message
|
1299
|
+
# resource in the payload. Requires [user authentication](https://developers.
|
1300
|
+
# google.com/chat/api/guides/auth/users).
|
1301
|
+
# @param [String] parent
|
1302
|
+
# Required. The resource name of the space from which to list events. Format: `
|
1303
|
+
# spaces/`space``.
|
1304
|
+
# @param [String] filter
|
1305
|
+
# Required. A query filter. This method supports filtering by: `event_types`, `
|
1306
|
+
# start_time`, and `end_time`. `event_types`: You must specify at least one
|
1307
|
+
# event type in your query. `event_types` supports the has `:` operator. To
|
1308
|
+
# filter by multiple event types, use the `OR` operator. To see the list of
|
1309
|
+
# currently supported event types, see google.chat.v1.SpaceEvent.event_type `
|
1310
|
+
# start_time`: Exclusive timestamp from which to start listing space events. You
|
1311
|
+
# can list events that occurred up to 28 days ago. If unspecified, lists space
|
1312
|
+
# events from the 28 days ago up to end time. `end_time`: Inclusive timestamp up
|
1313
|
+
# to which space events are listed. Default value is the present. `start_time`
|
1314
|
+
# and `end_time` accept a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/
|
1315
|
+
# rfc3339) format and support the equals `=` comparison operator. To filter by
|
1316
|
+
# both `start_time` and `end_time`, use the `AND` operator. For example, the
|
1317
|
+
# following queries are valid: ``` start_time="2023-08-23T19:20:33+00:00" AND
|
1318
|
+
# end_time="2023-08-23T19:21:54+00:00" ``` ``` start_time="2023-08-23T19:20:33+
|
1319
|
+
# 00:00" AND (event_types:"google.workspace.chat.space.v1.updated" OR
|
1320
|
+
# event_types:"google.workspace.chat.message.v1.created") ``` The following
|
1321
|
+
# queries are invalid: ``` start_time="2023-08-23T19:20:33+00:00" OR end_time="
|
1322
|
+
# 2023-08-23T19:21:54+00:00" ``` ``` event_types:"google.workspace.chat.space.v1.
|
1323
|
+
# updated" AND event_types:"google.workspace.chat.message.v1.created" ```
|
1324
|
+
# Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.
|
1325
|
+
# @param [Fixnum] page_size
|
1326
|
+
# Optional. The maximum number of space events returned. The service may return
|
1327
|
+
# fewer than this value. Negative values return an `INVALID_ARGUMENT` error.
|
1328
|
+
# @param [String] page_token
|
1329
|
+
# A page token, received from a previous list space events call. Provide this to
|
1330
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
1331
|
+
# to list space events must match the call that provided the page token. Passing
|
1332
|
+
# different values to the other parameters might lead to unexpected results.
|
1333
|
+
# @param [String] fields
|
1334
|
+
# Selector specifying which fields to include in a partial response.
|
1335
|
+
# @param [String] quota_user
|
1336
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1337
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1338
|
+
# @param [Google::Apis::RequestOptions] options
|
1339
|
+
# Request-specific options
|
1340
|
+
#
|
1341
|
+
# @yield [result, err] Result & error if block supplied
|
1342
|
+
# @yieldparam result [Google::Apis::ChatV1::ListSpaceEventsResponse] parsed result object
|
1343
|
+
# @yieldparam err [StandardError] error object if request failed
|
1344
|
+
#
|
1345
|
+
# @return [Google::Apis::ChatV1::ListSpaceEventsResponse]
|
1346
|
+
#
|
1347
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1348
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1349
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1350
|
+
def list_space_space_events(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1351
|
+
command = make_simple_command(:get, 'v1/{+parent}/spaceEvents', options)
|
1352
|
+
command.response_representation = Google::Apis::ChatV1::ListSpaceEventsResponse::Representation
|
1353
|
+
command.response_class = Google::Apis::ChatV1::ListSpaceEventsResponse
|
1354
|
+
command.params['parent'] = parent unless parent.nil?
|
1355
|
+
command.query['filter'] = filter unless filter.nil?
|
1356
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1357
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1358
|
+
command.query['fields'] = fields unless fields.nil?
|
1359
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1360
|
+
execute_or_queue_command(command, &block)
|
1361
|
+
end
|
1257
1362
|
|
1258
1363
|
protected
|
1259
1364
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-chat_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.89.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.89.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|