Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedActivityFeedAnnotationData
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedActivityFeedAnnotationData
- 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
Next Id: 7
Instance Attribute Summary collapse
-
#activity_feed_message_create_time ⇒ String
Timestamp of when the Activity Feed message that contains this annotation was created.
-
#activity_feed_message_id ⇒ Google::Apis::CloudsearchV1::MessageId
Primary key for Message resource.
-
#chat_item ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedChatItem
Next Id: 5 Corresponds to the JSON property
chatItem
. -
#shared_user_info ⇒ Google::Apis::CloudsearchV1::UserInfo
Contains info regarding the updater of an Activity Feed item.
-
#user_info ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedActivityFeedAnnotationDataUserInfo
UserId of the AF item updater to show and the updater count to show.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedActivityFeedAnnotationData
constructor
A new instance of AppsDynamiteSharedActivityFeedAnnotationData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedActivityFeedAnnotationData
Returns a new instance of AppsDynamiteSharedActivityFeedAnnotationData.
677 678 679 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 677 def initialize(**args) update!(**args) end |
Instance Attribute Details
#activity_feed_message_create_time ⇒ String
Timestamp of when the Activity Feed message that contains this annotation was
created. This is roughly when the activity happened, such as when a reaction
happened, but will have at least some small delay, since the Activity Feed
message is created asynchronously after. This timestamp should only be used
for display when the activity create time is not available in the Chat UI,
like the time of a reaction.
Corresponds to the JSON property activityFeedMessageCreateTime
655 656 657 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 655 def @activity_feed_message_create_time end |
#activity_feed_message_id ⇒ Google::Apis::CloudsearchV1::MessageId
Primary key for Message resource.
Corresponds to the JSON property activityFeedMessageId
660 661 662 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 660 def @activity_feed_message_id end |
#chat_item ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedChatItem
Next Id: 5
Corresponds to the JSON property chatItem
665 666 667 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 665 def chat_item @chat_item end |
#shared_user_info ⇒ Google::Apis::CloudsearchV1::UserInfo
Contains info regarding the updater of an Activity Feed item. Next Id: 8
Corresponds to the JSON property sharedUserInfo
670 671 672 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 670 def shared_user_info @shared_user_info end |
#user_info ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedActivityFeedAnnotationDataUserInfo
UserId of the AF item updater to show and the updater count to show.
Corresponds to the JSON property userInfo
675 676 677 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 675 def user_info @user_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
682 683 684 685 686 687 688 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 682 def update!(**args) @activity_feed_message_create_time = args[:activity_feed_message_create_time] if args.key?(:activity_feed_message_create_time) @activity_feed_message_id = args[:activity_feed_message_id] if args.key?(:activity_feed_message_id) @chat_item = args[:chat_item] if args.key?(:chat_item) @shared_user_info = args[:shared_user_info] if args.key?(:shared_user_info) @user_info = args[:user_info] if args.key?(:user_info) end |