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.



1640
1641
1642
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1640

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



1620
1621
1622
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1620

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



1627
1628
1629
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1627

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



1632
1633
1634
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1632

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



1638
1639
1640
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1638

def feed_item_user_mention
  @feed_item_user_mention
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1645
1646
1647
1648
1649
1650
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1645

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