Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedChatItemActivityInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedChatItemActivityInfo

Returns a new instance of AppsDynamiteSharedChatItemActivityInfo.



1213
1214
1215
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1213

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

Instance Attribute Details

#feed_item_nudgeGoogle::Apis::CloudsearchV1::AppsDynamiteSharedChatItemActivityInfoFeedItemNudge

Existence of this attribute indicates that the AF item is for a message nudge item. Corresponds to the JSON property feedItemNudge



1193
1194
1195
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1193

def feed_item_nudge
  @feed_item_nudge
end

#feed_item_reactionsGoogle::Apis::CloudsearchV1::AppsDynamiteSharedChatItemActivityInfoFeedItemReactions

Existence of this attribute indicates that the AF item is for message reactions, but it is intentionally left empty since the list of reactions can be found in the top-level Message.Reactions. Corresponds to the JSON property feedItemReactions



1200
1201
1202
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1200

def feed_item_reactions
  @feed_item_reactions
end

#feed_item_thread_replyGoogle::Apis::CloudsearchV1::AppsDynamiteSharedChatItemActivityInfoFeedItemThreadReply

Existence of this attribute indicates that the AF item is for thread reply. Corresponds to the JSON property feedItemThreadReply



1205
1206
1207
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1205

def feed_item_thread_reply
  @feed_item_thread_reply
end

#feed_item_user_mentionGoogle::Apis::CloudsearchV1::AppsDynamiteSharedChatItemActivityInfoFeedItemUserMention

Existence of this attribute indicates that the AF item is for a user mention item. Corresponds to the JSON property feedItemUserMention



1211
1212
1213
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1211

def feed_item_user_mention
  @feed_item_user_mention
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1218
1219
1220
1221
1222
1223
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1218

def update!(**args)
  @feed_item_nudge = args[:feed_item_nudge] if args.key?(:feed_item_nudge)
  @feed_item_reactions = args[:feed_item_reactions] if args.key?(:feed_item_reactions)
  @feed_item_thread_reply = args[:feed_item_thread_reply] if args.key?(:feed_item_thread_reply)
  @feed_item_user_mention = args[:feed_item_user_mention] if args.key?(:feed_item_user_mention)
end