Class: Google::Apps::Chat::V1::DeletionMetadata

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

Overview

Information about a deleted message. A message is deleted when delete_time is set.

Defined Under Namespace

Modules: DeletionType

Instance Attribute Summary collapse

Instance Attribute Details

#deletion_type::Google::Apps::Chat::V1::DeletionMetadata::DeletionType

Returns Indicates who deleted the message.

Returns:



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'proto_docs/google/chat/v1/deletion_metadata.rb', line 29

class DeletionMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Who deleted the message and how it was deleted. More values may be added in
  # the future.
  module DeletionType
    # This value is unused.
    DELETION_TYPE_UNSPECIFIED = 0

    # User deleted their own message.
    CREATOR = 1

    # The space owner deleted the message.
    SPACE_OWNER = 2

    # A Google Workspace admin deleted the message.
    ADMIN = 3

    # A Chat app deleted its own message when it expired.
    APP_MESSAGE_EXPIRY = 4

    # A Chat app deleted the message on behalf of the user.
    CREATOR_VIA_APP = 5

    # A Chat app deleted the message on behalf of the space owner.
    SPACE_OWNER_VIA_APP = 6
  end
end