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:



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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


209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: membership_batch_created_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::MembershipBatchCreatedEventData)

    Event payload for multiple new memberships.

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

    Note: The following fields are mutually exclusive: membership_batch_created_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: membership_batch_deleted_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::MembershipBatchDeletedEventData)

    Event payload for multiple deleted memberships.

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

    Note: The following fields are mutually exclusive: membership_batch_deleted_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: membership_batch_updated_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::MembershipBatchUpdatedEventData)

    Event payload for multiple updated memberships.

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

    Note: The following fields are mutually exclusive: membership_batch_updated_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: membership_created_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::MembershipCreatedEventData)

    Event payload for a new membership.

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

    Note: The following fields are mutually exclusive: membership_created_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: membership_deleted_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::MembershipDeletedEventData)

    Event payload for a deleted membership.

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

    Note: The following fields are mutually exclusive: membership_deleted_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: membership_updated_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::MembershipUpdatedEventData)

    Event payload for an updated membership.

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

    Note: The following fields are mutually exclusive: membership_updated_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: message_batch_created_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::MessageBatchCreatedEventData)

    Event payload for multiple new messages.

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

    Note: The following fields are mutually exclusive: message_batch_created_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: message_batch_deleted_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::MessageBatchDeletedEventData)

    Event payload for multiple deleted messages.

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

    Note: The following fields are mutually exclusive: message_batch_deleted_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: message_batch_updated_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::MessageBatchUpdatedEventData)

    Event payload for multiple updated messages.

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

    Note: The following fields are mutually exclusive: message_batch_updated_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::MessageCreatedEventData)

    Event payload for a new message.

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

    Note: The following fields are mutually exclusive: message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: message_deleted_event_data, message_created_event_data, message_updated_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::MessageDeletedEventData)

    Event payload for a deleted message.

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

    Note: The following fields are mutually exclusive: message_deleted_event_data, message_created_event_data, message_updated_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: message_updated_event_data, message_created_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::MessageUpdatedEventData)

    Event payload for an updated message.

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

    Note: The following fields are mutually exclusive: message_updated_event_data, message_created_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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}



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: reaction_batch_created_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::ReactionBatchCreatedEventData)

    Event payload for multiple new reactions.

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

    Note: The following fields are mutually exclusive: reaction_batch_created_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: reaction_batch_deleted_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::ReactionBatchDeletedEventData)

    Event payload for multiple deleted reactions.

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

    Note: The following fields are mutually exclusive: reaction_batch_deleted_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: reaction_created_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::ReactionCreatedEventData)

    Event payload for a new reaction.

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

    Note: The following fields are mutually exclusive: reaction_created_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: reaction_deleted_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::ReactionDeletedEventData)

    Event payload for a deleted reaction.

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

    Note: The following fields are mutually exclusive: reaction_deleted_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: space_batch_updated_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::SpaceBatchUpdatedEventData)

    Event payload for multiple updates to a space.

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

    Note: The following fields are mutually exclusive: space_batch_updated_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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

Note: The following fields are mutually exclusive: space_updated_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Apps::Chat::V1::SpaceUpdatedEventData)

    Event payload for a space update.

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

    Note: The following fields are mutually exclusive: space_updated_event_data, message_created_event_data, message_updated_event_data, message_deleted_event_data, message_batch_created_event_data, message_batch_updated_event_data, message_batch_deleted_event_data, space_batch_updated_event_data, membership_created_event_data, membership_updated_event_data, membership_deleted_event_data, membership_batch_created_event_data, membership_batch_updated_event_data, membership_batch_deleted_event_data, reaction_created_event_data, reaction_deleted_event_data, reaction_batch_created_event_data, reaction_batch_deleted_event_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



209
210
211
212
# File 'proto_docs/google/chat/v1/space_event.rb', line 209

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