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.



679
680
681
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 679

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)


666
667
668
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 666

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)


672
673
674
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 672

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



677
678
679
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 677

def updater_to_show
  @updater_to_show
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



684
685
686
687
688
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 684

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