Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::SpaceEvent.
An event that represents a change or activity in a Google Chat space. To learn more, see Work with events from Google Chat.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#event_time
def event_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Time when the event occurred.
#event_time=
def event_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Time when the event occurred.
- (::Google::Protobuf::Timestamp) — Time when the event occurred.
#event_type
def event_type() -> ::String
-
(::String) —
Type of space event. Each event type has a batch version, which represents multiple instances of the event type that occur in a short period of time. For
spaceEvents.list()
requests, omit batch event types in your query filter. By default, the server returns both event type and its batch version.Supported event types for messages:
- New message:
google.workspace.chat.message.v1.created
- Updated message:
google.workspace.chat.message.v1.updated
- Deleted message:
google.workspace.chat.message.v1.deleted
- Multiple new messages:
google.workspace.chat.message.v1.batchCreated
- Multiple updated messages:
google.workspace.chat.message.v1.batchUpdated
- Multiple deleted messages:
google.workspace.chat.message.v1.batchDeleted
Supported event types for memberships:
- New membership:
google.workspace.chat.membership.v1.created
- Updated membership:
google.workspace.chat.membership.v1.updated
- Deleted membership:
google.workspace.chat.membership.v1.deleted
- Multiple new memberships:
google.workspace.chat.membership.v1.batchCreated
- Multiple updated memberships:
google.workspace.chat.membership.v1.batchUpdated
- Multiple deleted memberships:
google.workspace.chat.membership.v1.batchDeleted
Supported event types for reactions:
- New reaction:
google.workspace.chat.reaction.v1.created
- Deleted reaction:
google.workspace.chat.reaction.v1.deleted
- Multiple new reactions:
google.workspace.chat.reaction.v1.batchCreated
- Multiple deleted reactions:
google.workspace.chat.reaction.v1.batchDeleted
Supported event types about the space:
- Updated space:
google.workspace.chat.space.v1.updated
- Multiple space updates:
google.workspace.chat.space.v1.batchUpdated
- New message:
#event_type=
def event_type=(value) -> ::String
-
value (::String) —
Type of space event. Each event type has a batch version, which represents multiple instances of the event type that occur in a short period of time. For
spaceEvents.list()
requests, omit batch event types in your query filter. By default, the server returns both event type and its batch version.Supported event types for messages:
- New message:
google.workspace.chat.message.v1.created
- Updated message:
google.workspace.chat.message.v1.updated
- Deleted message:
google.workspace.chat.message.v1.deleted
- Multiple new messages:
google.workspace.chat.message.v1.batchCreated
- Multiple updated messages:
google.workspace.chat.message.v1.batchUpdated
- Multiple deleted messages:
google.workspace.chat.message.v1.batchDeleted
Supported event types for memberships:
- New membership:
google.workspace.chat.membership.v1.created
- Updated membership:
google.workspace.chat.membership.v1.updated
- Deleted membership:
google.workspace.chat.membership.v1.deleted
- Multiple new memberships:
google.workspace.chat.membership.v1.batchCreated
- Multiple updated memberships:
google.workspace.chat.membership.v1.batchUpdated
- Multiple deleted memberships:
google.workspace.chat.membership.v1.batchDeleted
Supported event types for reactions:
- New reaction:
google.workspace.chat.reaction.v1.created
- Deleted reaction:
google.workspace.chat.reaction.v1.deleted
- Multiple new reactions:
google.workspace.chat.reaction.v1.batchCreated
- Multiple deleted reactions:
google.workspace.chat.reaction.v1.batchDeleted
Supported event types about the space:
- Updated space:
google.workspace.chat.space.v1.updated
- Multiple space updates:
google.workspace.chat.space.v1.batchUpdated
- New message:
-
(::String) —
Type of space event. Each event type has a batch version, which represents multiple instances of the event type that occur in a short period of time. For
spaceEvents.list()
requests, omit batch event types in your query filter. By default, the server returns both event type and its batch version.Supported event types for messages:
- New message:
google.workspace.chat.message.v1.created
- Updated message:
google.workspace.chat.message.v1.updated
- Deleted message:
google.workspace.chat.message.v1.deleted
- Multiple new messages:
google.workspace.chat.message.v1.batchCreated
- Multiple updated messages:
google.workspace.chat.message.v1.batchUpdated
- Multiple deleted messages:
google.workspace.chat.message.v1.batchDeleted
Supported event types for memberships:
- New membership:
google.workspace.chat.membership.v1.created
- Updated membership:
google.workspace.chat.membership.v1.updated
- Deleted membership:
google.workspace.chat.membership.v1.deleted
- Multiple new memberships:
google.workspace.chat.membership.v1.batchCreated
- Multiple updated memberships:
google.workspace.chat.membership.v1.batchUpdated
- Multiple deleted memberships:
google.workspace.chat.membership.v1.batchDeleted
Supported event types for reactions:
- New reaction:
google.workspace.chat.reaction.v1.created
- Deleted reaction:
google.workspace.chat.reaction.v1.deleted
- Multiple new reactions:
google.workspace.chat.reaction.v1.batchCreated
- Multiple deleted reactions:
google.workspace.chat.reaction.v1.batchDeleted
Supported event types about the space:
- Updated space:
google.workspace.chat.space.v1.updated
- Multiple space updates:
google.workspace.chat.space.v1.batchUpdated
- New message:
#membership_batch_created_event_data
def membership_batch_created_event_data() -> ::Google::Apps::Chat::V1::MembershipBatchCreatedEventData
-
(::Google::Apps::Chat::V1::MembershipBatchCreatedEventData) — Event payload for multiple new memberships.
Event type:
google.workspace.chat.membership.v1.batchCreated
#membership_batch_created_event_data=
def membership_batch_created_event_data=(value) -> ::Google::Apps::Chat::V1::MembershipBatchCreatedEventData
-
value (::Google::Apps::Chat::V1::MembershipBatchCreatedEventData) — Event payload for multiple new memberships.
Event type:
google.workspace.chat.membership.v1.batchCreated
-
(::Google::Apps::Chat::V1::MembershipBatchCreatedEventData) — Event payload for multiple new memberships.
Event type:
google.workspace.chat.membership.v1.batchCreated
#membership_batch_deleted_event_data
def membership_batch_deleted_event_data() -> ::Google::Apps::Chat::V1::MembershipBatchDeletedEventData
-
(::Google::Apps::Chat::V1::MembershipBatchDeletedEventData) — Event payload for multiple deleted memberships.
Event type:
google.workspace.chat.membership.v1.batchDeleted
#membership_batch_deleted_event_data=
def membership_batch_deleted_event_data=(value) -> ::Google::Apps::Chat::V1::MembershipBatchDeletedEventData
-
value (::Google::Apps::Chat::V1::MembershipBatchDeletedEventData) — Event payload for multiple deleted memberships.
Event type:
google.workspace.chat.membership.v1.batchDeleted
-
(::Google::Apps::Chat::V1::MembershipBatchDeletedEventData) — Event payload for multiple deleted memberships.
Event type:
google.workspace.chat.membership.v1.batchDeleted
#membership_batch_updated_event_data
def membership_batch_updated_event_data() -> ::Google::Apps::Chat::V1::MembershipBatchUpdatedEventData
-
(::Google::Apps::Chat::V1::MembershipBatchUpdatedEventData) — Event payload for multiple updated memberships.
Event type:
google.workspace.chat.membership.v1.batchUpdated
#membership_batch_updated_event_data=
def membership_batch_updated_event_data=(value) -> ::Google::Apps::Chat::V1::MembershipBatchUpdatedEventData
-
value (::Google::Apps::Chat::V1::MembershipBatchUpdatedEventData) — Event payload for multiple updated memberships.
Event type:
google.workspace.chat.membership.v1.batchUpdated
-
(::Google::Apps::Chat::V1::MembershipBatchUpdatedEventData) — Event payload for multiple updated memberships.
Event type:
google.workspace.chat.membership.v1.batchUpdated
#membership_created_event_data
def membership_created_event_data() -> ::Google::Apps::Chat::V1::MembershipCreatedEventData
-
(::Google::Apps::Chat::V1::MembershipCreatedEventData) — Event payload for a new membership.
Event type:
google.workspace.chat.membership.v1.created
#membership_created_event_data=
def membership_created_event_data=(value) -> ::Google::Apps::Chat::V1::MembershipCreatedEventData
-
value (::Google::Apps::Chat::V1::MembershipCreatedEventData) — Event payload for a new membership.
Event type:
google.workspace.chat.membership.v1.created
-
(::Google::Apps::Chat::V1::MembershipCreatedEventData) — Event payload for a new membership.
Event type:
google.workspace.chat.membership.v1.created
#membership_deleted_event_data
def membership_deleted_event_data() -> ::Google::Apps::Chat::V1::MembershipDeletedEventData
-
(::Google::Apps::Chat::V1::MembershipDeletedEventData) — Event payload for a deleted membership.
Event type:
google.workspace.chat.membership.v1.deleted
#membership_deleted_event_data=
def membership_deleted_event_data=(value) -> ::Google::Apps::Chat::V1::MembershipDeletedEventData
-
value (::Google::Apps::Chat::V1::MembershipDeletedEventData) — Event payload for a deleted membership.
Event type:
google.workspace.chat.membership.v1.deleted
-
(::Google::Apps::Chat::V1::MembershipDeletedEventData) — Event payload for a deleted membership.
Event type:
google.workspace.chat.membership.v1.deleted
#membership_updated_event_data
def membership_updated_event_data() -> ::Google::Apps::Chat::V1::MembershipUpdatedEventData
-
(::Google::Apps::Chat::V1::MembershipUpdatedEventData) — Event payload for an updated membership.
Event type:
google.workspace.chat.membership.v1.updated
#membership_updated_event_data=
def membership_updated_event_data=(value) -> ::Google::Apps::Chat::V1::MembershipUpdatedEventData
-
value (::Google::Apps::Chat::V1::MembershipUpdatedEventData) — Event payload for an updated membership.
Event type:
google.workspace.chat.membership.v1.updated
-
(::Google::Apps::Chat::V1::MembershipUpdatedEventData) — Event payload for an updated membership.
Event type:
google.workspace.chat.membership.v1.updated
#message_batch_created_event_data
def message_batch_created_event_data() -> ::Google::Apps::Chat::V1::MessageBatchCreatedEventData
-
(::Google::Apps::Chat::V1::MessageBatchCreatedEventData) — Event payload for multiple new messages.
Event type:
google.workspace.chat.message.v1.batchCreated
#message_batch_created_event_data=
def message_batch_created_event_data=(value) -> ::Google::Apps::Chat::V1::MessageBatchCreatedEventData
-
value (::Google::Apps::Chat::V1::MessageBatchCreatedEventData) — Event payload for multiple new messages.
Event type:
google.workspace.chat.message.v1.batchCreated
-
(::Google::Apps::Chat::V1::MessageBatchCreatedEventData) — Event payload for multiple new messages.
Event type:
google.workspace.chat.message.v1.batchCreated
#message_batch_deleted_event_data
def message_batch_deleted_event_data() -> ::Google::Apps::Chat::V1::MessageBatchDeletedEventData
-
(::Google::Apps::Chat::V1::MessageBatchDeletedEventData) — Event payload for multiple deleted messages.
Event type:
google.workspace.chat.message.v1.batchDeleted
#message_batch_deleted_event_data=
def message_batch_deleted_event_data=(value) -> ::Google::Apps::Chat::V1::MessageBatchDeletedEventData
-
value (::Google::Apps::Chat::V1::MessageBatchDeletedEventData) — Event payload for multiple deleted messages.
Event type:
google.workspace.chat.message.v1.batchDeleted
-
(::Google::Apps::Chat::V1::MessageBatchDeletedEventData) — Event payload for multiple deleted messages.
Event type:
google.workspace.chat.message.v1.batchDeleted
#message_batch_updated_event_data
def message_batch_updated_event_data() -> ::Google::Apps::Chat::V1::MessageBatchUpdatedEventData
-
(::Google::Apps::Chat::V1::MessageBatchUpdatedEventData) — Event payload for multiple updated messages.
Event type:
google.workspace.chat.message.v1.batchUpdated
#message_batch_updated_event_data=
def message_batch_updated_event_data=(value) -> ::Google::Apps::Chat::V1::MessageBatchUpdatedEventData
-
value (::Google::Apps::Chat::V1::MessageBatchUpdatedEventData) — Event payload for multiple updated messages.
Event type:
google.workspace.chat.message.v1.batchUpdated
-
(::Google::Apps::Chat::V1::MessageBatchUpdatedEventData) — Event payload for multiple updated messages.
Event type:
google.workspace.chat.message.v1.batchUpdated
#message_created_event_data
def message_created_event_data() -> ::Google::Apps::Chat::V1::MessageCreatedEventData
-
(::Google::Apps::Chat::V1::MessageCreatedEventData) — Event payload for a new message.
Event type:
google.workspace.chat.message.v1.created
#message_created_event_data=
def message_created_event_data=(value) -> ::Google::Apps::Chat::V1::MessageCreatedEventData
-
value (::Google::Apps::Chat::V1::MessageCreatedEventData) — Event payload for a new message.
Event type:
google.workspace.chat.message.v1.created
-
(::Google::Apps::Chat::V1::MessageCreatedEventData) — Event payload for a new message.
Event type:
google.workspace.chat.message.v1.created
#message_deleted_event_data
def message_deleted_event_data() -> ::Google::Apps::Chat::V1::MessageDeletedEventData
-
(::Google::Apps::Chat::V1::MessageDeletedEventData) — Event payload for a deleted message.
Event type:
google.workspace.chat.message.v1.deleted
#message_deleted_event_data=
def message_deleted_event_data=(value) -> ::Google::Apps::Chat::V1::MessageDeletedEventData
-
value (::Google::Apps::Chat::V1::MessageDeletedEventData) — Event payload for a deleted message.
Event type:
google.workspace.chat.message.v1.deleted
-
(::Google::Apps::Chat::V1::MessageDeletedEventData) — Event payload for a deleted message.
Event type:
google.workspace.chat.message.v1.deleted
#message_updated_event_data
def message_updated_event_data() -> ::Google::Apps::Chat::V1::MessageUpdatedEventData
-
(::Google::Apps::Chat::V1::MessageUpdatedEventData) — Event payload for an updated message.
Event type:
google.workspace.chat.message.v1.updated
#message_updated_event_data=
def message_updated_event_data=(value) -> ::Google::Apps::Chat::V1::MessageUpdatedEventData
-
value (::Google::Apps::Chat::V1::MessageUpdatedEventData) — Event payload for an updated message.
Event type:
google.workspace.chat.message.v1.updated
-
(::Google::Apps::Chat::V1::MessageUpdatedEventData) — Event payload for an updated message.
Event type:
google.workspace.chat.message.v1.updated
#name
def name() -> ::String
-
(::String) — Resource name of the space event.
Format:
spaces/{space}/spaceEvents/{spaceEvent}
#name=
def name=(value) -> ::String
-
value (::String) — Resource name of the space event.
Format:
spaces/{space}/spaceEvents/{spaceEvent}
-
(::String) — Resource name of the space event.
Format:
spaces/{space}/spaceEvents/{spaceEvent}
#reaction_batch_created_event_data
def reaction_batch_created_event_data() -> ::Google::Apps::Chat::V1::ReactionBatchCreatedEventData
-
(::Google::Apps::Chat::V1::ReactionBatchCreatedEventData) — Event payload for multiple new reactions.
Event type:
google.workspace.chat.reaction.v1.batchCreated
#reaction_batch_created_event_data=
def reaction_batch_created_event_data=(value) -> ::Google::Apps::Chat::V1::ReactionBatchCreatedEventData
-
value (::Google::Apps::Chat::V1::ReactionBatchCreatedEventData) — Event payload for multiple new reactions.
Event type:
google.workspace.chat.reaction.v1.batchCreated
-
(::Google::Apps::Chat::V1::ReactionBatchCreatedEventData) — Event payload for multiple new reactions.
Event type:
google.workspace.chat.reaction.v1.batchCreated
#reaction_batch_deleted_event_data
def reaction_batch_deleted_event_data() -> ::Google::Apps::Chat::V1::ReactionBatchDeletedEventData
-
(::Google::Apps::Chat::V1::ReactionBatchDeletedEventData) — Event payload for multiple deleted reactions.
Event type:
google.workspace.chat.reaction.v1.batchDeleted
#reaction_batch_deleted_event_data=
def reaction_batch_deleted_event_data=(value) -> ::Google::Apps::Chat::V1::ReactionBatchDeletedEventData
-
value (::Google::Apps::Chat::V1::ReactionBatchDeletedEventData) — Event payload for multiple deleted reactions.
Event type:
google.workspace.chat.reaction.v1.batchDeleted
-
(::Google::Apps::Chat::V1::ReactionBatchDeletedEventData) — Event payload for multiple deleted reactions.
Event type:
google.workspace.chat.reaction.v1.batchDeleted
#reaction_created_event_data
def reaction_created_event_data() -> ::Google::Apps::Chat::V1::ReactionCreatedEventData
-
(::Google::Apps::Chat::V1::ReactionCreatedEventData) — Event payload for a new reaction.
Event type:
google.workspace.chat.reaction.v1.created
#reaction_created_event_data=
def reaction_created_event_data=(value) -> ::Google::Apps::Chat::V1::ReactionCreatedEventData
-
value (::Google::Apps::Chat::V1::ReactionCreatedEventData) — Event payload for a new reaction.
Event type:
google.workspace.chat.reaction.v1.created
-
(::Google::Apps::Chat::V1::ReactionCreatedEventData) — Event payload for a new reaction.
Event type:
google.workspace.chat.reaction.v1.created
#reaction_deleted_event_data
def reaction_deleted_event_data() -> ::Google::Apps::Chat::V1::ReactionDeletedEventData
-
(::Google::Apps::Chat::V1::ReactionDeletedEventData) — Event payload for a deleted reaction.
Event type:
google.workspace.chat.reaction.v1.deleted
#reaction_deleted_event_data=
def reaction_deleted_event_data=(value) -> ::Google::Apps::Chat::V1::ReactionDeletedEventData
-
value (::Google::Apps::Chat::V1::ReactionDeletedEventData) — Event payload for a deleted reaction.
Event type:
google.workspace.chat.reaction.v1.deleted
-
(::Google::Apps::Chat::V1::ReactionDeletedEventData) — Event payload for a deleted reaction.
Event type:
google.workspace.chat.reaction.v1.deleted
#space_batch_updated_event_data
def space_batch_updated_event_data() -> ::Google::Apps::Chat::V1::SpaceBatchUpdatedEventData
-
(::Google::Apps::Chat::V1::SpaceBatchUpdatedEventData) — Event payload for multiple updates to a space.
Event type:
google.workspace.chat.space.v1.batchUpdated
#space_batch_updated_event_data=
def space_batch_updated_event_data=(value) -> ::Google::Apps::Chat::V1::SpaceBatchUpdatedEventData
-
value (::Google::Apps::Chat::V1::SpaceBatchUpdatedEventData) — Event payload for multiple updates to a space.
Event type:
google.workspace.chat.space.v1.batchUpdated
-
(::Google::Apps::Chat::V1::SpaceBatchUpdatedEventData) — Event payload for multiple updates to a space.
Event type:
google.workspace.chat.space.v1.batchUpdated
#space_updated_event_data
def space_updated_event_data() -> ::Google::Apps::Chat::V1::SpaceUpdatedEventData
-
(::Google::Apps::Chat::V1::SpaceUpdatedEventData) — Event payload for a space update.
Event type:
google.workspace.chat.space.v1.updated
#space_updated_event_data=
def space_updated_event_data=(value) -> ::Google::Apps::Chat::V1::SpaceUpdatedEventData
-
value (::Google::Apps::Chat::V1::SpaceUpdatedEventData) — Event payload for a space update.
Event type:
google.workspace.chat.space.v1.updated
-
(::Google::Apps::Chat::V1::SpaceUpdatedEventData) — Event payload for a space update.
Event type:
google.workspace.chat.space.v1.updated