Skip to content

Commit b204e0f

Browse files
feat(chromemanagement): update the api
#### chromemanagement:v1 The following keys were added: - resources.customers.resources.reports.methods.countPrintJobsByPrinter (Total Keys: 22) - resources.customers.resources.reports.methods.countPrintJobsByUser (Total Keys: 22) - schemas.GoogleChromeManagementV1CountPrintJobsByPrinterResponse (Total Keys: 7) - schemas.GoogleChromeManagementV1CountPrintJobsByUserResponse (Total Keys: 7) - schemas.GoogleChromeManagementV1PrinterReport (Total Keys: 11) - schemas.GoogleChromeManagementV1UserPrintReport (Total Keys: 10)
1 parent bc983e9 commit b204e0f

File tree

2 files changed

+322
-1
lines changed

2 files changed

+322
-1
lines changed

docs/dyn/chromemanagement_v1.customers.reports.html

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,18 @@ <h2>Instance Methods</h2>
101101
<p class="toc_element">
102102
<code><a href="#countInstalledApps_next">countInstalledApps_next()</a></code></p>
103103
<p class="firstline">Retrieves the next page of results.</p>
104+
<p class="toc_element">
105+
<code><a href="#countPrintJobsByPrinter">countPrintJobsByPrinter(customer, filter=None, orderBy=None, pageSize=None, pageToken=None, printerOrgUnitId=None, x__xgafv=None)</a></code></p>
106+
<p class="firstline">Get a summary of printing done by each printer.</p>
107+
<p class="toc_element">
108+
<code><a href="#countPrintJobsByPrinter_next">countPrintJobsByPrinter_next()</a></code></p>
109+
<p class="firstline">Retrieves the next page of results.</p>
110+
<p class="toc_element">
111+
<code><a href="#countPrintJobsByUser">countPrintJobsByUser(customer, filter=None, orderBy=None, pageSize=None, pageToken=None, printerOrgUnitId=None, x__xgafv=None)</a></code></p>
112+
<p class="firstline">Get a summary of printing done by each user.</p>
113+
<p class="toc_element">
114+
<code><a href="#countPrintJobsByUser_next">countPrintJobsByUser_next()</a></code></p>
115+
<p class="firstline">Retrieves the next page of results.</p>
104116
<p class="toc_element">
105117
<code><a href="#findInstalledAppDevices">findInstalledAppDevices(customer, appId=None, appType=None, filter=None, orderBy=None, orgUnitId=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
106118
<p class="firstline">Generate report of devices that have a specified app installed.</p>
@@ -337,6 +349,103 @@ <h3>Method Details</h3>
337349
</pre>
338350
</div>
339351

352+
<div class="method">
353+
<code class="details" id="countPrintJobsByPrinter">countPrintJobsByPrinter(customer, filter=None, orderBy=None, pageSize=None, pageToken=None, printerOrgUnitId=None, x__xgafv=None)</code>
354+
<pre>Get a summary of printing done by each printer.
355+
356+
Args:
357+
customer: string, Required. Customer ID prefixed with &quot;customers/&quot; or &quot;customers/my_customer&quot; to use the customer associated to the account making the request. (required)
358+
filter: string, Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only &gt;= and &lt;= comparators are supported in this filter. Supported filter fields: * completion_time
359+
orderBy: string, Field used to order results. If omitted, results will be ordered in ascending order of the &#x27;printer&#x27; field. Supported order_by fields: * printer * job_count * device_count * user_count
360+
pageSize: integer, Maximum number of results to return. Maximum and default are 100.
361+
pageToken: string, Token to specify the page of the response to be returned.
362+
printerOrgUnitId: string, The ID of the organizational unit for printers. If specified, only data for printers from the specified organizational unit will be returned. If omitted, data for printers from all organizational units will be returned.
363+
x__xgafv: string, V1 error format.
364+
Allowed values
365+
1 - v1 error format
366+
2 - v2 error format
367+
368+
Returns:
369+
An object of the form:
370+
371+
{ # Response containing a summary printing report for each printer from the specified organizational unit for the requested time interval.
372+
&quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token for requesting the next page.
373+
&quot;printerReports&quot;: [ # List of PrinterReports matching request.
374+
{ # Report for CountPrintJobsByPrinter, contains statistics on printer usage. Contains the total number of print jobs initiated with this printer, the number of users and the number of devices that have initiated at least one print job with this printer.
375+
&quot;deviceCount&quot;: &quot;A String&quot;, # Number of chrome devices that have been used to send print jobs to the specified printer.
376+
&quot;jobCount&quot;: &quot;A String&quot;, # Number of print jobs sent to the printer.
377+
&quot;printer&quot;: &quot;A String&quot;, # Printer name.
378+
&quot;printerId&quot;: &quot;A String&quot;, # Printer API ID.
379+
&quot;printerModel&quot;: &quot;A String&quot;, # Printer model.
380+
&quot;userCount&quot;: &quot;A String&quot;, # Number of users that have sent print jobs to the printer.
381+
},
382+
],
383+
&quot;totalSize&quot;: &quot;A String&quot;, # Total number of printers matching request.
384+
}</pre>
385+
</div>
386+
387+
<div class="method">
388+
<code class="details" id="countPrintJobsByPrinter_next">countPrintJobsByPrinter_next()</code>
389+
<pre>Retrieves the next page of results.
390+
391+
Args:
392+
previous_request: The request for the previous page. (required)
393+
previous_response: The response from the request for the previous page. (required)
394+
395+
Returns:
396+
A request object that you can call &#x27;execute()&#x27; on to request the next
397+
page. Returns None if there are no more items in the collection.
398+
</pre>
399+
</div>
400+
401+
<div class="method">
402+
<code class="details" id="countPrintJobsByUser">countPrintJobsByUser(customer, filter=None, orderBy=None, pageSize=None, pageToken=None, printerOrgUnitId=None, x__xgafv=None)</code>
403+
<pre>Get a summary of printing done by each user.
404+
405+
Args:
406+
customer: string, Required. Customer ID prefixed with &quot;customers/&quot; or &quot;customers/my_customer&quot; to use the customer associated to the account making the request. (required)
407+
filter: string, Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only &gt;= and &lt;= comparators are supported in this filter. Supported filter fields: * completion_time
408+
orderBy: string, Field used to order results. If omitted, results will be ordered in ascending order of the &#x27;user_email&#x27; field. Supported order_by fields: * user_email * job_count * printer_count * device_count
409+
pageSize: integer, Maximum number of results to return. Maximum and default are 100.
410+
pageToken: string, Token to specify the page of the response to be returned.
411+
printerOrgUnitId: string, The ID of the organizational unit for printers. If specified, only print jobs initiated with printers from the specified organizational unit will be counted. If omitted, all print jobs will be counted.
412+
x__xgafv: string, V1 error format.
413+
Allowed values
414+
1 - v1 error format
415+
2 - v2 error format
416+
417+
Returns:
418+
An object of the form:
419+
420+
{ # Response containing a summary printing report for each user that has initiated a print job with a printer from the specified organizational unit during the requested time interval.
421+
&quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token for requesting the next page.
422+
&quot;totalSize&quot;: &quot;A String&quot;, # Total number of users matching request.
423+
&quot;userPrintReports&quot;: [ # List of UserPrintReports matching request.
424+
{ # Report for CountPrintJobsByUser, contains printing statistics for a user. Contains the number of printers, the number of devices used to initiate print jobs, and the number of print jobs initiated.
425+
&quot;deviceCount&quot;: &quot;A String&quot;, # Number of chrome devices that have been used to initiate print jobs by the user.
426+
&quot;jobCount&quot;: &quot;A String&quot;, # Number of print jobs initiated by the user.
427+
&quot;printerCount&quot;: &quot;A String&quot;, # Number of printers used by the user.
428+
&quot;userEmail&quot;: &quot;A String&quot;, # The primary e-mail address of the user.
429+
&quot;userId&quot;: &quot;A String&quot;, # The unique Directory API ID of the user.
430+
},
431+
],
432+
}</pre>
433+
</div>
434+
435+
<div class="method">
436+
<code class="details" id="countPrintJobsByUser_next">countPrintJobsByUser_next()</code>
437+
<pre>Retrieves the next page of results.
438+
439+
Args:
440+
previous_request: The request for the previous page. (required)
441+
previous_response: The response from the request for the previous page. (required)
442+
443+
Returns:
444+
A request object that you can call &#x27;execute()&#x27; on to request the next
445+
page. Returns None if there are no more items in the collection.
446+
</pre>
447+
</div>
448+
340449
<div class="method">
341450
<code class="details" id="findInstalledAppDevices">findInstalledAppDevices(customer, appId=None, appType=None, filter=None, orderBy=None, orgUnitId=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
342451
<pre>Generate report of devices that have a specified app installed.

0 commit comments

Comments
 (0)