google-apis-chat_v1 0.89.0 → 0.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/chat_v1/classes.rb +108 -93
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +45 -30
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6cc9ed7910cf35c081201e5cc99b2c89ab4ad02293a4d250d7afa259256b7636
|
|
4
|
+
data.tar.gz: 682b5fb7c844c9243be19762d4dc744258fce934a0d6057c12207a51a18aadac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: afb76a13118f3396d5fd650d9158fb9c6adb087b552e6be485935ef8d5c8f51bbbe2800a471eef7f229484de3226ab33106fd695e9484501f4f4c4f259e60668
|
|
7
|
+
data.tar.gz: 3884fb915469b5499ced43487912fd1a27033d897448c3b8da848425146562d7514c9e161b3cd2c1eb801d210cdc820359d46fbf9591606a71e5daa1fae009b5
|
data/CHANGELOG.md
CHANGED
|
@@ -3602,12 +3602,12 @@ module Google
|
|
|
3602
3602
|
end
|
|
3603
3603
|
end
|
|
3604
3604
|
|
|
3605
|
-
#
|
|
3606
|
-
#
|
|
3605
|
+
# Event payload for multiple new memberships. Event type: `google.workspace.chat.
|
|
3606
|
+
# membership.v1.batchCreated`
|
|
3607
3607
|
class MembershipBatchCreatedEventData
|
|
3608
3608
|
include Google::Apis::Core::Hashable
|
|
3609
3609
|
|
|
3610
|
-
# A list of
|
|
3610
|
+
# A list of new memberships.
|
|
3611
3611
|
# Corresponds to the JSON property `memberships`
|
|
3612
3612
|
# @return [Array<Google::Apis::ChatV1::MembershipCreatedEventData>]
|
|
3613
3613
|
attr_accessor :memberships
|
|
@@ -3622,8 +3622,8 @@ module Google
|
|
|
3622
3622
|
end
|
|
3623
3623
|
end
|
|
3624
3624
|
|
|
3625
|
-
#
|
|
3626
|
-
#
|
|
3625
|
+
# Event payload for multiple deleted memberships. Event type: `google.workspace.
|
|
3626
|
+
# chat.membership.v1.batchDeleted`
|
|
3627
3627
|
class MembershipBatchDeletedEventData
|
|
3628
3628
|
include Google::Apis::Core::Hashable
|
|
3629
3629
|
|
|
@@ -3642,8 +3642,8 @@ module Google
|
|
|
3642
3642
|
end
|
|
3643
3643
|
end
|
|
3644
3644
|
|
|
3645
|
-
#
|
|
3646
|
-
#
|
|
3645
|
+
# Event payload for multiple updated memberships. Event type: `google.workspace.
|
|
3646
|
+
# chat.membership.v1.batchUpdated`
|
|
3647
3647
|
class MembershipBatchUpdatedEventData
|
|
3648
3648
|
include Google::Apis::Core::Hashable
|
|
3649
3649
|
|
|
@@ -3662,8 +3662,8 @@ module Google
|
|
|
3662
3662
|
end
|
|
3663
3663
|
end
|
|
3664
3664
|
|
|
3665
|
-
#
|
|
3666
|
-
#
|
|
3665
|
+
# Event payload for a new membership. Event type: `google.workspace.chat.
|
|
3666
|
+
# membership.v1.created`.
|
|
3667
3667
|
class MembershipCreatedEventData
|
|
3668
3668
|
include Google::Apis::Core::Hashable
|
|
3669
3669
|
|
|
@@ -3683,8 +3683,8 @@ module Google
|
|
|
3683
3683
|
end
|
|
3684
3684
|
end
|
|
3685
3685
|
|
|
3686
|
-
#
|
|
3687
|
-
#
|
|
3686
|
+
# Event payload for a deleted membership. Event type: `google.workspace.chat.
|
|
3687
|
+
# membership.v1.deleted`
|
|
3688
3688
|
class MembershipDeletedEventData
|
|
3689
3689
|
include Google::Apis::Core::Hashable
|
|
3690
3690
|
|
|
@@ -3704,8 +3704,8 @@ module Google
|
|
|
3704
3704
|
end
|
|
3705
3705
|
end
|
|
3706
3706
|
|
|
3707
|
-
#
|
|
3708
|
-
#
|
|
3707
|
+
# Event payload for an updated membership. Event type: `google.workspace.chat.
|
|
3708
|
+
# membership.v1.updated`
|
|
3709
3709
|
class MembershipUpdatedEventData
|
|
3710
3710
|
include Google::Apis::Core::Hashable
|
|
3711
3711
|
|
|
@@ -3965,12 +3965,12 @@ module Google
|
|
|
3965
3965
|
end
|
|
3966
3966
|
end
|
|
3967
3967
|
|
|
3968
|
-
#
|
|
3969
|
-
#
|
|
3968
|
+
# Event payload for multiple new messages. Event type: `google.workspace.chat.
|
|
3969
|
+
# message.v1.batchCreated`
|
|
3970
3970
|
class MessageBatchCreatedEventData
|
|
3971
3971
|
include Google::Apis::Core::Hashable
|
|
3972
3972
|
|
|
3973
|
-
# A list of
|
|
3973
|
+
# A list of new messages.
|
|
3974
3974
|
# Corresponds to the JSON property `messages`
|
|
3975
3975
|
# @return [Array<Google::Apis::ChatV1::MessageCreatedEventData>]
|
|
3976
3976
|
attr_accessor :messages
|
|
@@ -3985,8 +3985,8 @@ module Google
|
|
|
3985
3985
|
end
|
|
3986
3986
|
end
|
|
3987
3987
|
|
|
3988
|
-
#
|
|
3989
|
-
#
|
|
3988
|
+
# Event payload for multiple deleted messages. Event type: `google.workspace.
|
|
3989
|
+
# chat.message.v1.batchDeleted`
|
|
3990
3990
|
class MessageBatchDeletedEventData
|
|
3991
3991
|
include Google::Apis::Core::Hashable
|
|
3992
3992
|
|
|
@@ -4005,8 +4005,8 @@ module Google
|
|
|
4005
4005
|
end
|
|
4006
4006
|
end
|
|
4007
4007
|
|
|
4008
|
-
#
|
|
4009
|
-
#
|
|
4008
|
+
# Event payload for multiple updated messages. Event type: `google.workspace.
|
|
4009
|
+
# chat.message.v1.batchUpdated`
|
|
4010
4010
|
class MessageBatchUpdatedEventData
|
|
4011
4011
|
include Google::Apis::Core::Hashable
|
|
4012
4012
|
|
|
@@ -4025,8 +4025,8 @@ module Google
|
|
|
4025
4025
|
end
|
|
4026
4026
|
end
|
|
4027
4027
|
|
|
4028
|
-
#
|
|
4029
|
-
#
|
|
4028
|
+
# Event payload for a new message. Event type: `google.workspace.chat.message.v1.
|
|
4029
|
+
# created`
|
|
4030
4030
|
class MessageCreatedEventData
|
|
4031
4031
|
include Google::Apis::Core::Hashable
|
|
4032
4032
|
|
|
@@ -4045,8 +4045,8 @@ module Google
|
|
|
4045
4045
|
end
|
|
4046
4046
|
end
|
|
4047
4047
|
|
|
4048
|
-
#
|
|
4049
|
-
#
|
|
4048
|
+
# Event payload for a deleted message. Event type: `google.workspace.chat.
|
|
4049
|
+
# message.v1.deleted`
|
|
4050
4050
|
class MessageDeletedEventData
|
|
4051
4051
|
include Google::Apis::Core::Hashable
|
|
4052
4052
|
|
|
@@ -4065,8 +4065,8 @@ module Google
|
|
|
4065
4065
|
end
|
|
4066
4066
|
end
|
|
4067
4067
|
|
|
4068
|
-
#
|
|
4069
|
-
#
|
|
4068
|
+
# Event payload for an updated message. Event type: `google.workspace.chat.
|
|
4069
|
+
# message.v1.updated`
|
|
4070
4070
|
class MessageUpdatedEventData
|
|
4071
4071
|
include Google::Apis::Core::Hashable
|
|
4072
4072
|
|
|
@@ -4192,12 +4192,12 @@ module Google
|
|
|
4192
4192
|
end
|
|
4193
4193
|
end
|
|
4194
4194
|
|
|
4195
|
-
#
|
|
4196
|
-
#
|
|
4195
|
+
# Event payload for multiple new reactions. Event type: `google.workspace.chat.
|
|
4196
|
+
# reaction.v1.batchCreated`
|
|
4197
4197
|
class ReactionBatchCreatedEventData
|
|
4198
4198
|
include Google::Apis::Core::Hashable
|
|
4199
4199
|
|
|
4200
|
-
# A list of
|
|
4200
|
+
# A list of new reactions.
|
|
4201
4201
|
# Corresponds to the JSON property `reactions`
|
|
4202
4202
|
# @return [Array<Google::Apis::ChatV1::ReactionCreatedEventData>]
|
|
4203
4203
|
attr_accessor :reactions
|
|
@@ -4212,8 +4212,8 @@ module Google
|
|
|
4212
4212
|
end
|
|
4213
4213
|
end
|
|
4214
4214
|
|
|
4215
|
-
#
|
|
4216
|
-
#
|
|
4215
|
+
# Event payload for multiple deleted reactions. Event type: `google.workspace.
|
|
4216
|
+
# chat.reaction.v1.batchDeleted`
|
|
4217
4217
|
class ReactionBatchDeletedEventData
|
|
4218
4218
|
include Google::Apis::Core::Hashable
|
|
4219
4219
|
|
|
@@ -4232,8 +4232,8 @@ module Google
|
|
|
4232
4232
|
end
|
|
4233
4233
|
end
|
|
4234
4234
|
|
|
4235
|
-
#
|
|
4236
|
-
#
|
|
4235
|
+
# Event payload for a new reaction. Event type: `google.workspace.chat.reaction.
|
|
4236
|
+
# v1.created`
|
|
4237
4237
|
class ReactionCreatedEventData
|
|
4238
4238
|
include Google::Apis::Core::Hashable
|
|
4239
4239
|
|
|
@@ -4252,8 +4252,8 @@ module Google
|
|
|
4252
4252
|
end
|
|
4253
4253
|
end
|
|
4254
4254
|
|
|
4255
|
-
#
|
|
4256
|
-
#
|
|
4255
|
+
# Event payload for a deleted reaction. Type: `google.workspace.chat.reaction.v1.
|
|
4256
|
+
# deleted`
|
|
4257
4257
|
class ReactionDeletedEventData
|
|
4258
4258
|
include Google::Apis::Core::Hashable
|
|
4259
4259
|
|
|
@@ -4592,8 +4592,8 @@ module Google
|
|
|
4592
4592
|
end
|
|
4593
4593
|
end
|
|
4594
4594
|
|
|
4595
|
-
#
|
|
4596
|
-
#
|
|
4595
|
+
# Event payload for multiple updates to a space. Event type: `google.workspace.
|
|
4596
|
+
# chat.space.v1.batchUpdated`
|
|
4597
4597
|
class SpaceBatchUpdatedEventData
|
|
4598
4598
|
include Google::Apis::Core::Hashable
|
|
4599
4599
|
|
|
@@ -4663,144 +4663,159 @@ module Google
|
|
|
4663
4663
|
end
|
|
4664
4664
|
end
|
|
4665
4665
|
|
|
4666
|
-
# An event that
|
|
4666
|
+
# An event that represents a change or activity in a Google Chat space. To learn
|
|
4667
|
+
# more, see [Work with events from Google Chat](https://developers.google.com/
|
|
4668
|
+
# workspace/chat/events-overview).
|
|
4667
4669
|
class SpaceEvent
|
|
4668
4670
|
include Google::Apis::Core::Hashable
|
|
4669
4671
|
|
|
4670
|
-
# Time
|
|
4672
|
+
# Time when the event occurred.
|
|
4671
4673
|
# Corresponds to the JSON property `eventTime`
|
|
4672
4674
|
# @return [String]
|
|
4673
4675
|
attr_accessor :event_time
|
|
4674
4676
|
|
|
4675
|
-
# Type of
|
|
4676
|
-
#
|
|
4677
|
-
# `
|
|
4678
|
-
#
|
|
4679
|
-
#
|
|
4680
|
-
#
|
|
4681
|
-
#
|
|
4682
|
-
# google.workspace.chat.
|
|
4683
|
-
# chat.
|
|
4684
|
-
#
|
|
4685
|
-
#
|
|
4686
|
-
#
|
|
4687
|
-
# workspace
|
|
4688
|
-
#
|
|
4689
|
-
#
|
|
4677
|
+
# Type of space event. Each event type has a batch version, which represents
|
|
4678
|
+
# multiple instances of the event type that occur in a short period of time. For
|
|
4679
|
+
# `spaceEvents.list()` requests, omit batch event types in your query filter. By
|
|
4680
|
+
# default, the server returns both event type and its batch version. Supported
|
|
4681
|
+
# event types for [messages](https://developers.google.com/workspace/chat/api/
|
|
4682
|
+
# reference/rest/v1/spaces.messages): * New message: `google.workspace.chat.
|
|
4683
|
+
# message.v1.created` * Updated message: `google.workspace.chat.message.v1.
|
|
4684
|
+
# updated` * Deleted message: `google.workspace.chat.message.v1.deleted` *
|
|
4685
|
+
# Multiple new messages: `google.workspace.chat.message.v1.batchCreated` *
|
|
4686
|
+
# Multiple updated messages: `google.workspace.chat.message.v1.batchUpdated` *
|
|
4687
|
+
# Multiple deleted messages: `google.workspace.chat.message.v1.batchDeleted`
|
|
4688
|
+
# Supported event types for [memberships](https://developers.google.com/
|
|
4689
|
+
# workspace/chat/api/reference/rest/v1/spaces.members): * New membership: `
|
|
4690
|
+
# google.workspace.chat.membership.v1.created` * Updated membership: `google.
|
|
4691
|
+
# workspace.chat.membership.v1.updated` * Deleted membership: `google.workspace.
|
|
4692
|
+
# chat.membership.v1.deleted` * Multiple new memberships: `google.workspace.chat.
|
|
4693
|
+
# membership.v1.batchCreated` * Multiple updated memberships: `google.workspace.
|
|
4694
|
+
# chat.membership.v1.batchUpdated` * Multiple deleted memberships: `google.
|
|
4695
|
+
# workspace.chat.membership.v1.batchDeleted` Supported event types for [
|
|
4696
|
+
# reactions](https://developers.google.com/workspace/chat/api/reference/rest/v1/
|
|
4697
|
+
# spaces.messages.reactions): * New reaction: `google.workspace.chat.reaction.v1.
|
|
4698
|
+
# created` * Deleted reaction: `google.workspace.chat.reaction.v1.deleted` *
|
|
4699
|
+
# Multiple new reactions: `google.workspace.chat.reaction.v1.batchCreated` *
|
|
4700
|
+
# Multiple deleted reactions: `google.workspace.chat.reaction.v1.batchDeleted`
|
|
4701
|
+
# Supported event types about the [space](https://developers.google.com/
|
|
4702
|
+
# workspace/chat/api/reference/rest/v1/spaces): * Updated space: `google.
|
|
4703
|
+
# workspace.chat.space.v1.updated` * Multiple space updates: `google.workspace.
|
|
4704
|
+
# chat.space.v1.batchUpdated`
|
|
4690
4705
|
# Corresponds to the JSON property `eventType`
|
|
4691
4706
|
# @return [String]
|
|
4692
4707
|
attr_accessor :event_type
|
|
4693
4708
|
|
|
4694
|
-
#
|
|
4695
|
-
#
|
|
4709
|
+
# Event payload for multiple new memberships. Event type: `google.workspace.chat.
|
|
4710
|
+
# membership.v1.batchCreated`
|
|
4696
4711
|
# Corresponds to the JSON property `membershipBatchCreatedEventData`
|
|
4697
4712
|
# @return [Google::Apis::ChatV1::MembershipBatchCreatedEventData]
|
|
4698
4713
|
attr_accessor :membership_batch_created_event_data
|
|
4699
4714
|
|
|
4700
|
-
#
|
|
4701
|
-
#
|
|
4715
|
+
# Event payload for multiple deleted memberships. Event type: `google.workspace.
|
|
4716
|
+
# chat.membership.v1.batchDeleted`
|
|
4702
4717
|
# Corresponds to the JSON property `membershipBatchDeletedEventData`
|
|
4703
4718
|
# @return [Google::Apis::ChatV1::MembershipBatchDeletedEventData]
|
|
4704
4719
|
attr_accessor :membership_batch_deleted_event_data
|
|
4705
4720
|
|
|
4706
|
-
#
|
|
4707
|
-
#
|
|
4721
|
+
# Event payload for multiple updated memberships. Event type: `google.workspace.
|
|
4722
|
+
# chat.membership.v1.batchUpdated`
|
|
4708
4723
|
# Corresponds to the JSON property `membershipBatchUpdatedEventData`
|
|
4709
4724
|
# @return [Google::Apis::ChatV1::MembershipBatchUpdatedEventData]
|
|
4710
4725
|
attr_accessor :membership_batch_updated_event_data
|
|
4711
4726
|
|
|
4712
|
-
#
|
|
4713
|
-
#
|
|
4727
|
+
# Event payload for a new membership. Event type: `google.workspace.chat.
|
|
4728
|
+
# membership.v1.created`.
|
|
4714
4729
|
# Corresponds to the JSON property `membershipCreatedEventData`
|
|
4715
4730
|
# @return [Google::Apis::ChatV1::MembershipCreatedEventData]
|
|
4716
4731
|
attr_accessor :membership_created_event_data
|
|
4717
4732
|
|
|
4718
|
-
#
|
|
4719
|
-
#
|
|
4733
|
+
# Event payload for a deleted membership. Event type: `google.workspace.chat.
|
|
4734
|
+
# membership.v1.deleted`
|
|
4720
4735
|
# Corresponds to the JSON property `membershipDeletedEventData`
|
|
4721
4736
|
# @return [Google::Apis::ChatV1::MembershipDeletedEventData]
|
|
4722
4737
|
attr_accessor :membership_deleted_event_data
|
|
4723
4738
|
|
|
4724
|
-
#
|
|
4725
|
-
#
|
|
4739
|
+
# Event payload for an updated membership. Event type: `google.workspace.chat.
|
|
4740
|
+
# membership.v1.updated`
|
|
4726
4741
|
# Corresponds to the JSON property `membershipUpdatedEventData`
|
|
4727
4742
|
# @return [Google::Apis::ChatV1::MembershipUpdatedEventData]
|
|
4728
4743
|
attr_accessor :membership_updated_event_data
|
|
4729
4744
|
|
|
4730
|
-
#
|
|
4731
|
-
#
|
|
4745
|
+
# Event payload for multiple new messages. Event type: `google.workspace.chat.
|
|
4746
|
+
# message.v1.batchCreated`
|
|
4732
4747
|
# Corresponds to the JSON property `messageBatchCreatedEventData`
|
|
4733
4748
|
# @return [Google::Apis::ChatV1::MessageBatchCreatedEventData]
|
|
4734
4749
|
attr_accessor :message_batch_created_event_data
|
|
4735
4750
|
|
|
4736
|
-
#
|
|
4737
|
-
#
|
|
4751
|
+
# Event payload for multiple deleted messages. Event type: `google.workspace.
|
|
4752
|
+
# chat.message.v1.batchDeleted`
|
|
4738
4753
|
# Corresponds to the JSON property `messageBatchDeletedEventData`
|
|
4739
4754
|
# @return [Google::Apis::ChatV1::MessageBatchDeletedEventData]
|
|
4740
4755
|
attr_accessor :message_batch_deleted_event_data
|
|
4741
4756
|
|
|
4742
|
-
#
|
|
4743
|
-
#
|
|
4757
|
+
# Event payload for multiple updated messages. Event type: `google.workspace.
|
|
4758
|
+
# chat.message.v1.batchUpdated`
|
|
4744
4759
|
# Corresponds to the JSON property `messageBatchUpdatedEventData`
|
|
4745
4760
|
# @return [Google::Apis::ChatV1::MessageBatchUpdatedEventData]
|
|
4746
4761
|
attr_accessor :message_batch_updated_event_data
|
|
4747
4762
|
|
|
4748
|
-
#
|
|
4749
|
-
#
|
|
4763
|
+
# Event payload for a new message. Event type: `google.workspace.chat.message.v1.
|
|
4764
|
+
# created`
|
|
4750
4765
|
# Corresponds to the JSON property `messageCreatedEventData`
|
|
4751
4766
|
# @return [Google::Apis::ChatV1::MessageCreatedEventData]
|
|
4752
4767
|
attr_accessor :message_created_event_data
|
|
4753
4768
|
|
|
4754
|
-
#
|
|
4755
|
-
#
|
|
4769
|
+
# Event payload for a deleted message. Event type: `google.workspace.chat.
|
|
4770
|
+
# message.v1.deleted`
|
|
4756
4771
|
# Corresponds to the JSON property `messageDeletedEventData`
|
|
4757
4772
|
# @return [Google::Apis::ChatV1::MessageDeletedEventData]
|
|
4758
4773
|
attr_accessor :message_deleted_event_data
|
|
4759
4774
|
|
|
4760
|
-
#
|
|
4761
|
-
#
|
|
4775
|
+
# Event payload for an updated message. Event type: `google.workspace.chat.
|
|
4776
|
+
# message.v1.updated`
|
|
4762
4777
|
# Corresponds to the JSON property `messageUpdatedEventData`
|
|
4763
4778
|
# @return [Google::Apis::ChatV1::MessageUpdatedEventData]
|
|
4764
4779
|
attr_accessor :message_updated_event_data
|
|
4765
4780
|
|
|
4766
|
-
#
|
|
4781
|
+
# Resource name of the space event. Format: `spaces/`space`/spaceEvents/`
|
|
4767
4782
|
# spaceEvent``
|
|
4768
4783
|
# Corresponds to the JSON property `name`
|
|
4769
4784
|
# @return [String]
|
|
4770
4785
|
attr_accessor :name
|
|
4771
4786
|
|
|
4772
|
-
#
|
|
4773
|
-
#
|
|
4787
|
+
# Event payload for multiple new reactions. Event type: `google.workspace.chat.
|
|
4788
|
+
# reaction.v1.batchCreated`
|
|
4774
4789
|
# Corresponds to the JSON property `reactionBatchCreatedEventData`
|
|
4775
4790
|
# @return [Google::Apis::ChatV1::ReactionBatchCreatedEventData]
|
|
4776
4791
|
attr_accessor :reaction_batch_created_event_data
|
|
4777
4792
|
|
|
4778
|
-
#
|
|
4779
|
-
#
|
|
4793
|
+
# Event payload for multiple deleted reactions. Event type: `google.workspace.
|
|
4794
|
+
# chat.reaction.v1.batchDeleted`
|
|
4780
4795
|
# Corresponds to the JSON property `reactionBatchDeletedEventData`
|
|
4781
4796
|
# @return [Google::Apis::ChatV1::ReactionBatchDeletedEventData]
|
|
4782
4797
|
attr_accessor :reaction_batch_deleted_event_data
|
|
4783
4798
|
|
|
4784
|
-
#
|
|
4785
|
-
#
|
|
4799
|
+
# Event payload for a new reaction. Event type: `google.workspace.chat.reaction.
|
|
4800
|
+
# v1.created`
|
|
4786
4801
|
# Corresponds to the JSON property `reactionCreatedEventData`
|
|
4787
4802
|
# @return [Google::Apis::ChatV1::ReactionCreatedEventData]
|
|
4788
4803
|
attr_accessor :reaction_created_event_data
|
|
4789
4804
|
|
|
4790
|
-
#
|
|
4791
|
-
#
|
|
4805
|
+
# Event payload for a deleted reaction. Type: `google.workspace.chat.reaction.v1.
|
|
4806
|
+
# deleted`
|
|
4792
4807
|
# Corresponds to the JSON property `reactionDeletedEventData`
|
|
4793
4808
|
# @return [Google::Apis::ChatV1::ReactionDeletedEventData]
|
|
4794
4809
|
attr_accessor :reaction_deleted_event_data
|
|
4795
4810
|
|
|
4796
|
-
#
|
|
4797
|
-
#
|
|
4811
|
+
# Event payload for multiple updates to a space. Event type: `google.workspace.
|
|
4812
|
+
# chat.space.v1.batchUpdated`
|
|
4798
4813
|
# Corresponds to the JSON property `spaceBatchUpdatedEventData`
|
|
4799
4814
|
# @return [Google::Apis::ChatV1::SpaceBatchUpdatedEventData]
|
|
4800
4815
|
attr_accessor :space_batch_updated_event_data
|
|
4801
4816
|
|
|
4802
|
-
#
|
|
4803
|
-
#
|
|
4817
|
+
# Event payload for an updated space. Event type: `google.workspace.chat.space.
|
|
4818
|
+
# v1.updated`
|
|
4804
4819
|
# Corresponds to the JSON property `spaceUpdatedEventData`
|
|
4805
4820
|
# @return [Google::Apis::ChatV1::SpaceUpdatedEventData]
|
|
4806
4821
|
attr_accessor :space_updated_event_data
|
|
@@ -4835,8 +4850,8 @@ module Google
|
|
|
4835
4850
|
end
|
|
4836
4851
|
end
|
|
4837
4852
|
|
|
4838
|
-
#
|
|
4839
|
-
#
|
|
4853
|
+
# Event payload for an updated space. Event type: `google.workspace.chat.space.
|
|
4854
|
+
# v1.updated`
|
|
4840
4855
|
class SpaceUpdatedEventData
|
|
4841
4856
|
include Google::Apis::Core::Hashable
|
|
4842
4857
|
|
|
@@ -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
|
|
@@ -1255,15 +1255,19 @@ module Google
|
|
|
1255
1255
|
execute_or_queue_command(command, &block)
|
|
1256
1256
|
end
|
|
1257
1257
|
|
|
1258
|
-
# Returns
|
|
1259
|
-
#
|
|
1260
|
-
#
|
|
1261
|
-
#
|
|
1262
|
-
#
|
|
1263
|
-
# authentication](https://
|
|
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).
|
|
1264
1268
|
# @param [String] name
|
|
1265
|
-
# Required. The resource name of the event. Format: `spaces/`space`/
|
|
1266
|
-
# spaceEvent``
|
|
1269
|
+
# Required. The resource name of the space event. Format: `spaces/`space`/
|
|
1270
|
+
# spaceEvents/`spaceEvent``
|
|
1267
1271
|
# @param [String] fields
|
|
1268
1272
|
# Selector specifying which fields to include in a partial response.
|
|
1269
1273
|
# @param [String] quota_user
|
|
@@ -1291,28 +1295,38 @@ module Google
|
|
|
1291
1295
|
execute_or_queue_command(command, &block)
|
|
1292
1296
|
end
|
|
1293
1297
|
|
|
1294
|
-
# Lists
|
|
1295
|
-
#
|
|
1296
|
-
#
|
|
1297
|
-
#
|
|
1298
|
-
#
|
|
1299
|
-
#
|
|
1300
|
-
#
|
|
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).
|
|
1301
1309
|
# @param [String] parent
|
|
1302
|
-
# Required.
|
|
1303
|
-
# spaces
|
|
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``.
|
|
1304
1313
|
# @param [String] filter
|
|
1305
|
-
# Required. A query filter.
|
|
1306
|
-
#
|
|
1307
|
-
#
|
|
1308
|
-
#
|
|
1309
|
-
#
|
|
1310
|
-
#
|
|
1311
|
-
#
|
|
1312
|
-
#
|
|
1313
|
-
#
|
|
1314
|
-
#
|
|
1315
|
-
#
|
|
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
|
|
1316
1330
|
# both `start_time` and `end_time`, use the `AND` operator. For example, the
|
|
1317
1331
|
# following queries are valid: ``` start_time="2023-08-23T19:20:33+00:00" AND
|
|
1318
1332
|
# end_time="2023-08-23T19:21:54+00:00" ``` ``` start_time="2023-08-23T19:20:33+
|
|
@@ -1323,8 +1337,9 @@ module Google
|
|
|
1323
1337
|
# updated" AND event_types:"google.workspace.chat.message.v1.created" ```
|
|
1324
1338
|
# Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.
|
|
1325
1339
|
# @param [Fixnum] page_size
|
|
1326
|
-
# Optional. The maximum number of space events returned. The service
|
|
1327
|
-
# fewer than this value. Negative values return an `INVALID_ARGUMENT`
|
|
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.
|
|
1328
1343
|
# @param [String] page_token
|
|
1329
1344
|
# A page token, received from a previous list space events call. Provide this to
|
|
1330
1345
|
# retrieve the subsequent page. When paginating, all other parameters provided
|
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: []
|