Class: Google::Apis::ChatV1::QuotedMessageMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::QuotedMessageMetadata
- 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 quoted message.
Instance Attribute Summary collapse
-
#last_update_time ⇒ String
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QuotedMessageMetadata
constructor
A new instance of QuotedMessageMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QuotedMessageMetadata
Returns a new instance of QuotedMessageMetadata.
4648 4649 4650 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4648 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_update_time ⇒ String
Output only. The timestamp when the quoted message was created or when the
quoted message was last updated.
Corresponds to the JSON property lastUpdateTime
4640 4641 4642 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4640 def last_update_time @last_update_time end |
#name ⇒ String
Output only. Resource name of the quoted message. Format: spaces/
space/
messages/
message`
Corresponds to the JSON property
name`
4646 4647 4648 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4646 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4653 4654 4655 4656 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4653 def update!(**args) @last_update_time = args[:last_update_time] if args.key?(:last_update_time) @name = args[:name] if args.key?(:name) end |