google-apis-chat_v1 0.88.0 → 0.90.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/chat_v1/classes.rb +637 -24
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +334 -0
- data/lib/google/apis/chat_v1/service.rb +124 -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.90.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 = "20240331"
|
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
|
|
@@ -466,6 +472,12 @@ module Google
|
|
466
472
|
include Google::Apis::Core::JsonObjectSupport
|
467
473
|
end
|
468
474
|
|
475
|
+
class ListSpaceEventsResponse
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
469
481
|
class ListSpacesResponse
|
470
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
483
|
|
@@ -490,12 +502,84 @@ module Google
|
|
490
502
|
include Google::Apis::Core::JsonObjectSupport
|
491
503
|
end
|
492
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
|
+
|
493
541
|
class Message
|
494
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
543
|
|
496
544
|
include Google::Apis::Core::JsonObjectSupport
|
497
545
|
end
|
498
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
|
+
|
499
583
|
class OnClick
|
500
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
585
|
|
@@ -520,6 +604,30 @@ module Google
|
|
520
604
|
include Google::Apis::Core::JsonObjectSupport
|
521
605
|
end
|
522
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
|
+
|
523
631
|
class RichLinkMetadata
|
524
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
633
|
|
@@ -562,6 +670,12 @@ module Google
|
|
562
670
|
include Google::Apis::Core::JsonObjectSupport
|
563
671
|
end
|
564
672
|
|
673
|
+
class SpaceBatchUpdatedEventData
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
565
679
|
class SpaceDataSource
|
566
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
681
|
|
@@ -574,6 +688,18 @@ module Google
|
|
574
688
|
include Google::Apis::Core::JsonObjectSupport
|
575
689
|
end
|
576
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
|
+
|
577
703
|
class Status
|
578
704
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
705
|
|
@@ -652,6 +778,14 @@ module Google
|
|
652
778
|
include Google::Apis::Core::JsonObjectSupport
|
653
779
|
end
|
654
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
|
+
|
655
789
|
class ActionParameter
|
656
790
|
# @private
|
657
791
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1459,6 +1593,15 @@ module Google
|
|
1459
1593
|
end
|
1460
1594
|
end
|
1461
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
|
+
|
1462
1605
|
class ListSpacesResponse
|
1463
1606
|
# @private
|
1464
1607
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1497,9 +1640,59 @@ module Google
|
|
1497
1640
|
end
|
1498
1641
|
end
|
1499
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
|
+
|
1500
1691
|
class Message
|
1501
1692
|
# @private
|
1502
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
|
+
|
1503
1696
|
property :action_response, as: 'actionResponse', class: Google::Apis::ChatV1::ActionResponse, decorator: Google::Apis::ChatV1::ActionResponse::Representation
|
1504
1697
|
|
1505
1698
|
collection :annotations, as: 'annotations', class: Google::Apis::ChatV1::Annotation, decorator: Google::Apis::ChatV1::Annotation::Representation
|
@@ -1543,6 +1736,54 @@ module Google
|
|
1543
1736
|
end
|
1544
1737
|
end
|
1545
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
|
+
|
1546
1787
|
class OnClick
|
1547
1788
|
# @private
|
1548
1789
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1579,6 +1820,38 @@ module Google
|
|
1579
1820
|
end
|
1580
1821
|
end
|
1581
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
|
+
|
1582
1855
|
class RichLinkMetadata
|
1583
1856
|
# @private
|
1584
1857
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1656,6 +1929,14 @@ module Google
|
|
1656
1929
|
end
|
1657
1930
|
end
|
1658
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
|
+
|
1659
1940
|
class SpaceDataSource
|
1660
1941
|
# @private
|
1661
1942
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1671,6 +1952,59 @@ module Google
|
|
1671
1952
|
end
|
1672
1953
|
end
|
1673
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
|
+
|
1674
2008
|
class Status
|
1675
2009
|
# @private
|
1676
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,126 @@ 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 an event from a Google Chat space. The [event payload](https://
|
1259
|
+
# developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#
|
1260
|
+
# SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the
|
1261
|
+
# resource that changed. For example, if you request an event about a new
|
1262
|
+
# message but the message was later updated, the server returns the updated `
|
1263
|
+
# Message` resource in the event payload. Requires [user authentication](https://
|
1264
|
+
# developers.google.com/chat/api/guides/auth/users). To get an event, the
|
1265
|
+
# authenticated user must be a member of the space. For an example, see [Get
|
1266
|
+
# details about an event from a Google Chat space](https://developers.google.com/
|
1267
|
+
# workspace/chat/get-space-event).
|
1268
|
+
# @param [String] name
|
1269
|
+
# Required. The resource name of the space event. Format: `spaces/`space`/
|
1270
|
+
# spaceEvents/`spaceEvent``
|
1271
|
+
# @param [String] fields
|
1272
|
+
# Selector specifying which fields to include in a partial response.
|
1273
|
+
# @param [String] quota_user
|
1274
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1275
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1276
|
+
# @param [Google::Apis::RequestOptions] options
|
1277
|
+
# Request-specific options
|
1278
|
+
#
|
1279
|
+
# @yield [result, err] Result & error if block supplied
|
1280
|
+
# @yieldparam result [Google::Apis::ChatV1::SpaceEvent] parsed result object
|
1281
|
+
# @yieldparam err [StandardError] error object if request failed
|
1282
|
+
#
|
1283
|
+
# @return [Google::Apis::ChatV1::SpaceEvent]
|
1284
|
+
#
|
1285
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1286
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1287
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1288
|
+
def get_space_space_event(name, fields: nil, quota_user: nil, options: nil, &block)
|
1289
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1290
|
+
command.response_representation = Google::Apis::ChatV1::SpaceEvent::Representation
|
1291
|
+
command.response_class = Google::Apis::ChatV1::SpaceEvent
|
1292
|
+
command.params['name'] = name unless name.nil?
|
1293
|
+
command.query['fields'] = fields unless fields.nil?
|
1294
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1295
|
+
execute_or_queue_command(command, &block)
|
1296
|
+
end
|
1297
|
+
|
1298
|
+
# Lists events from a Google Chat space. For each event, the [payload](https://
|
1299
|
+
# developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#
|
1300
|
+
# SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the Chat
|
1301
|
+
# resource. For example, if you list events about new space members, the server
|
1302
|
+
# returns `Membership` resources that contain the latest membership details. If
|
1303
|
+
# new members were removed during the requested period, the event payload
|
1304
|
+
# contains an empty `Membership` resource. Requires [user authentication](https:/
|
1305
|
+
# /developers.google.com/chat/api/guides/auth/users). To list events, the
|
1306
|
+
# authenticated user must be a member of the space. For an example, see [List
|
1307
|
+
# events from a Google Chat space](https://developers.google.com/workspace/chat/
|
1308
|
+
# list-space-events).
|
1309
|
+
# @param [String] parent
|
1310
|
+
# Required. Resource name of the [Google Chat space](https://developers.google.
|
1311
|
+
# com/workspace/chat/api/reference/rest/v1/spaces) where the events occurred.
|
1312
|
+
# Format: `spaces/`space``.
|
1313
|
+
# @param [String] filter
|
1314
|
+
# Required. A query filter. You must specify at least one event type (`
|
1315
|
+
# event_type`) using the has `:` operator. To filter by multiple event types,
|
1316
|
+
# use the `OR` operator. Omit batch event types in your filter. The request
|
1317
|
+
# automatically returns any related batch events. For example, if you filter by
|
1318
|
+
# new reactions (`google.workspace.chat.reaction.v1.created`), the server also
|
1319
|
+
# returns batch new reactions events (`google.workspace.chat.reaction.v1.
|
1320
|
+
# batchCreated`). For a list of supported event types, see the [`SpaceEvents`
|
1321
|
+
# reference documentation](https://developers.google.com/workspace/chat/api/
|
1322
|
+
# reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.event_type). Optionally,
|
1323
|
+
# you can also filter by start time (`start_time`) and end time (`end_time`): *
|
1324
|
+
# `start_time`: Exclusive timestamp from which to start listing space events.
|
1325
|
+
# You can list events that occurred up to 28 days ago. If unspecified, lists
|
1326
|
+
# space events from the past 28 days. * `end_time`: Inclusive timestamp until
|
1327
|
+
# which space events are listed. If unspecified, lists events up to the time of
|
1328
|
+
# the request. To specify a start or end time, use the equals `=` operator and
|
1329
|
+
# format in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339). To filter by
|
1330
|
+
# both `start_time` and `end_time`, use the `AND` operator. For example, the
|
1331
|
+
# following queries are valid: ``` start_time="2023-08-23T19:20:33+00:00" AND
|
1332
|
+
# end_time="2023-08-23T19:21:54+00:00" ``` ``` start_time="2023-08-23T19:20:33+
|
1333
|
+
# 00:00" AND (event_types:"google.workspace.chat.space.v1.updated" OR
|
1334
|
+
# event_types:"google.workspace.chat.message.v1.created") ``` The following
|
1335
|
+
# queries are invalid: ``` start_time="2023-08-23T19:20:33+00:00" OR end_time="
|
1336
|
+
# 2023-08-23T19:21:54+00:00" ``` ``` event_types:"google.workspace.chat.space.v1.
|
1337
|
+
# updated" AND event_types:"google.workspace.chat.message.v1.created" ```
|
1338
|
+
# Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.
|
1339
|
+
# @param [Fixnum] page_size
|
1340
|
+
# Optional. The maximum number of space events returned. The service might
|
1341
|
+
# return fewer than this value. Negative values return an `INVALID_ARGUMENT`
|
1342
|
+
# error.
|
1343
|
+
# @param [String] page_token
|
1344
|
+
# A page token, received from a previous list space events call. Provide this to
|
1345
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
1346
|
+
# to list space events must match the call that provided the page token. Passing
|
1347
|
+
# different values to the other parameters might lead to unexpected results.
|
1348
|
+
# @param [String] fields
|
1349
|
+
# Selector specifying which fields to include in a partial response.
|
1350
|
+
# @param [String] quota_user
|
1351
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1352
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1353
|
+
# @param [Google::Apis::RequestOptions] options
|
1354
|
+
# Request-specific options
|
1355
|
+
#
|
1356
|
+
# @yield [result, err] Result & error if block supplied
|
1357
|
+
# @yieldparam result [Google::Apis::ChatV1::ListSpaceEventsResponse] parsed result object
|
1358
|
+
# @yieldparam err [StandardError] error object if request failed
|
1359
|
+
#
|
1360
|
+
# @return [Google::Apis::ChatV1::ListSpaceEventsResponse]
|
1361
|
+
#
|
1362
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1363
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1364
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1365
|
+
def list_space_space_events(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1366
|
+
command = make_simple_command(:get, 'v1/{+parent}/spaceEvents', options)
|
1367
|
+
command.response_representation = Google::Apis::ChatV1::ListSpaceEventsResponse::Representation
|
1368
|
+
command.response_class = Google::Apis::ChatV1::ListSpaceEventsResponse
|
1369
|
+
command.params['parent'] = parent unless parent.nil?
|
1370
|
+
command.query['filter'] = filter unless filter.nil?
|
1371
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1372
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1373
|
+
command.query['fields'] = fields unless fields.nil?
|
1374
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1375
|
+
execute_or_queue_command(command, &block)
|
1376
|
+
end
|
1257
1377
|
|
1258
1378
|
protected
|
1259
1379
|
|
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.90.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-
|
11
|
+
date: 2024-04-07 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.90.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: []
|