Debian Codegraph @

docs/dyn/admin_directory_v1.customers.chrome.printers.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.customers.html">customers</a> . <a href="admin_directory_v1.customers.chrome.html">chrome</a> . <a href="admin_directory_v1.customers.chrome.printers.html">printers</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#batchCreatePrinters">batchCreatePrinters(parent, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Creates printers under given Organization Unit.</p>
80 <p class="toc_element">
81 <code><a href="#batchDeletePrinters">batchDeletePrinters(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes printers in batch.</p>
83 <p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85 <p class="firstline">Close httplib2 connections.</p>
86 <p class="toc_element">
87 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Creates a printer under given Organization Unit.</p>
89 <p class="toc_element">
90 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
91 <p class="firstline">Deletes a `Printer`.</p>
92 <p class="toc_element">
93 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
94 <p class="firstline">Returns a `Printer` resource (printer's config).</p>
95 <p class="toc_element">
96 <code><a href="#list">list(parent, filter=None, orderBy=None, orgUnitId=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">List printers configs.</p>
98 <p class="toc_element">
99 <code><a href="#listPrinterModels">listPrinterModels(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Lists the supported printer models.</p>
101 <p class="toc_element">
102 <code><a href="#listPrinterModels_next">listPrinterModels_next()</a></code></p>
103 <p class="firstline">Retrieves the next page of results.</p>
104 <p class="toc_element">
105 <code><a href="#list_next">list_next()</a></code></p>
106 <p class="firstline">Retrieves the next page of results.</p>
107 <p class="toc_element">
108 <code><a href="#patch">patch(name, body=None, clearMask=None, updateMask=None, x__xgafv=None)</a></code></p>
109 <p class="firstline">Updates a `Printer` resource.</p>
110 <h3>Method Details</h3>
111 <div class="method">
112 <code class="details" id="batchCreatePrinters">batchCreatePrinters(parent, body=None, x__xgafv=None)</code>
113 <pre>Creates printers under given Organization Unit.
114
115 Args:
116 parent: string, Required. The name of the customer. Format: customers/{customer_id} (required)
117 body: object, The request body.
118 The object takes the form of:
119
120 { # Request for adding new printers in batch.
121 &quot;requests&quot;: [ # A list of Printers to be created. Max 50 at a time.
122 { # Request for adding a new printer.
123 &quot;parent&quot;: &quot;A String&quot;, # Required. The name of the customer. Format: customers/{customer_id}
124 &quot;printer&quot;: { # Printer configuration. # Required. A printer to create. If you want to place the printer under particular OU then populate printer.org_unit_id filed. Otherwise the printer will be placed under root OU.
125 &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
126 { # Auxiliary message about issues with printers or settings. Example: {message_type:AUXILIARY_MESSAGE_WARNING, field_mask:make_and_model, message:&quot;Given printer is invalid or no longer supported.&quot;}
127 &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
128 &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
129 &quot;severity&quot;: &quot;A String&quot;, # Message severity
130 },
131 ],
132 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
133 &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
134 &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
135 &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
136 &quot;makeAndModel&quot;: &quot;A String&quot;, # Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response.
137 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
138 &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
139 &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
140 &quot;useDriverlessConfig&quot;: True or False, # Editable. flag to use driverless configuration or not. If it&#x27;s set to be true, make_and_model can be ignored
141 },
142 },
143 ],
144 }
145
146 x__xgafv: string, V1 error format.
147 Allowed values
148 1 - v1 error format
149 2 - v2 error format
150
151 Returns:
152 An object of the form:
153
154 { # Response for adding new printers in batch.
155 &quot;failures&quot;: [ # A list of create failures. Printer IDs are not populated, as printer were not created.
156 { # Info about failures
157 &quot;errorCode&quot;: &quot;A String&quot;, # Canonical code for why the update failed to apply.
158 &quot;errorMessage&quot;: &quot;A String&quot;, # Failure reason message.
159 &quot;printer&quot;: { # Printer configuration. # Failed printer.
160 &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
161 { # Auxiliary message about issues with printers or settings. Example: {message_type:AUXILIARY_MESSAGE_WARNING, field_mask:make_and_model, message:&quot;Given printer is invalid or no longer supported.&quot;}
162 &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
163 &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
164 &quot;severity&quot;: &quot;A String&quot;, # Message severity
165 },
166 ],
167 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
168 &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
169 &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
170 &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
171 &quot;makeAndModel&quot;: &quot;A String&quot;, # Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response.
172 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
173 &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
174 &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
175 &quot;useDriverlessConfig&quot;: True or False, # Editable. flag to use driverless configuration or not. If it&#x27;s set to be true, make_and_model can be ignored
176 },
177 &quot;printerId&quot;: &quot;A String&quot;, # Id of a failed printer.
178 },
179 ],
180 &quot;printers&quot;: [ # A list of successfully created printers with their IDs populated.
181 { # Printer configuration.
182 &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
183 { # Auxiliary message about issues with printers or settings. Example: {message_type:AUXILIARY_MESSAGE_WARNING, field_mask:make_and_model, message:&quot;Given printer is invalid or no longer supported.&quot;}
184 &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
185 &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
186 &quot;severity&quot;: &quot;A String&quot;, # Message severity
187 },
188 ],
189 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
190 &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
191 &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
192 &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
193 &quot;makeAndModel&quot;: &quot;A String&quot;, # Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response.
194 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
195 &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
196 &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
197 &quot;useDriverlessConfig&quot;: True or False, # Editable. flag to use driverless configuration or not. If it&#x27;s set to be true, make_and_model can be ignored
198 },
199 ],
200 }</pre>
201 </div>
202
203 <div class="method">
204 <code class="details" id="batchDeletePrinters">batchDeletePrinters(parent, body=None, x__xgafv=None)</code>
205 <pre>Deletes printers in batch.
206
207 Args:
208 parent: string, Required. The name of the customer. Format: customers/{customer_id} (required)
209 body: object, The request body.
210 The object takes the form of:
211
212 { # Request for deleting existing printers in batch.
213 &quot;printerIds&quot;: [ # A list of Printer.id that should be deleted. Max 100 at a time.
214 &quot;A String&quot;,
215 ],
216 }
217
218 x__xgafv: string, V1 error format.
219 Allowed values
220 1 - v1 error format
221 2 - v2 error format
222
223 Returns:
224 An object of the form:
225
226 { # Response for deleting existing printers in batch.
227 &quot;failedPrinters&quot;: [ # A list of update failures.
228 { # Info about failures
229 &quot;errorCode&quot;: &quot;A String&quot;, # Canonical code for why the update failed to apply.
230 &quot;errorMessage&quot;: &quot;A String&quot;, # Failure reason message.
231 &quot;printer&quot;: { # Printer configuration. # Failed printer.
232 &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
233 { # Auxiliary message about issues with printers or settings. Example: {message_type:AUXILIARY_MESSAGE_WARNING, field_mask:make_and_model, message:&quot;Given printer is invalid or no longer supported.&quot;}
234 &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
235 &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
236 &quot;severity&quot;: &quot;A String&quot;, # Message severity
237 },
238 ],
239 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
240 &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
241 &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
242 &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
243 &quot;makeAndModel&quot;: &quot;A String&quot;, # Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response.
244 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
245 &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
246 &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
247 &quot;useDriverlessConfig&quot;: True or False, # Editable. flag to use driverless configuration or not. If it&#x27;s set to be true, make_and_model can be ignored
248 },
249 &quot;printerId&quot;: &quot;A String&quot;, # Id of a failed printer.
250 },
251 ],
252 &quot;printerIds&quot;: [ # A list of Printer.id that were successfully deleted.
253 &quot;A String&quot;,
254 ],
255 }</pre>
256 </div>
257
258 <div class="method">
259 <code class="details" id="close">close()</code>
260 <pre>Close httplib2 connections.</pre>
261 </div>
262
263 <div class="method">
264 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
265 <pre>Creates a printer under given Organization Unit.
266
267 Args:
268 parent: string, Required. The name of the customer. Format: customers/{customer_id} (required)
269 body: object, The request body.
270 The object takes the form of:
271
272 { # Printer configuration.
273 &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
274 { # Auxiliary message about issues with printers or settings. Example: {message_type:AUXILIARY_MESSAGE_WARNING, field_mask:make_and_model, message:&quot;Given printer is invalid or no longer supported.&quot;}
275 &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
276 &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
277 &quot;severity&quot;: &quot;A String&quot;, # Message severity
278 },
279 ],
280 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
281 &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
282 &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
283 &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
284 &quot;makeAndModel&quot;: &quot;A String&quot;, # Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response.
285 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
286 &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
287 &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
288 &quot;useDriverlessConfig&quot;: True or False, # Editable. flag to use driverless configuration or not. If it&#x27;s set to be true, make_and_model can be ignored
289 }
290
291 x__xgafv: string, V1 error format.
292 Allowed values
293 1 - v1 error format
294 2 - v2 error format
295
296 Returns:
297 An object of the form:
298
299 { # Printer configuration.
300 &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
301 { # Auxiliary message about issues with printers or settings. Example: {message_type:AUXILIARY_MESSAGE_WARNING, field_mask:make_and_model, message:&quot;Given printer is invalid or no longer supported.&quot;}
302 &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
303 &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
304 &quot;severity&quot;: &quot;A String&quot;, # Message severity
305 },
306 ],
307 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
308 &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
309 &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
310 &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
311 &quot;makeAndModel&quot;: &quot;A String&quot;, # Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response.
312 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
313 &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
314 &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
315 &quot;useDriverlessConfig&quot;: True or False, # Editable. flag to use driverless configuration or not. If it&#x27;s set to be true, make_and_model can be ignored
316 }</pre>
317 </div>
318
319 <div class="method">
320 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
321 <pre>Deletes a `Printer`.
322
323 Args:
324 name: string, Required. The name of the printer to be updated. Format: customers/{customer_id}/chrome/printers/{printer_id} (required)
325 x__xgafv: string, V1 error format.
326 Allowed values
327 1 - v1 error format
328 2 - v2 error format
329
330 Returns:
331 An object of the form:
332
333 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
334 }</pre>
335 </div>
336
337 <div class="method">
338 <code class="details" id="get">get(name, x__xgafv=None)</code>
339 <pre>Returns a `Printer` resource (printer&#x27;s config).
340
341 Args:
342 name: string, Required. The name of the printer to retrieve. Format: customers/{customer_id}/chrome/printers/{printer_id} (required)
343 x__xgafv: string, V1 error format.
344 Allowed values
345 1 - v1 error format
346 2 - v2 error format
347
348 Returns:
349 An object of the form:
350
351 { # Printer configuration.
352 &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
353 { # Auxiliary message about issues with printers or settings. Example: {message_type:AUXILIARY_MESSAGE_WARNING, field_mask:make_and_model, message:&quot;Given printer is invalid or no longer supported.&quot;}
354 &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
355 &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
356 &quot;severity&quot;: &quot;A String&quot;, # Message severity
357 },
358 ],
359 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
360 &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
361 &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
362 &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
363 &quot;makeAndModel&quot;: &quot;A String&quot;, # Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response.
364 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
365 &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
366 &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
367 &quot;useDriverlessConfig&quot;: True or False, # Editable. flag to use driverless configuration or not. If it&#x27;s set to be true, make_and_model can be ignored
368 }</pre>
369 </div>
370
371 <div class="method">
372 <code class="details" id="list">list(parent, filter=None, orderBy=None, orgUnitId=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
373 <pre>List printers configs.
374
375 Args:
376 parent: string, Required. The name of the customer who owns this collection of printers. Format: customers/{customer_id} (required)
377 filter: string, Search query. Search syntax is shared between this api and Admin Console printers pages.
378 orderBy: string, The order to sort results by. Must be one of display_name, description, make_and_model, or create_time. Default order is ascending, but descending order can be returned by appending &quot;desc&quot; to the order_by field. For instance, &quot;description desc&quot; will return the printers sorted by description in descending order.
379 orgUnitId: string, Organization Unit that we want to list the printers for. When org_unit is not present in the request then all printers of the customer are returned (or filtered). When org_unit is present in the request then only printers available to this OU will be returned (owned or inherited). You may see if printer is owned or inherited for this OU by looking at Printer.org_unit_id.
380 pageSize: integer, The maximum number of objects to return. The service may return fewer than this value.
381 pageToken: string, A page token, received from a previous call.
382 x__xgafv: string, V1 error format.
383 Allowed values
384 1 - v1 error format
385 2 - v2 error format
386
387 Returns:
388 An object of the form:
389
390 { # Response for listing printers.
391 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
392 &quot;printers&quot;: [ # List of printers. If `org_unit_id` was given in the request, then only printers visible for this OU will be returned. If `org_unit_id` was not given in the request, then all printers will be returned.
393 { # Printer configuration.
394 &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
395 { # Auxiliary message about issues with printers or settings. Example: {message_type:AUXILIARY_MESSAGE_WARNING, field_mask:make_and_model, message:&quot;Given printer is invalid or no longer supported.&quot;}
396 &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
397 &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
398 &quot;severity&quot;: &quot;A String&quot;, # Message severity
399 },
400 ],
401 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
402 &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
403 &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
404 &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
405 &quot;makeAndModel&quot;: &quot;A String&quot;, # Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response.
406 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
407 &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
408 &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
409 &quot;useDriverlessConfig&quot;: True or False, # Editable. flag to use driverless configuration or not. If it&#x27;s set to be true, make_and_model can be ignored
410 },
411 ],
412 }</pre>
413 </div>
414
415 <div class="method">
416 <code class="details" id="listPrinterModels">listPrinterModels(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
417 <pre>Lists the supported printer models.
418
419 Args:
420 parent: string, Required. The name of the customer who owns this collection of printers. Format: customers/{customer_id} (required)
421 filter: string, Filer to list only models by a given manufacturer in format: &quot;manufacturer:Brother&quot;. Search syntax is shared between this api and Admin Console printers pages.
422 pageSize: integer, The maximum number of objects to return. The service may return fewer than this value.
423 pageToken: string, A page token, received from a previous call.
424 x__xgafv: string, V1 error format.
425 Allowed values
426 1 - v1 error format
427 2 - v2 error format
428
429 Returns:
430 An object of the form:
431
432 { # Response for listing allowed printer models.
433 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
434 &quot;printerModels&quot;: [ # Printer models that are currently allowed to be configured for ChromeOs. Some printers may be added or removed over time.
435 { # Printer manufacturer and model
436 &quot;displayName&quot;: &quot;A String&quot;, # Display name. eq. &quot;Brother MFC-8840D&quot;
437 &quot;makeAndModel&quot;: &quot;A String&quot;, # Make and model as represented in &quot;make_and_model&quot; field in Printer object. eq. &quot;brother mfc-8840d&quot;
438 &quot;manufacturer&quot;: &quot;A String&quot;, # Manufacturer. eq. &quot;Brother&quot;
439 },
440 ],
441 }</pre>
442 </div>
443
444 <div class="method">
445 <code class="details" id="listPrinterModels_next">listPrinterModels_next()</code>
446 <pre>Retrieves the next page of results.
447
448 Args:
449 previous_request: The request for the previous page. (required)
450 previous_response: The response from the request for the previous page. (required)
451
452 Returns:
453 A request object that you can call &#x27;execute()&#x27; on to request the next
454 page. Returns None if there are no more items in the collection.
455 </pre>
456 </div>
457
458 <div class="method">
459 <code class="details" id="list_next">list_next()</code>
460 <pre>Retrieves the next page of results.
461
462 Args:
463 previous_request: The request for the previous page. (required)
464 previous_response: The response from the request for the previous page. (required)
465
466 Returns:
467 A request object that you can call &#x27;execute()&#x27; on to request the next
468 page. Returns None if there are no more items in the collection.
469 </pre>
470 </div>
471
472 <div class="method">
473 <code class="details" id="patch">patch(name, body=None, clearMask=None, updateMask=None, x__xgafv=None)</code>
474 <pre>Updates a `Printer` resource.
475
476 Args:
477 name: string, Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty) (required)
478 body: object, The request body.
479 The object takes the form of:
480
481 { # Printer configuration.
482 &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
483 { # Auxiliary message about issues with printers or settings. Example: {message_type:AUXILIARY_MESSAGE_WARNING, field_mask:make_and_model, message:&quot;Given printer is invalid or no longer supported.&quot;}
484 &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
485 &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
486 &quot;severity&quot;: &quot;A String&quot;, # Message severity
487 },
488 ],
489 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
490 &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
491 &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
492 &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
493 &quot;makeAndModel&quot;: &quot;A String&quot;, # Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response.
494 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
495 &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
496 &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
497 &quot;useDriverlessConfig&quot;: True or False, # Editable. flag to use driverless configuration or not. If it&#x27;s set to be true, make_and_model can be ignored
498 }
499
500 clearMask: string, The list of fields to be cleared. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched.
501 updateMask: string, The list of fields to be updated. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched.
502 x__xgafv: string, V1 error format.
503 Allowed values
504 1 - v1 error format
505 2 - v2 error format
506
507 Returns:
508 An object of the form:
509
510 { # Printer configuration.
511 &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
512 { # Auxiliary message about issues with printers or settings. Example: {message_type:AUXILIARY_MESSAGE_WARNING, field_mask:make_and_model, message:&quot;Given printer is invalid or no longer supported.&quot;}
513 &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
514 &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
515 &quot;severity&quot;: &quot;A String&quot;, # Message severity
516 },
517 ],
518 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
519 &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
520 &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
521 &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
522 &quot;makeAndModel&quot;: &quot;A String&quot;, # Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response.
523 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
524 &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
525 &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
526 &quot;useDriverlessConfig&quot;: True or False, # Editable. flag to use driverless configuration or not. If it&#x27;s set to be true, make_and_model can be ignored
527 }</pre>
528 </div>
529
530 </body></html>