Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Information that references a Dynamite chat message.
Instance Attribute Summary collapse
-
#message_id ⇒ Google::Apis::CloudsearchV1::MessageId
Primary key for Message resource.
-
#topic_read_time_usec ⇒ Fixnum
Timestamp of when the topic containing the message has been read by the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedMessageInfo
constructor
A new instance of AppsDynamiteSharedMessageInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedMessageInfo
Returns a new instance of AppsDynamiteSharedMessageInfo.
2711 2712 2713 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2711 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message_id ⇒ Google::Apis::CloudsearchV1::MessageId
Primary key for Message resource.
Corresponds to the JSON property messageId
2702 2703 2704 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2702 def @message_id end |
#topic_read_time_usec ⇒ Fixnum
Timestamp of when the topic containing the message has been read by the user.
This is populated if the message references an inline reply, in which case the
space may be marked as read but the topic still has unread messages.
Corresponds to the JSON property topicReadTimeUsec
2709 2710 2711 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2709 def topic_read_time_usec @topic_read_time_usec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2716 2717 2718 2719 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2716 def update!(**args) @message_id = args[:message_id] if args.key?(:message_id) @topic_read_time_usec = args[:topic_read_time_usec] if args.key?(:topic_read_time_usec) end |