Skip to content

Commit

Permalink
feat(chromemanagement): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Feb 21, 2023
1 parent bc983e9 commit b204e0f
Show file tree
Hide file tree
Showing 2 changed files with 322 additions and 1 deletion.
109 changes: 109 additions & 0 deletions docs/dyn/chromemanagement_v1.customers.reports.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,18 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#countInstalledApps_next">countInstalledApps_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#countPrintJobsByPrinter">countPrintJobsByPrinter(customer, filter=None, orderBy=None, pageSize=None, pageToken=None, printerOrgUnitId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Get a summary of printing done by each printer.</p>
<p class="toc_element">
<code><a href="#countPrintJobsByPrinter_next">countPrintJobsByPrinter_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#countPrintJobsByUser">countPrintJobsByUser(customer, filter=None, orderBy=None, pageSize=None, pageToken=None, printerOrgUnitId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Get a summary of printing done by each user.</p>
<p class="toc_element">
<code><a href="#countPrintJobsByUser_next">countPrintJobsByUser_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<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>
<p class="firstline">Generate report of devices that have a specified app installed.</p>
Expand Down Expand Up @@ -337,6 +349,103 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="countPrintJobsByPrinter">countPrintJobsByPrinter(customer, filter=None, orderBy=None, pageSize=None, pageToken=None, printerOrgUnitId=None, x__xgafv=None)</code>
<pre>Get a summary of printing done by each printer.

Args:
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)
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
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
pageSize: integer, Maximum number of results to return. Maximum and default are 100.
pageToken: string, Token to specify the page of the response to be returned.
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.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Response containing a summary printing report for each printer from the specified organizational unit for the requested time interval.
&quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token for requesting the next page.
&quot;printerReports&quot;: [ # List of PrinterReports matching request.
{ # 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.
&quot;deviceCount&quot;: &quot;A String&quot;, # Number of chrome devices that have been used to send print jobs to the specified printer.
&quot;jobCount&quot;: &quot;A String&quot;, # Number of print jobs sent to the printer.
&quot;printer&quot;: &quot;A String&quot;, # Printer name.
&quot;printerId&quot;: &quot;A String&quot;, # Printer API ID.
&quot;printerModel&quot;: &quot;A String&quot;, # Printer model.
&quot;userCount&quot;: &quot;A String&quot;, # Number of users that have sent print jobs to the printer.
},
],
&quot;totalSize&quot;: &quot;A String&quot;, # Total number of printers matching request.
}</pre>
</div>

<div class="method">
<code class="details" id="countPrintJobsByPrinter_next">countPrintJobsByPrinter_next()</code>
<pre>Retrieves the next page of results.

Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)

Returns:
A request object that you can call &#x27;execute()&#x27; on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>

<div class="method">
<code class="details" id="countPrintJobsByUser">countPrintJobsByUser(customer, filter=None, orderBy=None, pageSize=None, pageToken=None, printerOrgUnitId=None, x__xgafv=None)</code>
<pre>Get a summary of printing done by each user.

Args:
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)
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
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
pageSize: integer, Maximum number of results to return. Maximum and default are 100.
pageToken: string, Token to specify the page of the response to be returned.
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.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # 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.
&quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token for requesting the next page.
&quot;totalSize&quot;: &quot;A String&quot;, # Total number of users matching request.
&quot;userPrintReports&quot;: [ # List of UserPrintReports matching request.
{ # 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.
&quot;deviceCount&quot;: &quot;A String&quot;, # Number of chrome devices that have been used to initiate print jobs by the user.
&quot;jobCount&quot;: &quot;A String&quot;, # Number of print jobs initiated by the user.
&quot;printerCount&quot;: &quot;A String&quot;, # Number of printers used by the user.
&quot;userEmail&quot;: &quot;A String&quot;, # The primary e-mail address of the user.
&quot;userId&quot;: &quot;A String&quot;, # The unique Directory API ID of the user.
},
],
}</pre>
</div>

<div class="method">
<code class="details" id="countPrintJobsByUser_next">countPrintJobsByUser_next()</code>
<pre>Retrieves the next page of results.

Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)

Returns:
A request object that you can call &#x27;execute()&#x27; on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>

<div class="method">
<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>
<pre>Generate report of devices that have a specified app installed.
Expand Down
Loading

0 comments on commit b204e0f

Please sign in to comment.