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.



3162
3163
3164
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 3162

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)


3160
3161
3162
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 3160

def person
  @person
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3167
3168
3169
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 3167

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