Updated docs
diff --git a/docs/dyn/androidenterprise_v1.users.html b/docs/dyn/androidenterprise_v1.users.html
index 124750a..ed911d5 100644
--- a/docs/dyn/androidenterprise_v1.users.html
+++ b/docs/dyn/androidenterprise_v1.users.html
@@ -85,7 +85,7 @@
<p class="firstline">Retrieves the set of products a user is entitled to access.</p>
<p class="toc_element">
<code><a href="#list">list(enterpriseId, email)</a></code></p>
-<p class="firstline">Looks up a user by email address.</p>
+<p class="firstline">Looks up a user by their primary email address.</p>
<p class="toc_element">
<code><a href="#revokeToken">revokeToken(enterpriseId, userId)</a></code></p>
<p class="firstline">Revokes a previously generated token (activation code) for the user.</p>
@@ -97,6 +97,8 @@
<code class="details" id="generateToken">generateToken(enterpriseId, userId)</code>
<pre>Generates a token (activation code) to allow this user to configure their work account in the Android Setup Wizard. Revokes any previously generated token.
+This call only works with Google managed accounts.
+
Args:
enterpriseId: string, The ID of the enterprise. (required)
userId: string, The ID of the user. (required)
@@ -104,7 +106,7 @@
Returns:
An object of the form:
- { # A UserToken is used by a user when setting up a managed device or profile with their work account on a device. When the user enters their email address and token (activation code) the appropriate MDM app can be automatically downloaded.
+ { # A UserToken is used by a user when setting up a managed device or profile with their work account on a device. When the user enters their email address and token (activation code) the appropriate EMM app can be automatically downloaded.
"kind": "androidenterprise#userToken", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#userToken".
"userId": "A String", # The unique ID for the user.
"token": "A String", # The token (activation code) to be entered by the user. This consists of a sequence of decimal digits. Note that the leading digit may be 0.
@@ -124,11 +126,11 @@
{ # 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 an MDM 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.
+ # 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.
"kind": "androidenterprise#user", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#user".
- "primaryEmail": "A String", # The user's primary email, e.g. "jsmith@example.com".
+ "primaryEmail": "A String", # The user's primary email, e.g. "jsmith@example.com". Will always be set for Google managed users and not set for EMM managed users.
"id": "A String", # The unique ID for the user.
}</pre>
</div>
@@ -154,7 +156,7 @@
<div class="method">
<code class="details" id="list">list(enterpriseId, email)</code>
- <pre>Looks up a user by email address.
+ <pre>Looks up a user by their primary email address.
Args:
enterpriseId: string, The ID of the enterprise. (required)
@@ -168,11 +170,11 @@
"user": [ # A user of an enterprise.
{ # 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 an MDM 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.
+ # 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.
"kind": "androidenterprise#user", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#user".
- "primaryEmail": "A String", # The user's primary email, e.g. "jsmith@example.com".
+ "primaryEmail": "A String", # The user's primary email, e.g. "jsmith@example.com". Will always be set for Google managed users and not set for EMM managed users.
"id": "A String", # The unique ID for the user.
},
],