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.



653
654
655
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 653

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)


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

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)


646
647
648
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 646

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



651
652
653
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 651

def updater_to_show
  @updater_to_show
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



658
659
660
661
662
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 658

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