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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71f4935fa980b3303edbf7381da5a4d31aebe59a255e89f44a48da1967791f6f
4
- data.tar.gz: 252dea7611be44cb3ad20c2688525d8d93db24ed245c8c84e7aeeb0a294d4218
3
+ metadata.gz: 6cc9ed7910cf35c081201e5cc99b2c89ab4ad02293a4d250d7afa259256b7636
4
+ data.tar.gz: 682b5fb7c844c9243be19762d4dc744258fce934a0d6057c12207a51a18aadac
5
5
  SHA512:
6
- metadata.gz: ff719680d4478da8d80b89fc8b16d04f8dfcb796d91ad35563a3320eb9b0e9ba5a42441af5308925067cbe1e7a22ab17f9efecfc8cce73709a7075158b28971e
7
- data.tar.gz: e3b4da11bc39f28c18aa286442066f223a7acc0cdaace8269d535d243adfd577ea1e0b2b0a58b4165f72f197f847bda84a1fbb2b5204eed1080b40d058cf7143
6
+ metadata.gz: afb76a13118f3396d5fd650d9158fb9c6adb087b552e6be485935ef8d5c8f51bbbe2800a471eef7f229484de3226ab33106fd695e9484501f4f4c4f259e60668
7
+ data.tar.gz: 3884fb915469b5499ced43487912fd1a27033d897448c3b8da848425146562d7514c9e161b3cd2c1eb801d210cdc820359d46fbf9591606a71e5daa1fae009b5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.90.0 (2024-04-07)
4
+
5
+ * Regenerated from discovery document revision 20240331
6
+
3
7
  ### v0.89.0 (2024-03-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20240326
@@ -3602,12 +3602,12 @@ module Google
3602
3602
  end
3603
3603
  end
3604
3604
 
3605
- # Payload for batch new membership events where the `EventType` field is `google.
3606
- # workspace.chat.membership.v1.batchCreated`.
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 created memberships.
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
- # Payload for batch deleted membership events where the `EventType` field is `
3626
- # google.workspace.chat.membership.v1.batchDeleted`.
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
- # Payload for batch updated membership events where the `EventType` field is `
3646
- # google.workspace.chat.membership.v1.batchUpdated`.
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
- # Payload for new membership events where the `EventType` field is `google.
3666
- # workspace.chat.membership.v1.created`.
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
- # Payload for deleted membership events where the `EventType` field is `google.
3687
- # workspace.chat.membership.v1.deleted`.
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
- # Payload for updated membership events where the `EventType` field is `google.
3708
- # workspace.chat.membership.v1.updated`.
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
- # Payload for batch new message events where the `EventType` field is `google.
3969
- # workspace.chat.message.v1.batchCreated`.
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 created messages.
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
- # Payload for batch deleted message events where the `EventType` field is `
3989
- # google.workspace.chat.message.v1.batchDeleted`.
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
- # Payload for batch updated message events where the `EventType` field is `
4009
- # google.workspace.chat.message.v1.batchUpdated`.
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
- # Payload for new message events where the `EventType` field is `google.
4029
- # workspace.chat.message.v1.created`.
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
- # Payload for deleted message events where the `EventType` field is `google.
4049
- # workspace.chat.message.v1.deleted`.
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
- # Payload for updated message events where the `EventType` field is `google.
4069
- # workspace.chat.message.v1.updated`.
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
- # Payload for batch new reaction events where the `EventType` field is `google.
4196
- # workspace.chat.reaction.v1.batchCreated`.
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 created reactions.
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
- # Payload for batch deleted reaction events where the `EventType` field is `
4216
- # google.workspace.chat.reaction.v1.batchDeleted`.
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
- # Payload for new reaction events where the `EventType` field is `google.
4236
- # workspace.chat.reaction.v1.created`.
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
- # Payload for deleted reaction events where the `EventType` field is `google.
4256
- # workspace.chat.reaction.v1.deleted`.
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
- # Payload for batch updated space events where the `EventType` field is `google.
4596
- # workspace.chat.space.v1.batchUpdated`.
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 happens in a specific space.
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 of the event.
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 the space event. The following event types are supported: * New
4676
- # membership: `google.workspace.chat.membership.v1.created` * Deleted membership:
4677
- # `google.workspace.chat.membership.v1.deleted` * Updated membership: `google.
4678
- # workspace.chat.membership.v1.updated` * New message: `google.workspace.chat.
4679
- # message.v1.created` * Deleted message: `google.workspace.chat.message.v1.
4680
- # deleted` * Updated message: `google.workspace.chat.message.v1.updated` * New
4681
- # reaction: `google.workspace.chat.reaction.v1.created` * Deleted reaction: `
4682
- # google.workspace.chat.reaction.v1.deleted` * Updated space: `google.workspace.
4683
- # chat.space.v1.updated` Note that requesting or subscribing to the preceding
4684
- # event types automatically sets up the subscription or response to also return
4685
- # batched versions of the event type. For example, if you subscribe to `google.
4686
- # workspace.chat.membership.v1.created`, you also receive events for `google.
4687
- # workspace.chat.membership.v1.batchCreated`. For more details see https://
4688
- # developers.google.com/workspace/events/guides/events-chat#
4689
- # output_only_event_types.
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
- # Payload for batch new membership events where the `EventType` field is `google.
4695
- # workspace.chat.membership.v1.batchCreated`.
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
- # Payload for batch deleted membership events where the `EventType` field is `
4701
- # google.workspace.chat.membership.v1.batchDeleted`.
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
- # Payload for batch updated membership events where the `EventType` field is `
4707
- # google.workspace.chat.membership.v1.batchUpdated`.
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
- # Payload for new membership events where the `EventType` field is `google.
4713
- # workspace.chat.membership.v1.created`.
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
- # Payload for deleted membership events where the `EventType` field is `google.
4719
- # workspace.chat.membership.v1.deleted`.
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
- # Payload for updated membership events where the `EventType` field is `google.
4725
- # workspace.chat.membership.v1.updated`.
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
- # Payload for batch new message events where the `EventType` field is `google.
4731
- # workspace.chat.message.v1.batchCreated`.
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
- # Payload for batch deleted message events where the `EventType` field is `
4737
- # google.workspace.chat.message.v1.batchDeleted`.
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
- # Payload for batch updated message events where the `EventType` field is `
4743
- # google.workspace.chat.message.v1.batchUpdated`.
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
- # Payload for new message events where the `EventType` field is `google.
4749
- # workspace.chat.message.v1.created`.
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
- # Payload for deleted message events where the `EventType` field is `google.
4755
- # workspace.chat.message.v1.deleted`.
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
- # Payload for updated message events where the `EventType` field is `google.
4761
- # workspace.chat.message.v1.updated`.
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
- # The resource name of the space event. Format: `spaces/`space`/spaceEvents/`
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
- # Payload for batch new reaction events where the `EventType` field is `google.
4773
- # workspace.chat.reaction.v1.batchCreated`.
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
- # Payload for batch deleted reaction events where the `EventType` field is `
4779
- # google.workspace.chat.reaction.v1.batchDeleted`.
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
- # Payload for new reaction events where the `EventType` field is `google.
4785
- # workspace.chat.reaction.v1.created`.
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
- # Payload for deleted reaction events where the `EventType` field is `google.
4791
- # workspace.chat.reaction.v1.deleted`.
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
- # Payload for batch updated space events where the `EventType` field is `google.
4797
- # workspace.chat.space.v1.batchUpdated`.
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
- # Payload for updated space events where the `EventType` field is `google.
4803
- # workspace.chat.space.v1.updated`.
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
- # Payload for updated space events where the `EventType` field is `google.
4839
- # workspace.chat.space.v1.updated`.
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.89.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 = "20240326"
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 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).
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`/spaceEvents/`
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 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).
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. The resource name of the space from which to list events. Format: `
1303
- # spaces/`space``.
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. 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
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 may return
1327
- # fewer than this value. Negative values return an `INVALID_ARGUMENT` error.
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.89.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-03-31 00:00:00.000000000 Z
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.89.0
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: []