Debian Codegraph @

docs/dyn/admin_directory_v1.customer.devices.chromeos.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="admin_directory_v1.html">Admin SDK API</a> . <a href="admin_directory_v1.customer.html">customer</a> . <a href="admin_directory_v1.customer.devices.html">devices</a> . <a href="admin_directory_v1.customer.devices.chromeos.html">chromeos</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="admin_directory_v1.customer.devices.chromeos.commands.html">commands()</a></code>
79 </p>
80 <p class="firstline">Returns the commands Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#batchChangeStatus">batchChangeStatus(customerId, body=None, x__xgafv=None)</a></code></p>
84 <p class="firstline">Changes the status of a batch of ChromeOS devices. For more information about changing a ChromeOS device state [Repair, repurpose, or retire ChromeOS devices](https://support.google.com/chrome/a/answer/3523633).</p>
85 <p class="toc_element">
86 <code><a href="#close">close()</a></code></p>
87 <p class="firstline">Close httplib2 connections.</p>
88 <p class="toc_element">
89 <code><a href="#countChromeOsDevices">countChromeOsDevices(customerId, filter=None, includeChildOrgunits=None, orgUnitPath=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Counts ChromeOS devices matching the request.</p>
91 <p class="toc_element">
92 <code><a href="#issueCommand">issueCommand(customerId, deviceId, body=None, x__xgafv=None)</a></code></p>
93 <p class="firstline">Issues a command for the device to execute.</p>
94 <h3>Method Details</h3>
95 <div class="method">
96 <code class="details" id="batchChangeStatus">batchChangeStatus(customerId, body=None, x__xgafv=None)</code>
97 <pre>Changes the status of a batch of ChromeOS devices. For more information about changing a ChromeOS device state [Repair, repurpose, or retire ChromeOS devices](https://support.google.com/chrome/a/answer/3523633).
98
99 Args:
100 customerId: string, Required. Immutable ID of the Google Workspace account. (required)
101 body: object, The request body.
102 The object takes the form of:
103
104 { # A request for changing the status of a batch of ChromeOS devices.
105 &quot;changeChromeOsDeviceStatusAction&quot;: &quot;A String&quot;, # Required. The action to take on the ChromeOS device in order to change its status.
106 &quot;deprovisionReason&quot;: &quot;A String&quot;, # Optional. The reason behind a device deprovision. Must be provided if &#x27;changeChromeOsDeviceStatusAction&#x27; is set to &#x27;CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION&#x27;. Otherwise, omit this field.
107 &quot;deviceIds&quot;: [ # Required. List of the IDs of the ChromeOS devices to change. Maximum 50.
108 &quot;A String&quot;,
109 ],
110 }
111
112 x__xgafv: string, V1 error format.
113 Allowed values
114 1 - v1 error format
115 2 - v2 error format
116
117 Returns:
118 An object of the form:
119
120 { # The response of changing the status of a batch of ChromeOS devices.
121 &quot;changeChromeOsDeviceStatusResults&quot;: [ # The results for each of the ChromeOS devices provided in the request.
122 { # The result of a single ChromeOS device for a Change state operation.
123 &quot;deviceId&quot;: &quot;A String&quot;, # The unique ID of the ChromeOS device.
124 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
125 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
126 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
127 {
128 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
129 },
130 ],
131 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
132 },
133 &quot;response&quot;: { # Response for a successful ChromeOS device status change. # The device could change its status successfully.
134 },
135 },
136 ],
137 }</pre>
138 </div>
139
140 <div class="method">
141 <code class="details" id="close">close()</code>
142 <pre>Close httplib2 connections.</pre>
143 </div>
144
145 <div class="method">
146 <code class="details" id="countChromeOsDevices">countChromeOsDevices(customerId, filter=None, includeChildOrgunits=None, orgUnitPath=None, x__xgafv=None)</code>
147 <pre>Counts ChromeOS devices matching the request.
148
149 Args:
150 customerId: string, Required. Immutable ID of the Google Workspace account. (required)
151 filter: string, Optional. Search string in the format given at [List query operators](https://developers.google.com/workspace/admin/directory/v1/list-query-operators).
152 includeChildOrgunits: boolean, Optional. Return devices from all child orgunits, as well as the specified org unit. If this is set to true, &#x27;orgUnitPath&#x27; must be provided.
153 orgUnitPath: string, Optional. The full path of the organizational unit (minus the leading `/`) or its unique ID.
154 x__xgafv: string, V1 error format.
155 Allowed values
156 1 - v1 error format
157 2 - v2 error format
158
159 Returns:
160 An object of the form:
161
162 { # A response for counting ChromeOS devices.
163 &quot;count&quot;: &quot;A String&quot;, # The total number of devices matching the request.
164 }</pre>
165 </div>
166
167 <div class="method">
168 <code class="details" id="issueCommand">issueCommand(customerId, deviceId, body=None, x__xgafv=None)</code>
169 <pre>Issues a command for the device to execute.
170
171 Args:
172 customerId: string, Immutable. ID of the Google Workspace account. (required)
173 deviceId: string, Immutable. ID of Chrome OS Device. (required)
174 body: object, The request body.
175 The object takes the form of:
176
177 { # A request for issuing a command.
178 &quot;commandType&quot;: &quot;A String&quot;, # The type of command.
179 &quot;payload&quot;: &quot;A String&quot;, # The payload for the command, provide it only if command supports it. The following commands support adding payload: * `SET_VOLUME`: Payload is a stringified JSON object in the form: { &quot;volume&quot;: 50 }. The volume has to be an integer in the range [0,100]. * `DEVICE_START_CRD_SESSION`: Payload is optionally a stringified JSON object in the form: { &quot;ackedUserPresence&quot;: true, &quot;crdSessionType&quot;: string }. `ackedUserPresence` is a boolean. By default, `ackedUserPresence` is set to `false`. To start a Chrome Remote Desktop session for an active device, set `ackedUserPresence` to `true`. `crdSessionType` can only select from values `private` (which grants the remote admin exclusive control of the ChromeOS device) or `shared` (which allows the admin and the local user to share control of the ChromeOS device). If not set, `crdSessionType` defaults to `shared`. The `FETCH_CRD_AVAILABILITY_INFO` command can be used to determine available session types on the device. * `REBOOT`: Payload is a stringified JSON object in the form: { &quot;user_session_delay_seconds&quot;: 300 }. The `user_session_delay_seconds` is the amount of seconds to wait before rebooting the device if a user is logged in. It has to be an integer in the range [0,300]. When payload is not present for reboot, 0 delay is the default. Note: This only applies if an actual user is logged in, including a Guest. If the device is in the login screen or in Kiosk mode the value is not respected and the device immediately reboots. * `FETCH_SUPPORT_PACKET`: Payload is optionally a stringified JSON object in the form: {&quot;supportPacketDetails&quot;:{ &quot;issueCaseId&quot;: optional_support_case_id_string, &quot;issueDescription&quot;: optional_issue_description_string, &quot;requestedDataCollectors&quot;: []}} The list of available `data_collector_enums` are as following: Chrome System Information (1), Crash IDs (2), Memory Details (3), UI Hierarchy (4), Additional ChromeOS Platform Logs (5), Device Event (6), Intel WiFi NICs Debug Dump (7), Touch Events (8), Lacros (9), Lacros System Information (10), ChromeOS Flex Logs (11), DBus Details (12), ChromeOS Network Routes (13), ChromeOS Shill (Connection Manager) Logs (14), Policies (15), ChromeOS System State and Logs (16), ChromeOS System Logs (17), ChromeOS Chrome User Logs (18), ChromeOS Bluetooth (19), ChromeOS Connected Input Devices (20), ChromeOS Traffic Counters (21), ChromeOS Virtual Keyboard (22), ChromeOS Network Health (23). See more details in [help article](https://support.google.com/chrome/a?p=remote-log).
180 }
181
182 x__xgafv: string, V1 error format.
183 Allowed values
184 1 - v1 error format
185 2 - v2 error format
186
187 Returns:
188 An object of the form:
189
190 { # A response for issuing a command.
191 &quot;commandId&quot;: &quot;A String&quot;, # The unique ID of the issued command, used to retrieve the command status.
192 }</pre>
193 </div>
194
195 </body></html>