Google Chat V1 API - Class Google::Apps::Chat::V1::SpaceEvent (v0.3.1)

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
Returns

#event_time=

def event_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#event_type

def event_type() -> ::String
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

#event_type=

def event_type=(value) -> ::String
Parameter
  • 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
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

#membership_batch_created_event_data

def membership_batch_created_event_data() -> ::Google::Apps::Chat::V1::MembershipBatchCreatedEventData
Returns

#membership_batch_created_event_data=

def membership_batch_created_event_data=(value) -> ::Google::Apps::Chat::V1::MembershipBatchCreatedEventData
Parameter
Returns

#membership_batch_deleted_event_data

def membership_batch_deleted_event_data() -> ::Google::Apps::Chat::V1::MembershipBatchDeletedEventData
Returns

#membership_batch_deleted_event_data=

def membership_batch_deleted_event_data=(value) -> ::Google::Apps::Chat::V1::MembershipBatchDeletedEventData
Parameter
Returns

#membership_batch_updated_event_data

def membership_batch_updated_event_data() -> ::Google::Apps::Chat::V1::MembershipBatchUpdatedEventData
Returns

#membership_batch_updated_event_data=

def membership_batch_updated_event_data=(value) -> ::Google::Apps::Chat::V1::MembershipBatchUpdatedEventData
Parameter
Returns

#membership_created_event_data

def membership_created_event_data() -> ::Google::Apps::Chat::V1::MembershipCreatedEventData
Returns

#membership_created_event_data=

def membership_created_event_data=(value) -> ::Google::Apps::Chat::V1::MembershipCreatedEventData
Parameter
Returns

#membership_deleted_event_data

def membership_deleted_event_data() -> ::Google::Apps::Chat::V1::MembershipDeletedEventData
Returns

#membership_deleted_event_data=

def membership_deleted_event_data=(value) -> ::Google::Apps::Chat::V1::MembershipDeletedEventData
Parameter
Returns

#membership_updated_event_data

def membership_updated_event_data() -> ::Google::Apps::Chat::V1::MembershipUpdatedEventData
Returns

#membership_updated_event_data=

def membership_updated_event_data=(value) -> ::Google::Apps::Chat::V1::MembershipUpdatedEventData
Parameter
Returns

#message_batch_created_event_data

def message_batch_created_event_data() -> ::Google::Apps::Chat::V1::MessageBatchCreatedEventData
Returns

#message_batch_created_event_data=

def message_batch_created_event_data=(value) -> ::Google::Apps::Chat::V1::MessageBatchCreatedEventData
Parameter
Returns

#message_batch_deleted_event_data

def message_batch_deleted_event_data() -> ::Google::Apps::Chat::V1::MessageBatchDeletedEventData
Returns

#message_batch_deleted_event_data=

def message_batch_deleted_event_data=(value) -> ::Google::Apps::Chat::V1::MessageBatchDeletedEventData
Parameter
Returns

#message_batch_updated_event_data

def message_batch_updated_event_data() -> ::Google::Apps::Chat::V1::MessageBatchUpdatedEventData
Returns

#message_batch_updated_event_data=

def message_batch_updated_event_data=(value) -> ::Google::Apps::Chat::V1::MessageBatchUpdatedEventData
Parameter
Returns

#message_created_event_data

def message_created_event_data() -> ::Google::Apps::Chat::V1::MessageCreatedEventData
Returns

#message_created_event_data=

def message_created_event_data=(value) -> ::Google::Apps::Chat::V1::MessageCreatedEventData
Parameter
Returns

#message_deleted_event_data

def message_deleted_event_data() -> ::Google::Apps::Chat::V1::MessageDeletedEventData
Returns

#message_deleted_event_data=

def message_deleted_event_data=(value) -> ::Google::Apps::Chat::V1::MessageDeletedEventData
Parameter
Returns

#message_updated_event_data

def message_updated_event_data() -> ::Google::Apps::Chat::V1::MessageUpdatedEventData
Returns

#message_updated_event_data=

def message_updated_event_data=(value) -> ::Google::Apps::Chat::V1::MessageUpdatedEventData
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Resource name of the space event.

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

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Resource name of the space event.

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

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

#reaction_batch_created_event_data=

def reaction_batch_created_event_data=(value) -> ::Google::Apps::Chat::V1::ReactionBatchCreatedEventData
Parameter
Returns

#reaction_batch_deleted_event_data

def reaction_batch_deleted_event_data() -> ::Google::Apps::Chat::V1::ReactionBatchDeletedEventData
Returns

#reaction_batch_deleted_event_data=

def reaction_batch_deleted_event_data=(value) -> ::Google::Apps::Chat::V1::ReactionBatchDeletedEventData
Parameter
Returns

#reaction_created_event_data

def reaction_created_event_data() -> ::Google::Apps::Chat::V1::ReactionCreatedEventData
Returns

#reaction_created_event_data=

def reaction_created_event_data=(value) -> ::Google::Apps::Chat::V1::ReactionCreatedEventData
Parameter
Returns

#reaction_deleted_event_data

def reaction_deleted_event_data() -> ::Google::Apps::Chat::V1::ReactionDeletedEventData
Returns

#reaction_deleted_event_data=

def reaction_deleted_event_data=(value) -> ::Google::Apps::Chat::V1::ReactionDeletedEventData
Parameter
Returns

#space_batch_updated_event_data

def space_batch_updated_event_data() -> ::Google::Apps::Chat::V1::SpaceBatchUpdatedEventData
Returns

#space_batch_updated_event_data=

def space_batch_updated_event_data=(value) -> ::Google::Apps::Chat::V1::SpaceBatchUpdatedEventData
Parameter
Returns

#space_updated_event_data

def space_updated_event_data() -> ::Google::Apps::Chat::V1::SpaceUpdatedEventData
Returns

#space_updated_event_data=

def space_updated_event_data=(value) -> ::Google::Apps::Chat::V1::SpaceUpdatedEventData
Parameter
Returns