Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedChatItem

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) ⇒ AppsDynamiteSharedChatItem

Returns a new instance of AppsDynamiteSharedChatItem.



1333
1334
1335
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1333

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

Instance Attribute Details

#activity_infoArray<Google::Apis::CloudsearchV1::AppsDynamiteSharedChatItemActivityInfo>

Information needed to render the specific type of feed item. Corresponds to the JSON property activityInfo



1318
1319
1320
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1318

def activity_info
  @activity_info
end

#group_infoGoogle::Apis::CloudsearchV1::AppsDynamiteSharedChatItemGroupInfo

Information about the space that the item originated from. This will be used to display Activity Feed items from rooms, and only contain the necessary information, such as the space name and group attributes. NEXT TAG: 6 Corresponds to the JSON property groupInfo



1325
1326
1327
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1325

def group_info
  @group_info
end

#message_infoGoogle::Apis::CloudsearchV1::AppsDynamiteSharedMessageInfo

Information that references a Dynamite chat message. This is only used for Activity Feed messages. Corresponds to the JSON property messageInfo



1331
1332
1333
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1331

def message_info
  @message_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1338
1339
1340
1341
1342
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1338

def update!(**args)
  @activity_info = args[:activity_info] if args.key?(:activity_info)
  @group_info = args[:group_info] if args.key?(:group_info)
  @message_info = args[:message_info] if args.key?(:message_info)
end