public enum DeletionMetadata.DeletionType extends Enum<DeletionMetadata.DeletionType> implements ProtocolMessageEnum
Who deleted the message and how it was deleted. More values may be added in the future. See Edit or delete a message in Google Chat for details on when messages can be deleted.
Protobuf enum google.chat.v1.DeletionMetadata.DeletionType
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ADMIN |
A Google Workspace administrator deleted the message. Administrators can delete any message in the space, including messages sent by any space member or Chat app. |
ADMIN_VALUE |
A Google Workspace administrator deleted the message. Administrators can delete any message in the space, including messages sent by any space member or Chat app. |
APP_MESSAGE_EXPIRY |
A Chat app deleted its own message when it expired. |
APP_MESSAGE_EXPIRY_VALUE |
A Chat app deleted its own message when it expired. |
CREATOR |
User deleted their own message. |
CREATOR_VALUE |
User deleted their own message. |
CREATOR_VIA_APP |
A Chat app deleted the message on behalf of the creator (using user authentication). |
CREATOR_VIA_APP_VALUE |
A Chat app deleted the message on behalf of the creator (using user authentication). |
DELETION_TYPE_UNSPECIFIED |
This value is unused. |
DELETION_TYPE_UNSPECIFIED_VALUE |
This value is unused. |
SPACE_MEMBER |
A member of the space deleted the message. Users can delete messages sent by apps. |
SPACE_MEMBER_VALUE |
A member of the space deleted the message. Users can delete messages sent by apps. |
SPACE_OWNER |
A space manager deleted the message. |
SPACE_OWNER_VALUE |
A space manager deleted the message. |
SPACE_OWNER_VIA_APP |
A Chat app deleted the message on behalf of a space manager (using user authentication). |
SPACE_OWNER_VIA_APP_VALUE |
A Chat app deleted the message on behalf of a space manager (using user authentication). |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |