Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaUserInfo

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

Overview

Information about a user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaUserInfo

Returns a new instance of GoogleAppsDriveLabelsV2betaUserInfo.



3227
3228
3229
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 3227

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)


3225
3226
3227
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 3225

def person
  @person
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3232
3233
3234
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 3232

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