Class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/drivelabels_v2/classes.rb,
lib/google/apis/drivelabels_v2/representations.rb,
lib/google/apis/drivelabels_v2/representations.rb

Overview

Information about a user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2UserInfo

Returns a new instance of GoogleAppsDriveLabelsV2UserInfo.



1475
1476
1477
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 1475

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#personString

The identifier for this user that can be used with the People API to get more information. For example, people/12345678. Corresponds to the JSON property person

Returns:

  • (String)


1473
1474
1475
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 1473

def person
  @person
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1480
1481
1482
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 1480

def update!(**args)
  @person = args[:person] if args.key?(:person)
end