Class: Google::Apis::CloudsearchV1::UserInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::UserInfo
- 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: 6
Instance Attribute Summary collapse
-
#updater_count_display_type ⇒ String
Describes how updater_count_to_show should be used.
-
#updater_count_to_show ⇒ Fixnum
The number of updaters for clients to show depending on UpdaterCountDisplayType.
-
#updater_to_show_email ⇒ String
The email of the updater for clients to show used for Gmail items.
-
#updater_to_show_gaia_id ⇒ Fixnum
The gaia id of the updater for clients to show used for Gmail items.
-
#updater_to_show_user_id ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserInfo
constructor
A new instance of UserInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserInfo
Returns a new instance of UserInfo.
17475 17476 17477 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17475 def initialize(**args) update!(**args) end |
Instance Attribute Details
#updater_count_display_type ⇒ String
Describes how updater_count_to_show should be used.
Corresponds to the JSON property updaterCountDisplayType
17451 17452 17453 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17451 def updater_count_display_type @updater_count_display_type end |
#updater_count_to_show ⇒ Fixnum
The number of updaters for clients to show depending on
UpdaterCountDisplayType.
Corresponds to the JSON property updaterCountToShow
17457 17458 17459 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17457 def updater_count_to_show @updater_count_to_show end |
#updater_to_show_email ⇒ String
The email of the updater for clients to show used for Gmail items.
Corresponds to the JSON property updaterToShowEmail
17462 17463 17464 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17462 def updater_to_show_email @updater_to_show_email end |
#updater_to_show_gaia_id ⇒ Fixnum
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
17468 17469 17470 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17468 def updater_to_show_gaia_id @updater_to_show_gaia_id end |
#updater_to_show_user_id ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Corresponds to the JSON property updaterToShowUserId
17473 17474 17475 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17473 def updater_to_show_user_id @updater_to_show_user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17480 17481 17482 17483 17484 17485 17486 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17480 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_user_id = args[:updater_to_show_user_id] if args.key?(:updater_to_show_user_id) end |