1<html><body>
2<style>
3
4body, 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
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, 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, 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(previous_request, previous_response)</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(previous_request, previous_response)</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
115Args:
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;, # 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
151Returns:
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;, # 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;, # 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
207Args:
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
223Returns:
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;, # 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
267Args:
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;, # 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
296Returns:
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;, # 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
323Args:
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
330Returns:
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); } The JSON representation for `Empty` is empty JSON object `{}`.
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
341Args:
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
348Returns:
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;, # 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, orgUnitId=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
373  <pre>List printers configs.
374
375Args:
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  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.
379  pageSize: integer, The maximum number of objects to return. The service may return fewer than this value.
380  pageToken: string, A page token, received from a previous call.
381  x__xgafv: string, V1 error format.
382    Allowed values
383      1 - v1 error format
384      2 - v2 error format
385
386Returns:
387  An object of the form:
388
389    { # Response for listing printers.
390  &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.
391  &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 given in the request, then all printers will be returned.
392    { # Printer configuration.
393      &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
394        { # 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;}
395          &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
396          &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
397          &quot;severity&quot;: &quot;A String&quot;, # Message severity
398        },
399      ],
400      &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
401      &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
402      &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
403      &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
404      &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.
405      &quot;name&quot;: &quot;A String&quot;, # The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
406      &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
407      &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
408      &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
409    },
410  ],
411}</pre>
412</div>
413
414<div class="method">
415    <code class="details" id="listPrinterModels">listPrinterModels(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
416  <pre>Lists the supported printer models.
417
418Args:
419  parent: string, Required. The name of the customer who owns this collection of printers. Format: customers/{customer_id} (required)
420  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.
421  pageSize: integer, The maximum number of objects to return. The service may return fewer than this value.
422  pageToken: string, A page token, received from a previous call.
423  x__xgafv: string, V1 error format.
424    Allowed values
425      1 - v1 error format
426      2 - v2 error format
427
428Returns:
429  An object of the form:
430
431    { # Response for listing allowed printer models.
432  &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.
433  &quot;printerModels&quot;: [ # Printer models that are currently allowed to be configured for ChromeOs. Some printers may be added or removed over time.
434    { # Printer manufacturer and model
435      &quot;displayName&quot;: &quot;A String&quot;, # Display name. eq. &quot;Brother MFC-8840D&quot;
436      &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;
437      &quot;manufacturer&quot;: &quot;A String&quot;, # Manufacturer. eq. &quot;Brother&quot;
438    },
439  ],
440}</pre>
441</div>
442
443<div class="method">
444    <code class="details" id="listPrinterModels_next">listPrinterModels_next(previous_request, previous_response)</code>
445  <pre>Retrieves the next page of results.
446
447Args:
448  previous_request: The request for the previous page. (required)
449  previous_response: The response from the request for the previous page. (required)
450
451Returns:
452  A request object that you can call &#x27;execute()&#x27; on to request the next
453  page. Returns None if there are no more items in the collection.
454    </pre>
455</div>
456
457<div class="method">
458    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
459  <pre>Retrieves the next page of results.
460
461Args:
462  previous_request: The request for the previous page. (required)
463  previous_response: The response from the request for the previous page. (required)
464
465Returns:
466  A request object that you can call &#x27;execute()&#x27; on to request the next
467  page. Returns None if there are no more items in the collection.
468    </pre>
469</div>
470
471<div class="method">
472    <code class="details" id="patch">patch(name, body=None, clearMask=None, updateMask=None, x__xgafv=None)</code>
473  <pre>Updates a `Printer` resource.
474
475Args:
476  name: string, The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty) (required)
477  body: object, The request body.
478    The object takes the form of:
479
480{ # Printer configuration.
481  &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
482    { # 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;}
483      &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
484      &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
485      &quot;severity&quot;: &quot;A String&quot;, # Message severity
486    },
487  ],
488  &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
489  &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
490  &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
491  &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
492  &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.
493  &quot;name&quot;: &quot;A String&quot;, # The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
494  &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
495  &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
496  &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
497}
498
499  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.
500  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.
501  x__xgafv: string, V1 error format.
502    Allowed values
503      1 - v1 error format
504      2 - v2 error format
505
506Returns:
507  An object of the form:
508
509    { # Printer configuration.
510  &quot;auxiliaryMessages&quot;: [ # Output only. Auxiliary messages about issues with the printer configuration if any.
511    { # 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;}
512      &quot;auxiliaryMessage&quot;: &quot;A String&quot;, # Human readable message in English. Example: &quot;Given printer is invalid or no longer supported.&quot;
513      &quot;fieldMask&quot;: &quot;A String&quot;, # Field that this message concerns.
514      &quot;severity&quot;: &quot;A String&quot;, # Message severity
515    },
516  ],
517  &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when printer was created.
518  &quot;description&quot;: &quot;A String&quot;, # Editable. Description of printer.
519  &quot;displayName&quot;: &quot;A String&quot;, # Editable. Name of printer.
520  &quot;id&quot;: &quot;A String&quot;, # Id of the printer. (During printer creation leave empty)
521  &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.
522  &quot;name&quot;: &quot;A String&quot;, # The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
523  &quot;orgUnitId&quot;: &quot;A String&quot;, # Organization Unit that owns this printer (Only can be set during Printer creation)
524  &quot;uri&quot;: &quot;A String&quot;, # Editable. Printer URI.
525  &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
526}</pre>
527</div>
528
529</body></html>