Class: Google::Apis::CloudsearchV1::UserInfo

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

Contains info regarding the updater of an Activity Feed item. Next Id: 7

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UserInfo

Returns a new instance of UserInfo.



17565
17566
17567
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17565

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)


17533
17534
17535
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17533

def updater_count_display_type
  @updater_count_display_type
end

#updater_count_to_showFixnum

The number of updaters for clients to show depending on UpdaterCountDisplayType. Corresponds to the JSON property updaterCountToShow

Returns:

  • (Fixnum)


17539
17540
17541
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17539

def updater_count_to_show
  @updater_count_to_show
end

#updater_to_show_emailString

The email of the updater for clients to show used for Gmail items. Corresponds to the JSON property updaterToShowEmail

Returns:

  • (String)


17544
17545
17546
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17544

def updater_to_show_email
  @updater_to_show_email
end

#updater_to_show_gaia_idFixnum

The gaia id of the updater for clients to show used for Gmail items. If the updater is an external user, the email field below should be populated. Corresponds to the JSON property updaterToShowGaiaId

Returns:

  • (Fixnum)


17550
17551
17552
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17550

def updater_to_show_gaia_id
  @updater_to_show_gaia_id
end

#updater_to_show_nameString

The display name of the updater for clients to show used for Gmail items. This (along with the updater fields above) will be populated in the thread pipeline (http://shortn/_rPS0GCp94Y) when converting Activity Feed message attributes into client-renderable Activity Feed items. Corresponds to the JSON property updaterToShowName

Returns:

  • (String)


17558
17559
17560
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17558

def updater_to_show_name
  @updater_to_show_name
end

#updater_to_show_user_idGoogle::Apis::CloudsearchV1::UserId

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



17563
17564
17565
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17563

def updater_to_show_user_id
  @updater_to_show_user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17570
17571
17572
17573
17574
17575
17576
17577
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17570

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_email = args[:updater_to_show_email] if args.key?(:updater_to_show_email)
  @updater_to_show_gaia_id = args[:updater_to_show_gaia_id] if args.key?(:updater_to_show_gaia_id)
  @updater_to_show_name = args[:updater_to_show_name] if args.key?(:updater_to_show_name)
  @updater_to_show_user_id = args[:updater_to_show_user_id] if args.key?(:updater_to_show_user_id)
end