class Google::Apis::AndroidenterpriseV1::User
A user resource represents an individual user within the enterprise's domain. Note that each user is associated with a Google account based on the user's corporate email address (which must be in one of the enterprise's domains). As part of installing the EMM's DPC app to manage a device the Google account must be provisioned to the device, and so the user resource must be created before that. This can be done using the Google Admin SDK Directory API. The ID for a user is an opaque string. It can be retrieved using the list method queried by the user's primary email address.
Attributes
The unique ID for the user. Corresponds to the JSON property `id` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ androidenterprise#user”. Corresponds to the JSON property `kind` @return [String]
The user's primary email, e.g. “jsmith@example.com”. Corresponds to the JSON property `primaryEmail` @return [String]
Public Class Methods
# File generated/google/apis/androidenterprise_v1/classes.rb, line 1375 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/androidenterprise_v1/classes.rb, line 1380 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @primary_email = args[:primary_email] if args.key?(:primary_email) end