Class: Google::Apps::Chat::V1::SpaceEvent

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/chat/v1/space_event.rb

Overview

An event that represents a change or activity in a Google Chat space. To learn more, see Work with events from Google Chat.

Instance Attribute Summary collapse

Instance Attribute Details

#event_time::Google::Protobuf::Timestamp

Returns Time when the event occurred.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#event_type::String

Returns 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.

Returns:

  • (::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


173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#membership_batch_created_event_data::Google::Apps::Chat::V1::MembershipBatchCreatedEventData

Returns Event payload for multiple new memberships.

Event type: google.workspace.chat.membership.v1.batchCreated.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#membership_batch_deleted_event_data::Google::Apps::Chat::V1::MembershipBatchDeletedEventData

Returns Event payload for multiple deleted memberships.

Event type: google.workspace.chat.membership.v1.batchDeleted.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#membership_batch_updated_event_data::Google::Apps::Chat::V1::MembershipBatchUpdatedEventData

Returns Event payload for multiple updated memberships.

Event type: google.workspace.chat.membership.v1.batchUpdated.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#membership_created_event_data::Google::Apps::Chat::V1::MembershipCreatedEventData

Returns Event payload for a new membership.

Event type: google.workspace.chat.membership.v1.created.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#membership_deleted_event_data::Google::Apps::Chat::V1::MembershipDeletedEventData

Returns Event payload for a deleted membership.

Event type: google.workspace.chat.membership.v1.deleted.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#membership_updated_event_data::Google::Apps::Chat::V1::MembershipUpdatedEventData

Returns Event payload for an updated membership.

Event type: google.workspace.chat.membership.v1.updated.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#message_batch_created_event_data::Google::Apps::Chat::V1::MessageBatchCreatedEventData

Returns Event payload for multiple new messages.

Event type: google.workspace.chat.message.v1.batchCreated.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#message_batch_deleted_event_data::Google::Apps::Chat::V1::MessageBatchDeletedEventData

Returns Event payload for multiple deleted messages.

Event type: google.workspace.chat.message.v1.batchDeleted.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#message_batch_updated_event_data::Google::Apps::Chat::V1::MessageBatchUpdatedEventData

Returns Event payload for multiple updated messages.

Event type: google.workspace.chat.message.v1.batchUpdated.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#message_created_event_data::Google::Apps::Chat::V1::MessageCreatedEventData

Returns Event payload for a new message.

Event type: google.workspace.chat.message.v1.created.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#message_deleted_event_data::Google::Apps::Chat::V1::MessageDeletedEventData

Returns Event payload for a deleted message.

Event type: google.workspace.chat.message.v1.deleted.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#message_updated_event_data::Google::Apps::Chat::V1::MessageUpdatedEventData

Returns Event payload for an updated message.

Event type: google.workspace.chat.message.v1.updated.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Resource name of the space event.

Format: spaces/{space}/spaceEvents/{spaceEvent}.

Returns:

  • (::String)

    Resource name of the space event.

    Format: spaces/{space}/spaceEvents/{spaceEvent}



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#reaction_batch_created_event_data::Google::Apps::Chat::V1::ReactionBatchCreatedEventData

Returns Event payload for multiple new reactions.

Event type: google.workspace.chat.reaction.v1.batchCreated.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#reaction_batch_deleted_event_data::Google::Apps::Chat::V1::ReactionBatchDeletedEventData

Returns Event payload for multiple deleted reactions.

Event type: google.workspace.chat.reaction.v1.batchDeleted.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#reaction_created_event_data::Google::Apps::Chat::V1::ReactionCreatedEventData

Returns Event payload for a new reaction.

Event type: google.workspace.chat.reaction.v1.created.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#reaction_deleted_event_data::Google::Apps::Chat::V1::ReactionDeletedEventData

Returns Event payload for a deleted reaction.

Event type: google.workspace.chat.reaction.v1.deleted.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#space_batch_updated_event_data::Google::Apps::Chat::V1::SpaceBatchUpdatedEventData

Returns Event payload for multiple updates to a space.

Event type: google.workspace.chat.space.v1.batchUpdated.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#space_updated_event_data::Google::Apps::Chat::V1::SpaceUpdatedEventData

Returns Event payload for a space update.

Event type: google.workspace.chat.space.v1.updated.

Returns:



173
174
175
176
# File 'proto_docs/google/chat/v1/space_event.rb', line 173

class SpaceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end