Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageInfo

Inherits:
Object
  • Object
show all
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. This is only used for Activity Feed messages.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedMessageInfo

Returns a new instance of AppsDynamiteSharedMessageInfo.



1967
1968
1969
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1967

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#message_idGoogle::Apis::CloudsearchV1::MessageId

Primary key for Message resource. Corresponds to the JSON property messageId



1953
1954
1955
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1953

def message_id
  @message_id
end

#message_typeString

The type of the source chat message. Corresponds to the JSON property messageType

Returns:

  • (String)


1958
1959
1960
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1958

def message_type
  @message_type
end

#topic_read_time_usecFixnum

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

Returns:

  • (Fixnum)


1965
1966
1967
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1965

def topic_read_time_usec
  @topic_read_time_usec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1972
1973
1974
1975
1976
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1972

def update!(**args)
  @message_id = args[:message_id] if args.key?(:message_id)
  @message_type = args[:message_type] if args.key?(:message_type)
  @topic_read_time_usec = args[:topic_read_time_usec] if args.key?(:topic_read_time_usec)
end