I have a private extension in the chrome web store. This extension is for users and devices who are managed via the Google Admin / GSuit system.
When in use, the extension contacts the GSuit / big data servers to log data. To tell my customers appart, I get them to type in a unique customer ID into each of their chromebooks, one ID per customer.
This was ok, but I would like to automate the system. Can I send down the customer ID instead of getting them to type it in ?
I thought of using the Asset-ID to identify the chromebook - but I cant find any way to extract the asset-id in my extension to allow the device to send it back to the server !
I thought of using one of the free text policy settings - but I can't get access to those in the app either !
I don't want to use email address as some of my smaller customers use gmail, so they would all get clumped together.
As an account administrator, you can first try retrieving a user using a
userKeywhich can be the user's primary email address, the unique user id, or one of the user's alias email addresses. A successfulUsers:getrequest will return users resource includingcustomerID.Then, with the
customerID, you may now get theassetIDby retrieving all chrome devices for an account. UseGETrequest and include the authorization described in Authorize requests.Here's the sample request:
Response for this request will include
annotatedAssetId.Also, View Chrome device information might also help.