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.apps.methods.fetchDevicesRequestingExtension (Total Keys: 20)
- resources.customers.resources.apps.methods.fetchUsersRequestingExtension (Total Keys: 20)
- resources.customers.resources.reports.methods.countChromeCrashEvents (Total Keys: 17)
- schemas.GoogleChromeManagementV1CountChromeCrashEventsResponse (Total Keys: 10)
- schemas.GoogleChromeManagementV1DeviceRequestingExtensionDetails (Total Keys: 4)
- schemas.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse (Total Keys: 7)
- schemas.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse (Total Keys: 7)
- schemas.GoogleChromeManagementV1UserRequestingExtensionDetails (Total Keys: 4)
  • Loading branch information
yoshi-automation committed Mar 19, 2024
1 parent c77b19b commit 0c81748
Show file tree
Hide file tree
Showing 3 changed files with 378 additions and 1 deletion.
100 changes: 100 additions & 0 deletions docs/dyn/chromemanagement_v1.customers.apps.html
Expand Up @@ -98,6 +98,18 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#countChromeAppRequests_next">countChromeAppRequests_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#fetchDevicesRequestingExtension">fetchDevicesRequestingExtension(customer, extensionId=None, orgUnitId=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Get a list of devices that have requested to install an extension.</p>
<p class="toc_element">
<code><a href="#fetchDevicesRequestingExtension_next">fetchDevicesRequestingExtension_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#fetchUsersRequestingExtension">fetchUsersRequestingExtension(customer, extensionId=None, orgUnitId=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Get a list of users that have requested to install an extension.</p>
<p class="toc_element">
<code><a href="#fetchUsersRequestingExtension_next">fetchUsersRequestingExtension_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
Expand Down Expand Up @@ -153,4 +165,92 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="fetchDevicesRequestingExtension">fetchDevicesRequestingExtension(customer, extensionId=None, orgUnitId=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Get a list of devices that have requested to install an extension.

Args:
customer: string, Required. The customer ID or &quot;my_customer&quot; prefixed with &quot;customers/&quot;. (required)
extensionId: string, Required. The extension for which we want to find requesting devices.
orgUnitId: string, The ID of the organizational unit. Only consider devices that directly belong to this org unit, i.e. sub-orgunits are not counted. If omitted, all data will be returned.
pageSize: integer, Optional. Maximum number of results to return. Maximum and default are 50. Any page size larger than 50 will be coerced to 50.
pageToken: string, Optional. Token to specify the page of the request to be returned. Token expires after 1 day.
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 list of devices that have requested the queried extension.
&quot;deviceDetails&quot;: [ # Details of devices that have requested the queried extension.
{ # Details of a device requesting an extension, including the name of the device and the justification of the request.
&quot;deviceName&quot;: &quot;A String&quot;, # The name of a device that has requested the extension.
&quot;justification&quot;: &quot;A String&quot;, # Request justification as entered by the user.
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # Optional. Token to specify the next page in the list. Token expires after 1 day.
&quot;totalSize&quot;: 42, # Optional. Total number of devices in response.
}</pre>
</div>

<div class="method">
<code class="details" id="fetchDevicesRequestingExtension_next">fetchDevicesRequestingExtension_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="fetchUsersRequestingExtension">fetchUsersRequestingExtension(customer, extensionId=None, orgUnitId=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Get a list of users that have requested to install an extension.

Args:
customer: string, Required. The customer ID or &quot;my_customer&quot; prefixed with &quot;customers/&quot;. (required)
extensionId: string, Required. The extension for which we want to find the requesting users.
orgUnitId: string, The ID of the organizational unit. Only consider devices that directly belong to this org unit, i.e. sub-orgunits are not counted. If omitted, all data will be returned.
pageSize: integer, Optional. Maximum number of results to return. Maximum and default are 50. Any page size larger than 50 will be coerced to 50.
pageToken: string, Optional. Token to specify the page of the request to be returned. Token expires after 1 day.
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 list of users that have requested the queried extension.
&quot;nextPageToken&quot;: &quot;A String&quot;, # Token to specify the next page in the list.
&quot;totalSize&quot;: 42, # Total number of users in response.
&quot;userDetails&quot;: [ # Details of users that have requested the queried extension.
{ # Details of a user requesting an extension, including the email and the justification.
&quot;email&quot;: &quot;A String&quot;, # The e-mail address of a user that has requested the extension.
&quot;justification&quot;: &quot;A String&quot;, # Request justification as entered by the user.
},
],
}</pre>
</div>

<div class="method">
<code class="details" id="fetchUsersRequestingExtension_next">fetchUsersRequestingExtension_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>

</body></html>
35 changes: 35 additions & 0 deletions docs/dyn/chromemanagement_v1.customers.reports.html
Expand Up @@ -80,6 +80,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#countChromeBrowsersNeedingAttention">countChromeBrowsersNeedingAttention(customer, orgUnitId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Count of Chrome Browsers that have been recently enrolled, have new policy to be synced, or have no recent activity.</p>
<p class="toc_element">
<code><a href="#countChromeCrashEvents">countChromeCrashEvents(customer, filter=None, orderBy=None, orgUnitId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Get a count of Chrome crash events.</p>
<p class="toc_element">
<code><a href="#countChromeDevicesReachingAutoExpirationDate">countChromeDevicesReachingAutoExpirationDate(customer, maxAueDate=None, minAueDate=None, orgUnitId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Generate report of the number of devices expiring in each month of the selected time frame. Devices are grouped by auto update expiration date and model. Further information can be found [here](https://support.google.com/chrome/a/answer/10564947).</p>
Expand Down Expand Up @@ -153,6 +156,38 @@ <h3>Method Details</h3>
}</pre>
</div>

<div class="method">
<code class="details" id="countChromeCrashEvents">countChromeCrashEvents(customer, filter=None, orderBy=None, orgUnitId=None, x__xgafv=None)</code>
<pre>Get a count of Chrome crash events.

Args:
customer: string, Customer ID. (required)
filter: string, Query string to filter results, AND-separated fields in EBNF syntax. Supported filter fields: * major_browser_version * minor_browser_version * browser_channel * device_platform * past_number_days Example: `major_browser_version = &#x27;M115&#x27; AND past_number_days = &#x27;28&#x27;`.
orderBy: string, Field used to order results. Supported order by fields: * browser_version * count * date
orgUnitId: string, If specified, only count the number of crash events of the devices in this organizational unit.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Response contains a list of CrashEventCountByVersionPerDay which count the chrome crash at the certain date.
&quot;crashEventCounts&quot;: [ # Crash event counts grouped by date and browser version.
{ # The `count` of the Chrome crash events at the `date`.
&quot;browserVersion&quot;: &quot;A String&quot;, # Browser version this is counting.
&quot;count&quot;: &quot;A String&quot;, # Total count of crash events.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date of the crash event.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
}</pre>
</div>

<div class="method">
<code class="details" id="countChromeDevicesReachingAutoExpirationDate">countChromeDevicesReachingAutoExpirationDate(customer, maxAueDate=None, minAueDate=None, orgUnitId=None, x__xgafv=None)</code>
<pre>Generate report of the number of devices expiring in each month of the selected time frame. Devices are grouped by auto update expiration date and model. Further information can be found [here](https://support.google.com/chrome/a/answer/10564947).
Expand Down

0 comments on commit 0c81748

Please sign in to comment.