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.



633
634
635
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 633

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)


620
621
622
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 620

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)


626
627
628
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 626

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



631
632
633
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 631

def updater_to_show
  @updater_to_show
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



638
639
640
641
642
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 638

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