Class: Google::Apis::ChatV1::DeletionMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::DeletionMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Overview
Information about a deleted message. A message is deleted when delete_time
is set.
Instance Attribute Summary collapse
-
#deletion_type ⇒ String
Indicates who deleted the message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeletionMetadata
constructor
A new instance of DeletionMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeletionMetadata
Returns a new instance of DeletionMetadata.
900 901 902 |
# File 'lib/google/apis/chat_v1/classes.rb', line 900 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deletion_type ⇒ String
Indicates who deleted the message.
Corresponds to the JSON property deletionType
898 899 900 |
# File 'lib/google/apis/chat_v1/classes.rb', line 898 def deletion_type @deletion_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
905 906 907 |
# File 'lib/google/apis/chat_v1/classes.rb', line 905 def update!(**args) @deletion_type = args[:deletion_type] if args.key?(:deletion_type) end |