Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedActivityFeedAnnotationData

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

Next Id: 5

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedActivityFeedAnnotationData

Returns a new instance of AppsDynamiteSharedActivityFeedAnnotationData.



620
621
622
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 620

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

Instance Attribute Details

#activity_feed_message_idString

Unique id of the Activity Feed message. This will be in the form of "space-id/ message-id" or "dm-id/message-id", where the space-/dm-id and message-id components are extracted from the top-level MessageId in message.proto (http:// shortn/_SulV51DNfF). This is copied into annotations so that no client changes are needed to access this value. Clients will need a unique id for every Activity Feed message to implement click-to-source. Corresponds to the JSON property activityFeedMessageId

Returns:

  • (String)


603
604
605
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 603

def activity_feed_message_id
  @activity_feed_message_id
end

#chat_itemGoogle::Apis::CloudsearchV1::AppsDynamiteSharedChatItem

Next Id: 5 Corresponds to the JSON property chatItem



608
609
610
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 608

def chat_item
  @chat_item
end

#shared_user_infoGoogle::Apis::CloudsearchV1::UserInfo

Contains info regarding the updater of an Activity Feed item. Next Id: 6 Corresponds to the JSON property sharedUserInfo



613
614
615
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 613

def 
  @shared_user_info
end

#user_infoGoogle::Apis::CloudsearchV1::AppsDynamiteSharedActivityFeedAnnotationDataUserInfo

UserId of the AF item updater to show and the updater count to show. Corresponds to the JSON property userInfo



618
619
620
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 618

def 
  @user_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



625
626
627
628
629
630
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 625

def update!(**args)
  @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