Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedActivityFeedAnnotationDataUserInfo

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

UserId of the AF item updater to show and the updater count to show.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedActivityFeedAnnotationDataUserInfo

Returns a new instance of AppsDynamiteSharedActivityFeedAnnotationDataUserInfo.



711
712
713
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 711

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

Instance Attribute Details

#updater_count_display_typeString

Describes how updater_count_to_show should be used. Corresponds to the JSON property updaterCountDisplayType

Returns:

  • (String)


698
699
700
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 698

def updater_count_display_type
  @updater_count_display_type
end

#updater_count_to_showFixnum

The number of updaters for clients to show, currently set to the total number of updaters minus the one set in updater_to_show. Corresponds to the JSON property updaterCountToShow

Returns:

  • (Fixnum)


704
705
706
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 704

def updater_count_to_show
  @updater_count_to_show
end

#updater_to_showGoogle::Apis::CloudsearchV1::UserId

Primary key for User resource. Corresponds to the JSON property updaterToShow



709
710
711
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 709

def updater_to_show
  @updater_to_show
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



716
717
718
719
720
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 716

def update!(**args)
  @updater_count_display_type = args[:updater_count_display_type] if args.key?(:updater_count_display_type)
  @updater_count_to_show = args[:updater_count_to_show] if args.key?(:updater_count_to_show)
  @updater_to_show = args[:updater_to_show] if args.key?(:updater_to_show)
end