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.



3131
3132
3133
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 3131

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)


3129
3130
3131
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 3129

def person
  @person
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3136
3137
3138
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 3136

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