mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-25 12:44:07 +01:00
715 lines
29 KiB
HTML
715 lines
29 KiB
HTML
<!DOCTYPE html>
|
||
<html class="writer-html5" lang="en" >
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><link rel="canonical" href="http://byron.github.io/google-apis-rs/google-androidmanagement1-cli/enterprises_devices-patch/" />
|
||
<link rel="shortcut icon" href="../img/favicon.ico" />
|
||
<title>Devices Patch - Android Management v5.0.4+20240221</title>
|
||
<link rel="stylesheet" href="../css/theme.css" />
|
||
<link rel="stylesheet" href="../css/theme_extra.css" />
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/github.min.css" />
|
||
|
||
<script>
|
||
// Current page data
|
||
var mkdocs_page_name = "Devices Patch";
|
||
var mkdocs_page_input_path = "enterprises_devices-patch.md";
|
||
var mkdocs_page_url = "/google-apis-rs/google-androidmanagement1-cli/enterprises_devices-patch/";
|
||
</script>
|
||
|
||
<script src="../js/jquery-3.6.0.min.js" defer></script>
|
||
<!--[if lt IE 9]>
|
||
<script src="../js/html5shiv.min.js"></script>
|
||
<![endif]-->
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
|
||
<script>hljs.initHighlightingOnLoad();</script>
|
||
</head>
|
||
|
||
<body class="wy-body-for-nav" role="document">
|
||
|
||
<div class="wy-grid-for-nav">
|
||
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
|
||
<div class="wy-side-scroll">
|
||
<div class="wy-side-nav-search">
|
||
<a href=".." class="icon icon-home"> Android Management v5.0.4+20240221
|
||
</a><div role="search">
|
||
<form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||
<input type="text" name="q" placeholder="Search docs" title="Type search term here" />
|
||
</form>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||
<ul>
|
||
<li class="toctree-l1"><a class="reference internal" href="..">Home</a>
|
||
</li>
|
||
</ul>
|
||
<p class="caption"><span class="caption-text">Enterprises</span></p>
|
||
<ul class="current">
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_applications-get/">Applications Get</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_create/">Create</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_delete/">Delete</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_devices-delete/">Devices Delete</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_devices-get/">Devices Get</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_devices-issue-command/">Devices Issue Command</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_devices-list/">Devices List</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_devices-operations-cancel/">Devices Operations Cancel</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_devices-operations-get/">Devices Operations Get</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_devices-operations-list/">Devices Operations List</a>
|
||
</li>
|
||
<li class="toctree-l1 current"><a class="reference internal current" href="./">Devices Patch</a>
|
||
<ul class="current">
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_enrollment-tokens-create/">Enrollment Tokens Create</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_enrollment-tokens-delete/">Enrollment Tokens Delete</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_enrollment-tokens-get/">Enrollment Tokens Get</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_enrollment-tokens-list/">Enrollment Tokens List</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_get/">Get</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_list/">List</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_migration-tokens-create/">Migration Tokens Create</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_migration-tokens-get/">Migration Tokens Get</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_migration-tokens-list/">Migration Tokens List</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_patch/">Patch</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_policies-delete/">Policies Delete</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_policies-get/">Policies Get</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_policies-list/">Policies List</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_policies-patch/">Policies Patch</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_web-apps-create/">Web Apps Create</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_web-apps-delete/">Web Apps Delete</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_web-apps-get/">Web Apps Get</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_web-apps-list/">Web Apps List</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_web-apps-patch/">Web Apps Patch</a>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../enterprises_web-tokens-create/">Web Tokens Create</a>
|
||
</li>
|
||
</ul>
|
||
<p class="caption"><span class="caption-text">Provisioning Info</span></p>
|
||
<ul>
|
||
<li class="toctree-l1"><a class="reference internal" href="../provisioning-info_get/">Get</a>
|
||
</li>
|
||
</ul>
|
||
<p class="caption"><span class="caption-text">Signup Urls</span></p>
|
||
<ul>
|
||
<li class="toctree-l1"><a class="reference internal" href="../signup-urls_create/">Create</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</nav>
|
||
|
||
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
||
<nav class="wy-nav-top" role="navigation" aria-label="Mobile navigation menu">
|
||
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
||
<a href="..">Android Management v5.0.4+20240221</a>
|
||
|
||
</nav>
|
||
<div class="wy-nav-content">
|
||
<div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
|
||
<ul class="wy-breadcrumbs">
|
||
<li><a href=".." class="icon icon-home" alt="Docs"></a> »</li>
|
||
<li>Enterprises »</li>
|
||
<li>Devices Patch</li>
|
||
<li class="wy-breadcrumbs-aside">
|
||
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/androidmanagement1-cli/edit/master/docs/enterprises_devices-patch.md"
|
||
class="icon icon-github"> Edit on GitHub</a>
|
||
</li>
|
||
</ul>
|
||
<hr/>
|
||
</div>
|
||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||
<div class="section" itemprop="articleBody">
|
||
|
||
<p>Updates a device.</p>
|
||
<h1 id="scopes">Scopes</h1>
|
||
<p>You will need authorization for the <em>https://www.googleapis.com/auth/androidmanagement</em> scope to make a valid call.</p>
|
||
<p>If unset, the scope for this method defaults to <em>https://www.googleapis.com/auth/androidmanagement</em>.
|
||
You can set the scope for this method like this: <code>androidmanagement1 --scope <scope> enterprises devices-patch ...</code></p>
|
||
<h1 id="required-scalar-argument">Required Scalar Argument</h1>
|
||
<ul>
|
||
<li><strong><name></strong> <em>(string)</em><ul>
|
||
<li>The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<h1 id="required-request-value">Required Request Value</h1>
|
||
<p>The request value is a data-structure with various fields. Each field may be a simple scalar or another data-structure.
|
||
In the latter case it is advised to set the field-cursor to the data-structure's field to specify values more concisely.</p>
|
||
<p>For example, a structure like this:</p>
|
||
<pre><code>Device:
|
||
api-level: integer
|
||
applied-policy-name: string
|
||
applied-policy-version: string
|
||
applied-state: string
|
||
common-criteria-mode-info:
|
||
common-criteria-mode-status: string
|
||
device-settings:
|
||
adb-enabled: boolean
|
||
development-settings-enabled: boolean
|
||
encryption-status: string
|
||
is-device-secure: boolean
|
||
is-encrypted: boolean
|
||
unknown-sources-enabled: boolean
|
||
verify-apps-enabled: boolean
|
||
disabled-reason:
|
||
default-message: string
|
||
localized-messages: { string: string }
|
||
dpc-migration-info:
|
||
additional-data: string
|
||
previous-dpc: string
|
||
enrollment-time: string
|
||
enrollment-token-data: string
|
||
enrollment-token-name: string
|
||
hardware-info:
|
||
battery-shutdown-temperatures: [number]
|
||
battery-throttling-temperatures: [number]
|
||
brand: string
|
||
cpu-shutdown-temperatures: [number]
|
||
cpu-throttling-temperatures: [number]
|
||
device-baseband-version: string
|
||
enterprise-specific-id: string
|
||
gpu-shutdown-temperatures: [number]
|
||
gpu-throttling-temperatures: [number]
|
||
hardware: string
|
||
manufacturer: string
|
||
model: string
|
||
serial-number: string
|
||
skin-shutdown-temperatures: [number]
|
||
skin-throttling-temperatures: [number]
|
||
last-policy-compliance-report-time: string
|
||
last-policy-sync-time: string
|
||
last-status-report-time: string
|
||
management-mode: string
|
||
memory-info:
|
||
total-internal-storage: string
|
||
total-ram: string
|
||
name: string
|
||
network-info:
|
||
imei: string
|
||
meid: string
|
||
network-operator-name: string
|
||
wifi-mac-address: string
|
||
ownership: string
|
||
policy-compliant: boolean
|
||
policy-name: string
|
||
previous-device-names: [string]
|
||
security-posture:
|
||
device-posture: string
|
||
software-info:
|
||
android-build-number: string
|
||
android-build-time: string
|
||
android-device-policy-version-code: integer
|
||
android-device-policy-version-name: string
|
||
android-version: string
|
||
bootloader-version: string
|
||
device-build-signature: string
|
||
device-kernel-version: string
|
||
primary-language-code: string
|
||
security-patch-level: string
|
||
system-update-info:
|
||
update-received-time: string
|
||
update-status: string
|
||
state: string
|
||
system-properties: { string: string }
|
||
user:
|
||
account-identifier: string
|
||
user-name: string
|
||
|
||
</code></pre>
|
||
<p>can be set completely with the following arguments which are assumed to be executed in the given order. Note how the cursor position is adjusted to the respective structures, allowing simple field names to be used most of the time.</p>
|
||
<ul>
|
||
<li><code>-r . api-level=15</code><ul>
|
||
<li>The API level of the Android platform version running on the device.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>applied-policy-name=sed</code><ul>
|
||
<li>The name of the policy currently applied to the device.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>applied-policy-version=duo</code><ul>
|
||
<li>The version of the policy currently applied to the device.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>applied-state=sed</code><ul>
|
||
<li>The state currently applied to the device.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>common-criteria-mode-info common-criteria-mode-status=no</code></p>
|
||
<ul>
|
||
<li>Whether Common Criteria Mode is enabled.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>..device-settings adb-enabled=true</code></p>
|
||
<ul>
|
||
<li>Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>development-settings-enabled=true</code><ul>
|
||
<li>Whether developer mode is enabled on the device.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>encryption-status=vero</code><ul>
|
||
<li>Encryption status from DevicePolicyManager.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>is-device-secure=false</code><ul>
|
||
<li>Whether the device is secured with PIN/password.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>is-encrypted=false</code><ul>
|
||
<li>Whether the storage encryption is enabled.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>unknown-sources-enabled=false</code><ul>
|
||
<li>Whether installing apps from unknown sources is enabled.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>verify-apps-enabled=true</code></p>
|
||
<ul>
|
||
<li>Whether Google Play Protect verification (https://support.google.com/accounts/answer/2812853) is enforced on the device.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>..disabled-reason default-message=et</code></p>
|
||
<ul>
|
||
<li>The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>localized-messages=key=et</code></p>
|
||
<ul>
|
||
<li>A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr.</li>
|
||
<li>the value will be associated with the given <code>key</code></li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>..dpc-migration-info additional-data=sadipscing</code></p>
|
||
<ul>
|
||
<li>Output only. If this device was migrated from another DPC, the additionalData field of the migration token is populated here.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>previous-dpc=stet</code></p>
|
||
<ul>
|
||
<li>Output only. If this device was migrated from another DPC, this is its package name. Not populated otherwise.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>.. enrollment-time=dolor</code></p>
|
||
<ul>
|
||
<li>The time of device enrollment.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>enrollment-token-data=duo</code><ul>
|
||
<li>If the device was enrolled with an enrollment token with additional data provided, this field contains that data.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>enrollment-token-name=vero</code><ul>
|
||
<li>If the device was enrolled with an enrollment token, this field contains the name of the token.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>hardware-info battery-shutdown-temperatures=0.1970220513983837</code><ul>
|
||
<li>Battery shutdown temperature thresholds in Celsius for each battery on the device.</li>
|
||
<li>Each invocation of this argument appends the given value to the array.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>battery-throttling-temperatures=0.28492583480905564</code><ul>
|
||
<li>Battery throttling temperature thresholds in Celsius for each battery on the device.</li>
|
||
<li>Each invocation of this argument appends the given value to the array.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>brand=elitr</code><ul>
|
||
<li>Brand of the device. For example, Google.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>cpu-shutdown-temperatures=0.7491113388279885</code><ul>
|
||
<li>CPU shutdown temperature thresholds in Celsius for each CPU on the device.</li>
|
||
<li>Each invocation of this argument appends the given value to the array.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>cpu-throttling-temperatures=0.9996547162401588</code><ul>
|
||
<li>CPU throttling temperature thresholds in Celsius for each CPU on the device.</li>
|
||
<li>Each invocation of this argument appends the given value to the array.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>device-baseband-version=diam</code><ul>
|
||
<li>Baseband version. For example, MDM9625_104662.22.05.34p.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>enterprise-specific-id=no</code><ul>
|
||
<li>Output only. ID that uniquely identifies a personally-owned device in a particular organization. On the same physical device when enrolled with the same organization, this ID persists across setups and even factory resets. This ID is available on personally-owned devices with a work profile on devices running Android 12 and above.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>gpu-shutdown-temperatures=0.012465497817154336</code><ul>
|
||
<li>GPU shutdown temperature thresholds in Celsius for each GPU on the device.</li>
|
||
<li>Each invocation of this argument appends the given value to the array.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>gpu-throttling-temperatures=0.9368687392085286</code><ul>
|
||
<li>GPU throttling temperature thresholds in Celsius for each GPU on the device.</li>
|
||
<li>Each invocation of this argument appends the given value to the array.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>hardware=takimata</code><ul>
|
||
<li>Name of the hardware. For example, Angler.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>manufacturer=consetetur</code><ul>
|
||
<li>Manufacturer. For example, Motorola.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>model=voluptua.</code><ul>
|
||
<li>The model of the device. For example, Asus Nexus 7.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>serial-number=et</code><ul>
|
||
<li>The device serial number.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>skin-shutdown-temperatures=0.5496092442112607</code><ul>
|
||
<li>Device skin shutdown temperature thresholds in Celsius.</li>
|
||
<li>Each invocation of this argument appends the given value to the array.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>skin-throttling-temperatures=0.7759968264300798</code></p>
|
||
<ul>
|
||
<li>Device skin throttling temperature thresholds in Celsius.</li>
|
||
<li>Each invocation of this argument appends the given value to the array.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>.. last-policy-compliance-report-time=sed</code></p>
|
||
<ul>
|
||
<li>Deprecated.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>last-policy-sync-time=takimata</code><ul>
|
||
<li>The last time the device fetched its policy.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>last-status-report-time=dolores</code><ul>
|
||
<li>The last time the device sent a status report.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>management-mode=gubergren</code><ul>
|
||
<li>The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>memory-info total-internal-storage=et</code><ul>
|
||
<li>Total internal storage on device in bytes.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>total-ram=accusam</code></p>
|
||
<ul>
|
||
<li>Total RAM on device in bytes.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>.. name=voluptua.</code></p>
|
||
<ul>
|
||
<li>The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>network-info imei=dolore</code><ul>
|
||
<li>IMEI number of the GSM device. For example, A1000031212.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>meid=dolore</code><ul>
|
||
<li>MEID number of the CDMA device. For example, A00000292788E1.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>network-operator-name=dolore</code><ul>
|
||
<li>Alphabetic name of current registered operator. For example, Vodafone.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>wifi-mac-address=voluptua.</code></p>
|
||
<ul>
|
||
<li>Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>.. ownership=amet.</code></p>
|
||
<ul>
|
||
<li>Ownership of the managed device.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>policy-compliant=false</code><ul>
|
||
<li>Whether the device is compliant with its policy.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>policy-name=lorem</code><ul>
|
||
<li>The name of the policy applied to the device, in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the device's user is applied. This field can be modified by a patch request. You can specify only the policyId when calling enterprises.devices.patch, as long as the policyId doesn’t contain any slashes. The rest of the policy name is inferred.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>previous-device-names=invidunt</code><ul>
|
||
<li>If the same physical device has been enrolled multiple times, this field contains its previous device names. The serial number is used as the unique identifier to determine if the same physical device has enrolled previously. The names are in chronological order.</li>
|
||
<li>Each invocation of this argument appends the given value to the array.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>security-posture device-posture=no</code></p>
|
||
<ul>
|
||
<li>Device's security posture value.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>..software-info android-build-number=est</code></p>
|
||
<ul>
|
||
<li>Android build ID string meant for displaying to the user. For example, shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>android-build-time=at</code><ul>
|
||
<li>Build time.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>android-device-policy-version-code=58</code><ul>
|
||
<li>The Android Device Policy app version code.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>android-device-policy-version-name=sit</code><ul>
|
||
<li>The Android Device Policy app version as displayed to the user.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>android-version=et</code><ul>
|
||
<li>The user-visible Android version string. For example, 6.0.1.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>bootloader-version=tempor</code><ul>
|
||
<li>The system bootloader version number, e.g. 0.6.7.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>device-build-signature=aliquyam</code><ul>
|
||
<li>SHA-256 hash of android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the system package, which can be used to verify that the system build hasn't been modified.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>device-kernel-version=ipsum</code><ul>
|
||
<li>Kernel version, for example, 2.6.32.9-g103d848.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>primary-language-code=et</code><ul>
|
||
<li>An IETF BCP 47 language code for the primary locale on the device.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>security-patch-level=sanctus</code><ul>
|
||
<li>Security patch level, e.g. 2016-05-01.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>system-update-info update-received-time=lorem</code><ul>
|
||
<li>The time when the update was first available. A zero value indicates that this field is not set. This field is set only if an update is available (that is, updateStatus is neither UPDATE_STATUS_UNKNOWN nor UP_TO_DATE).</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>update-status=est</code></p>
|
||
<ul>
|
||
<li>The status of an update: whether an update exists and what type it is.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>... state=sed</code></p>
|
||
<ul>
|
||
<li>The state to be applied to the device. This field can be modified by a patch request. Note that when calling enterprises.devices.patch, ACTIVE and DISABLED are the only allowable values. To enter the device into a DELETED state, call enterprises.devices.delete.</li>
|
||
</ul>
|
||
</li>
|
||
<li><code>system-properties=key=diam</code><ul>
|
||
<li>Map of selected system properties name and value related to the device. This information is only available if systemPropertiesEnabled is true in the device's policy.</li>
|
||
<li>the value will be associated with the given <code>key</code></li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>user account-identifier=dolores</code></p>
|
||
<ul>
|
||
<li>A unique identifier you create for this user, such as user342 or asset#44418. This field must be set when the user is created and can't be updated. This field must not contain personally identifiable information (PII). This identifier must be 1024 characters or less; otherwise, the update policy request will fail.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>.. user-name=dolores</code></p>
|
||
<ul>
|
||
<li>The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}.</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<h3 id="about-cursors">About Cursors</h3>
|
||
<p>The cursor position is key to comfortably set complex nested structures. The following rules apply:</p>
|
||
<ul>
|
||
<li>The cursor position is always set relative to the current one, unless the field name starts with the <code>.</code> character. Fields can be nested such as in <code>-r f.s.o</code> .</li>
|
||
<li>The cursor position is set relative to the top-level structure if it starts with <code>.</code>, e.g. <code>-r .s.s</code></li>
|
||
<li>You can also set nested fields without setting the cursor explicitly. For example, to set a value relative to the current cursor position, you would specify <code>-r struct.sub_struct=bar</code>.</li>
|
||
<li>You can move the cursor one level up by using <code>..</code>. Each additional <code>.</code> moves it up one additional level. E.g. <code>...</code> would go three levels up.</li>
|
||
</ul>
|
||
<h1 id="optional-output-flags">Optional Output Flags</h1>
|
||
<p>The method's return value a JSON encoded structure, which will be written to standard output by default.</p>
|
||
<ul>
|
||
<li><strong>-o out</strong><ul>
|
||
<li><em>out</em> specifies the <em>destination</em> to which to write the server's result to.
|
||
It will be a JSON-encoded structure.
|
||
The <em>destination</em> may be <code>-</code> to indicate standard output, or a filepath that is to contain the received bytes.
|
||
If unset, it defaults to standard output.</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<h1 id="optional-method-properties">Optional Method Properties</h1>
|
||
<p>You may set the following properties to further configure the call. Please note that <code>-p</code> is followed by one
|
||
or more key-value-pairs, and is called like this <code>-p k1=v1 k2=v2</code> even though the listing below repeats the
|
||
<code>-p</code> for completeness.</p>
|
||
<ul>
|
||
<li><strong>-p update-mask=string</strong><ul>
|
||
<li>The field mask indicating the fields to update. If not set, all modifiable fields will be modified.</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<h1 id="optional-general-properties">Optional General Properties</h1>
|
||
<p>The following properties can configure any call, and are not specific to this method.</p>
|
||
<ul>
|
||
<li>
|
||
<p><strong>-p $-xgafv=string</strong></p>
|
||
<ul>
|
||
<li>V1 error format.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><strong>-p access-token=string</strong></p>
|
||
<ul>
|
||
<li>OAuth access token.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><strong>-p alt=string</strong></p>
|
||
<ul>
|
||
<li>Data format for response.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><strong>-p callback=string</strong></p>
|
||
<ul>
|
||
<li>JSONP</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><strong>-p fields=string</strong></p>
|
||
<ul>
|
||
<li>Selector specifying which fields to include in a partial response.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><strong>-p key=string</strong></p>
|
||
<ul>
|
||
<li>API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><strong>-p oauth-token=string</strong></p>
|
||
<ul>
|
||
<li>OAuth 2.0 token for the current user.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><strong>-p pretty-print=boolean</strong></p>
|
||
<ul>
|
||
<li>Returns response with indentations and line breaks.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><strong>-p quota-user=string</strong></p>
|
||
<ul>
|
||
<li>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.</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><strong>-p upload-type=string</strong></p>
|
||
<ul>
|
||
<li>Legacy upload protocol for media (e.g. "media", "multipart").</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><strong>-p upload-protocol=string</strong></p>
|
||
<ul>
|
||
<li>Upload protocol for media (e.g. "raw", "multipart").</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div><footer>
|
||
<div class="rst-footer-buttons" role="navigation" aria-label="Footer Navigation">
|
||
<a href="../enterprises_devices-operations-list/" class="btn btn-neutral float-left" title="Devices Operations List"><span class="icon icon-circle-arrow-left"></span> Previous</a>
|
||
<a href="../enterprises_enrollment-tokens-create/" class="btn btn-neutral float-right" title="Enrollment Tokens Create">Next <span class="icon icon-circle-arrow-right"></span></a>
|
||
</div>
|
||
|
||
<hr/>
|
||
|
||
<div role="contentinfo">
|
||
<!-- Copyright etc -->
|
||
<p>Copyright © 2015-2020, `Sebastian Thiel`</p>
|
||
</div>
|
||
|
||
Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
||
</footer>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
</section>
|
||
|
||
</div>
|
||
|
||
<div class="rst-versions" role="note" aria-label="Versions">
|
||
<span class="rst-current-version" data-toggle="rst-current-version">
|
||
|
||
<span>
|
||
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/androidmanagement1-cli" class="fa fa-github" style="color: #fcfcfc"> GitHub</a>
|
||
</span>
|
||
|
||
|
||
<span><a href="../enterprises_devices-operations-list/" style="color: #fcfcfc">« Previous</a></span>
|
||
|
||
|
||
<span><a href="../enterprises_enrollment-tokens-create/" style="color: #fcfcfc">Next »</a></span>
|
||
|
||
</span>
|
||
</div>
|
||
<script>var base_url = '..';</script>
|
||
<script src="../js/theme_extra.js" defer></script>
|
||
<script src="../js/theme.js" defer></script>
|
||
<script src="../search/main.js" defer></script>
|
||
<script defer>
|
||
window.onload = function () {
|
||
SphinxRtdTheme.Navigation.enable(true);
|
||
};
|
||
</script>
|
||
|
||
</body>
|
||
</html>
|