Description Usage Arguments Details See Also
View source: R/chromeosdevices.R
This includes deprovisioning, disabling, and re-enabling devices. Warning: * Deprovisioning a device will stop device policy syncing and remove device-level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled. * Lost or stolen devices should use the disable action. * Re-enabling a disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error. For more information about deprovisioning and disabling devices, visit the help center. Autogenerated via package_make
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | chromeosdevices.action(
customerId,
resourceId,
deprovisionReason = NULL,
action = NULL,
callback = NULL,
fields = NULL,
uploadType = NULL,
upload_protocol = NULL,
prettyPrint = NULL,
quotaUser = NULL,
alt = NULL,
gargle_token = gargle::token_fetch(scopes =
.endpoints[["directory.chromeosdevices.action"]]$scopes[[1]]),
return_request = F,
return_response = F
)
|
customerId |
The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the |
resourceId |
The unique ID of the device. The |
deprovisionReason |
Only used when the action is |
action |
Action to be taken on the Chrome OS device. |
callback |
JSONP |
fields |
Selector specifying which fields to include in a partial response. |
uploadType |
Legacy upload protocol for media (e.g. "media", "multipart"). |
upload_protocol |
Upload protocol for media (e.g. "raw", "multipart"). |
prettyPrint |
Returns response with indentations and line breaks. |
quotaUser |
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
alt |
Data format for response. |
gargle_token |
A token prepared by one of gargle's token generating functions. Defaults to gargle::token_fetch(...) with appropriate scopes. See |
return_request |
Whether to return the request without making it. Defaults to FALSE. See |
return_response |
Whether to return the response or the response content. Defaults to FALSE (return response content). |
Authentication scopes used by this function are:
https://www.googleapis.com/auth/admin.directory.device.chromeos
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.