@googleapis/chromemanagement 11.0.0 → 12.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [12.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v12.0.0...chromemanagement-v12.0.1) (2024-05-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **chromemanagement:** update the API ([2a9f611](https://github.com/googleapis/google-api-nodejs-client/commit/2a9f611d836a86cb36e0288ee13818238fac9a02))
9
+
10
+ ## [12.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v11.0.0...chromemanagement-v12.0.0) (2024-04-04)
11
+
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ * This release has breaking changes.
16
+ * This release has breaking changes.
17
+
18
+ ### Features
19
+
20
+ * **chromemanagement:** update the API ([131c12a](https://github.com/googleapis/google-api-nodejs-client/commit/131c12acfaa6da342816048c965167d98f3bb340))
21
+ * **chromemanagement:** update the API ([1414b5c](https://github.com/googleapis/google-api-nodejs-client/commit/1414b5c0164f00058a28016aca3caaf750983357))
22
+ * run the generator ([#3447](https://github.com/googleapis/google-api-nodejs-client/issues/3447)) ([873b559](https://github.com/googleapis/google-api-nodejs-client/commit/873b55950bcf04db37f08e8a62caa6e4a9b9c487))
23
+ * run the generator ([#3456](https://github.com/googleapis/google-api-nodejs-client/issues/3456)) ([a865e81](https://github.com/googleapis/google-api-nodejs-client/commit/a865e81539b315d3b321650663ba0b2555b1e5a1))
24
+
3
25
  ## [11.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v10.3.0...chromemanagement-v11.0.0) (2024-03-12)
4
26
 
5
27
 
package/build/v1.d.ts CHANGED
@@ -494,6 +494,32 @@ export declare namespace chromemanagement_v1 {
494
494
  */
495
495
  recentlyEnrolledCount?: string | null;
496
496
  }
497
+ /**
498
+ * Response contains a list of CrashEventCountByVersionPerDay which count the chrome crash at the certain date.
499
+ */
500
+ export interface Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse {
501
+ /**
502
+ * Crash event counts grouped by date and browser version.
503
+ */
504
+ crashEventCounts?: Schema$GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount[];
505
+ }
506
+ /**
507
+ * The `count` of the Chrome crash events at the `date`.
508
+ */
509
+ export interface Schema$GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount {
510
+ /**
511
+ * Browser version this is counting.
512
+ */
513
+ browserVersion?: string | null;
514
+ /**
515
+ * Total count of crash events.
516
+ */
517
+ count?: string | null;
518
+ /**
519
+ * Date of the crash event.
520
+ */
521
+ date?: Schema$GoogleTypeDate;
522
+ }
497
523
  /**
498
524
  * Response containing a list of devices expiring in each month of a selected time frame. Counts are grouped by model and Auto Update Expiration date.
499
525
  */
@@ -740,6 +766,19 @@ export declare namespace chromemanagement_v1 {
740
766
  */
741
767
  count?: string | null;
742
768
  }
769
+ /**
770
+ * Details of a device requesting an extension, including the name of the device and the justification of the request.
771
+ */
772
+ export interface Schema$GoogleChromeManagementV1DeviceRequestingExtensionDetails {
773
+ /**
774
+ * The name of a device that has requested the extension.
775
+ */
776
+ deviceName?: string | null;
777
+ /**
778
+ * Request justification as entered by the user.
779
+ */
780
+ justification?: string | null;
781
+ }
743
782
  /**
744
783
  * Status of the single storage device.
745
784
  */
@@ -876,6 +915,40 @@ export declare namespace chromemanagement_v1 {
876
915
  */
877
916
  totalSize?: string | null;
878
917
  }
918
+ /**
919
+ * Response containing a list of devices that have requested the queried extension.
920
+ */
921
+ export interface Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse {
922
+ /**
923
+ * Details of devices that have requested the queried extension.
924
+ */
925
+ deviceDetails?: Schema$GoogleChromeManagementV1DeviceRequestingExtensionDetails[];
926
+ /**
927
+ * Optional. Token to specify the next page in the list. Token expires after 1 day.
928
+ */
929
+ nextPageToken?: string | null;
930
+ /**
931
+ * Optional. Total number of devices in response.
932
+ */
933
+ totalSize?: number | null;
934
+ }
935
+ /**
936
+ * Response containing a list of users that have requested the queried extension.
937
+ */
938
+ export interface Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse {
939
+ /**
940
+ * Token to specify the next page in the list.
941
+ */
942
+ nextPageToken?: string | null;
943
+ /**
944
+ * Total number of users in response.
945
+ */
946
+ totalSize?: number | null;
947
+ /**
948
+ * Details of users that have requested the queried extension.
949
+ */
950
+ userDetails?: Schema$GoogleChromeManagementV1UserRequestingExtensionDetails[];
951
+ }
879
952
  /**
880
953
  * Response containing a list of devices with queried app installed.
881
954
  */
@@ -1920,6 +1993,19 @@ export declare namespace chromemanagement_v1 {
1920
1993
  */
1921
1994
  userId?: string | null;
1922
1995
  }
1996
+ /**
1997
+ * Details of a user requesting an extension, including the email and the justification.
1998
+ */
1999
+ export interface Schema$GoogleChromeManagementV1UserRequestingExtensionDetails {
2000
+ /**
2001
+ * The e-mail address of a user that has requested the extension.
2002
+ */
2003
+ email?: string | null;
2004
+ /**
2005
+ * Request justification as entered by the user.
2006
+ */
2007
+ justification?: string | null;
2008
+ }
1923
2009
  /**
1924
2010
  * 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); \}
1925
2011
  */
@@ -1988,6 +2074,34 @@ export declare namespace chromemanagement_v1 {
1988
2074
  countChromeAppRequests(params: Params$Resource$Customers$Apps$Countchromeapprequests, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>): void;
1989
2075
  countChromeAppRequests(params: Params$Resource$Customers$Apps$Countchromeapprequests, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>): void;
1990
2076
  countChromeAppRequests(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>): void;
2077
+ /**
2078
+ * Get a list of devices that have requested to install an extension.
2079
+ *
2080
+ * @param params - Parameters for request
2081
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2082
+ * @param callback - Optional callback that handles the response.
2083
+ * @returns A promise if used with async/await, or void if used with a callback.
2084
+ */
2085
+ fetchDevicesRequestingExtension(params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension, options: StreamMethodOptions): GaxiosPromise<Readable>;
2086
+ fetchDevicesRequestingExtension(params?: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>;
2087
+ fetchDevicesRequestingExtension(params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2088
+ fetchDevicesRequestingExtension(params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>): void;
2089
+ fetchDevicesRequestingExtension(params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>): void;
2090
+ fetchDevicesRequestingExtension(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>): void;
2091
+ /**
2092
+ * Get a list of users that have requested to install an extension.
2093
+ *
2094
+ * @param params - Parameters for request
2095
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2096
+ * @param callback - Optional callback that handles the response.
2097
+ * @returns A promise if used with async/await, or void if used with a callback.
2098
+ */
2099
+ fetchUsersRequestingExtension(params: Params$Resource$Customers$Apps$Fetchusersrequestingextension, options: StreamMethodOptions): GaxiosPromise<Readable>;
2100
+ fetchUsersRequestingExtension(params?: Params$Resource$Customers$Apps$Fetchusersrequestingextension, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>;
2101
+ fetchUsersRequestingExtension(params: Params$Resource$Customers$Apps$Fetchusersrequestingextension, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2102
+ fetchUsersRequestingExtension(params: Params$Resource$Customers$Apps$Fetchusersrequestingextension, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>): void;
2103
+ fetchUsersRequestingExtension(params: Params$Resource$Customers$Apps$Fetchusersrequestingextension, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>): void;
2104
+ fetchUsersRequestingExtension(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>): void;
1991
2105
  }
1992
2106
  export interface Params$Resource$Customers$Apps$Countchromeapprequests extends StandardParameters {
1993
2107
  /**
@@ -2011,6 +2125,50 @@ export declare namespace chromemanagement_v1 {
2011
2125
  */
2012
2126
  pageToken?: string;
2013
2127
  }
2128
+ export interface Params$Resource$Customers$Apps$Fetchdevicesrequestingextension extends StandardParameters {
2129
+ /**
2130
+ * Required. The customer ID or "my_customer" prefixed with "customers/".
2131
+ */
2132
+ customer?: string;
2133
+ /**
2134
+ * Required. The extension for which we want to find requesting devices.
2135
+ */
2136
+ extensionId?: string;
2137
+ /**
2138
+ * 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.
2139
+ */
2140
+ orgUnitId?: string;
2141
+ /**
2142
+ * Optional. Maximum number of results to return. Maximum and default are 50. Any page size larger than 50 will be coerced to 50.
2143
+ */
2144
+ pageSize?: number;
2145
+ /**
2146
+ * Optional. Token to specify the page of the request to be returned. Token expires after 1 day.
2147
+ */
2148
+ pageToken?: string;
2149
+ }
2150
+ export interface Params$Resource$Customers$Apps$Fetchusersrequestingextension extends StandardParameters {
2151
+ /**
2152
+ * Required. The customer ID or "my_customer" prefixed with "customers/".
2153
+ */
2154
+ customer?: string;
2155
+ /**
2156
+ * Required. The extension for which we want to find the requesting users.
2157
+ */
2158
+ extensionId?: string;
2159
+ /**
2160
+ * 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.
2161
+ */
2162
+ orgUnitId?: string;
2163
+ /**
2164
+ * Optional. Maximum number of results to return. Maximum and default are 50. Any page size larger than 50 will be coerced to 50.
2165
+ */
2166
+ pageSize?: number;
2167
+ /**
2168
+ * Optional. Token to specify the page of the request to be returned. Token expires after 1 day.
2169
+ */
2170
+ pageToken?: string;
2171
+ }
2014
2172
  export class Resource$Customers$Apps$Android {
2015
2173
  context: APIRequestContext;
2016
2174
  constructor(context: APIRequestContext);
@@ -2100,6 +2258,20 @@ export declare namespace chromemanagement_v1 {
2100
2258
  countChromeBrowsersNeedingAttention(params: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>): void;
2101
2259
  countChromeBrowsersNeedingAttention(params: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>): void;
2102
2260
  countChromeBrowsersNeedingAttention(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>): void;
2261
+ /**
2262
+ * Get a count of Chrome crash events.
2263
+ *
2264
+ * @param params - Parameters for request
2265
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2266
+ * @param callback - Optional callback that handles the response.
2267
+ * @returns A promise if used with async/await, or void if used with a callback.
2268
+ */
2269
+ countChromeCrashEvents(params: Params$Resource$Customers$Reports$Countchromecrashevents, options: StreamMethodOptions): GaxiosPromise<Readable>;
2270
+ countChromeCrashEvents(params?: Params$Resource$Customers$Reports$Countchromecrashevents, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>;
2271
+ countChromeCrashEvents(params: Params$Resource$Customers$Reports$Countchromecrashevents, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2272
+ countChromeCrashEvents(params: Params$Resource$Customers$Reports$Countchromecrashevents, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>): void;
2273
+ countChromeCrashEvents(params: Params$Resource$Customers$Reports$Countchromecrashevents, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>): void;
2274
+ countChromeCrashEvents(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>): void;
2103
2275
  /**
2104
2276
  * 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).
2105
2277
  *
@@ -2237,6 +2409,24 @@ export declare namespace chromemanagement_v1 {
2237
2409
  */
2238
2410
  orgUnitId?: string;
2239
2411
  }
2412
+ export interface Params$Resource$Customers$Reports$Countchromecrashevents extends StandardParameters {
2413
+ /**
2414
+ * Customer ID.
2415
+ */
2416
+ customer?: string;
2417
+ /**
2418
+ * 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 = 'M115' AND past_number_days = '28'`.
2419
+ */
2420
+ filter?: string;
2421
+ /**
2422
+ * Field used to order results. Supported order by fields: * browser_version * count * date
2423
+ */
2424
+ orderBy?: string;
2425
+ /**
2426
+ * If specified, only count the number of crash events of the devices in this organizational unit.
2427
+ */
2428
+ orgUnitId?: string;
2429
+ }
2240
2430
  export interface Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate extends StandardParameters {
2241
2431
  /**
2242
2432
  * Required. The customer ID or "my_customer" prefixed with "customers/".
@@ -2489,13 +2679,13 @@ export declare namespace chromemanagement_v1 {
2489
2679
  */
2490
2680
  name?: string;
2491
2681
  /**
2492
- * Required. Read mask to specify which fields to return.
2682
+ * Required. Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - device_id - serial_number - cpu_info - cpu_status_report - memory_info - memory_status_report - network_info - network_diagnostics_report - network_status_report - os_update_status - graphics_info - graphics_status_report - battery_info - battery_status_report - storage_info - storage_status_report - thunderbolt_info - audio_status_report - boot_performance_report - heartbeat_status_report - network_bandwidth_report - peripherals_report - kiosk_app_status_report - app_report - runtime_counters_report
2493
2683
  */
2494
2684
  readMask?: string;
2495
2685
  }
2496
2686
  export interface Params$Resource$Customers$Telemetry$Devices$List extends StandardParameters {
2497
2687
  /**
2498
- * Optional. Only include resources that match the filter. Supported filter fields: - org_unit_id - serial_number - device_id - reports_timestamp The "reports_timestamp" filter accepts either the Unix Epoch milliseconds format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to nine fractional digits. Both formats should be surrounded by simple double quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z", "1679283943823".
2688
+ * Optional. Only include resources that match the filter. Requests that don't specify a "reports_timestamp" value will default to returning only recent reports. Specify "reports_timestamp\>=0" to get all report data. Supported filter fields: - org_unit_id - serial_number - device_id - reports_timestamp The "reports_timestamp" filter accepts either the Unix Epoch milliseconds format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to nine fractional digits. Both formats should be surrounded by simple double quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z", "1679283943823".
2499
2689
  */
2500
2690
  filter?: string;
2501
2691
  /**
@@ -2511,7 +2701,7 @@ export declare namespace chromemanagement_v1 {
2511
2701
  */
2512
2702
  parent?: string;
2513
2703
  /**
2514
- * Required. Read mask to specify which fields to return.
2704
+ * Required. Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - device_id - serial_number - cpu_info - cpu_status_report - memory_info - memory_status_report - network_info - network_diagnostics_report - network_status_report - os_update_status - graphics_info - graphics_status_report - battery_info - battery_status_report - storage_info - storage_status_report - thunderbolt_info - audio_status_report - boot_performance_report - heartbeat_status_report - network_bandwidth_report - peripherals_report - kiosk_app_status_report - app_report - runtime_counters_report
2515
2705
  */
2516
2706
  readMask?: string;
2517
2707
  }
@@ -2551,7 +2741,7 @@ export declare namespace chromemanagement_v1 {
2551
2741
  */
2552
2742
  parent?: string;
2553
2743
  /**
2554
- * Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required.
2744
+ * Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required. Supported read_mask paths are: - device - user - audio_severe_underrun_event - usb_peripherals_event - https_latency_change_event - network_state_change_event - wifi_signal_strength_event - vpn_connection_state_change_event - app_install_event - app_uninstall_event - app_launch_event
2555
2745
  */
2556
2746
  readMask?: string;
2557
2747
  }
@@ -2669,7 +2859,7 @@ export declare namespace chromemanagement_v1 {
2669
2859
  */
2670
2860
  name?: string;
2671
2861
  /**
2672
- * Read mask to specify which fields to return.
2862
+ * Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - user_id - user_email - user_device.device_id - user_device.audio_status_report - user_device.device_activity_report - user_device.network_bandwidth_report - user_device.peripherals_report
2673
2863
  */
2674
2864
  readMask?: string;
2675
2865
  }
@@ -2691,7 +2881,7 @@ export declare namespace chromemanagement_v1 {
2691
2881
  */
2692
2882
  parent?: string;
2693
2883
  /**
2694
- * Read mask to specify which fields to return.
2884
+ * Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - user_id - user_email - user_device.device_id - user_device.audio_status_report - user_device.device_activity_report - user_device.network_bandwidth_report - user_device.peripherals_report
2695
2885
  */
2696
2886
  readMask?: string;
2697
2887
  }
package/build/v1.js CHANGED
@@ -76,6 +76,73 @@ var chromemanagement_v1;
76
76
  options: Object.assign({
77
77
  url: (rootUrl + '/v1/{+customer}/apps:countChromeAppRequests').replace(/([^:]\/)\/+/g, '$1'),
78
78
  method: 'GET',
79
+ apiVersion: '',
80
+ }, options),
81
+ params,
82
+ requiredParams: ['customer'],
83
+ pathParams: ['customer'],
84
+ context: this.context,
85
+ };
86
+ if (callback) {
87
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
88
+ }
89
+ else {
90
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
91
+ }
92
+ }
93
+ fetchDevicesRequestingExtension(paramsOrCallback, optionsOrCallback, callback) {
94
+ let params = (paramsOrCallback ||
95
+ {});
96
+ let options = (optionsOrCallback || {});
97
+ if (typeof paramsOrCallback === 'function') {
98
+ callback = paramsOrCallback;
99
+ params =
100
+ {};
101
+ options = {};
102
+ }
103
+ if (typeof optionsOrCallback === 'function') {
104
+ callback = optionsOrCallback;
105
+ options = {};
106
+ }
107
+ const rootUrl = options.rootUrl || 'https://chromemanagement.googleapis.com/';
108
+ const parameters = {
109
+ options: Object.assign({
110
+ url: (rootUrl + '/v1/{+customer}/apps:fetchDevicesRequestingExtension').replace(/([^:]\/)\/+/g, '$1'),
111
+ method: 'GET',
112
+ apiVersion: '',
113
+ }, options),
114
+ params,
115
+ requiredParams: ['customer'],
116
+ pathParams: ['customer'],
117
+ context: this.context,
118
+ };
119
+ if (callback) {
120
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
121
+ }
122
+ else {
123
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
124
+ }
125
+ }
126
+ fetchUsersRequestingExtension(paramsOrCallback, optionsOrCallback, callback) {
127
+ let params = (paramsOrCallback ||
128
+ {});
129
+ let options = (optionsOrCallback || {});
130
+ if (typeof paramsOrCallback === 'function') {
131
+ callback = paramsOrCallback;
132
+ params =
133
+ {};
134
+ options = {};
135
+ }
136
+ if (typeof optionsOrCallback === 'function') {
137
+ callback = optionsOrCallback;
138
+ options = {};
139
+ }
140
+ const rootUrl = options.rootUrl || 'https://chromemanagement.googleapis.com/';
141
+ const parameters = {
142
+ options: Object.assign({
143
+ url: (rootUrl + '/v1/{+customer}/apps:fetchUsersRequestingExtension').replace(/([^:]\/)\/+/g, '$1'),
144
+ method: 'GET',
145
+ apiVersion: '',
79
146
  }, options),
80
147
  params,
81
148
  requiredParams: ['customer'],
@@ -113,6 +180,7 @@ var chromemanagement_v1;
113
180
  options: Object.assign({
114
181
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
115
182
  method: 'GET',
183
+ apiVersion: '',
116
184
  }, options),
117
185
  params,
118
186
  requiredParams: ['name'],
@@ -150,6 +218,7 @@ var chromemanagement_v1;
150
218
  options: Object.assign({
151
219
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
152
220
  method: 'GET',
221
+ apiVersion: '',
153
222
  }, options),
154
223
  params,
155
224
  requiredParams: ['name'],
@@ -187,6 +256,7 @@ var chromemanagement_v1;
187
256
  options: Object.assign({
188
257
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
189
258
  method: 'GET',
259
+ apiVersion: '',
190
260
  }, options),
191
261
  params,
192
262
  requiredParams: ['name'],
@@ -226,6 +296,39 @@ var chromemanagement_v1;
226
296
  url: (rootUrl +
227
297
  '/v1/{+customer}/reports:countChromeBrowsersNeedingAttention').replace(/([^:]\/)\/+/g, '$1'),
228
298
  method: 'GET',
299
+ apiVersion: '',
300
+ }, options),
301
+ params,
302
+ requiredParams: ['customer'],
303
+ pathParams: ['customer'],
304
+ context: this.context,
305
+ };
306
+ if (callback) {
307
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
308
+ }
309
+ else {
310
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
311
+ }
312
+ }
313
+ countChromeCrashEvents(paramsOrCallback, optionsOrCallback, callback) {
314
+ let params = (paramsOrCallback ||
315
+ {});
316
+ let options = (optionsOrCallback || {});
317
+ if (typeof paramsOrCallback === 'function') {
318
+ callback = paramsOrCallback;
319
+ params = {};
320
+ options = {};
321
+ }
322
+ if (typeof optionsOrCallback === 'function') {
323
+ callback = optionsOrCallback;
324
+ options = {};
325
+ }
326
+ const rootUrl = options.rootUrl || 'https://chromemanagement.googleapis.com/';
327
+ const parameters = {
328
+ options: Object.assign({
329
+ url: (rootUrl + '/v1/{+customer}/reports:countChromeCrashEvents').replace(/([^:]\/)\/+/g, '$1'),
330
+ method: 'GET',
331
+ apiVersion: '',
229
332
  }, options),
230
333
  params,
231
334
  requiredParams: ['customer'],
@@ -259,6 +362,7 @@ var chromemanagement_v1;
259
362
  url: (rootUrl +
260
363
  '/v1/{+customer}/reports:countChromeDevicesReachingAutoExpirationDate').replace(/([^:]\/)\/+/g, '$1'),
261
364
  method: 'GET',
365
+ apiVersion: '',
262
366
  }, options),
263
367
  params,
264
368
  requiredParams: ['customer'],
@@ -292,6 +396,7 @@ var chromemanagement_v1;
292
396
  url: (rootUrl +
293
397
  '/v1/{+customer}/reports:countChromeDevicesThatNeedAttention').replace(/([^:]\/)\/+/g, '$1'),
294
398
  method: 'GET',
399
+ apiVersion: '',
295
400
  }, options),
296
401
  params,
297
402
  requiredParams: ['customer'],
@@ -325,6 +430,7 @@ var chromemanagement_v1;
325
430
  url: (rootUrl +
326
431
  '/v1/{+customer}/reports:countChromeHardwareFleetDevices').replace(/([^:]\/)\/+/g, '$1'),
327
432
  method: 'GET',
433
+ apiVersion: '',
328
434
  }, options),
329
435
  params,
330
436
  requiredParams: ['customer'],
@@ -356,6 +462,7 @@ var chromemanagement_v1;
356
462
  options: Object.assign({
357
463
  url: (rootUrl + '/v1/{+customer}/reports:countChromeVersions').replace(/([^:]\/)\/+/g, '$1'),
358
464
  method: 'GET',
465
+ apiVersion: '',
359
466
  }, options),
360
467
  params,
361
468
  requiredParams: ['customer'],
@@ -387,6 +494,7 @@ var chromemanagement_v1;
387
494
  options: Object.assign({
388
495
  url: (rootUrl + '/v1/{+customer}/reports:countInstalledApps').replace(/([^:]\/)\/+/g, '$1'),
389
496
  method: 'GET',
497
+ apiVersion: '',
390
498
  }, options),
391
499
  params,
392
500
  requiredParams: ['customer'],
@@ -419,6 +527,7 @@ var chromemanagement_v1;
419
527
  options: Object.assign({
420
528
  url: (rootUrl + '/v1/{+customer}/reports:countPrintJobsByPrinter').replace(/([^:]\/)\/+/g, '$1'),
421
529
  method: 'GET',
530
+ apiVersion: '',
422
531
  }, options),
423
532
  params,
424
533
  requiredParams: ['customer'],
@@ -450,6 +559,7 @@ var chromemanagement_v1;
450
559
  options: Object.assign({
451
560
  url: (rootUrl + '/v1/{+customer}/reports:countPrintJobsByUser').replace(/([^:]\/)\/+/g, '$1'),
452
561
  method: 'GET',
562
+ apiVersion: '',
453
563
  }, options),
454
564
  params,
455
565
  requiredParams: ['customer'],
@@ -481,6 +591,7 @@ var chromemanagement_v1;
481
591
  options: Object.assign({
482
592
  url: (rootUrl + '/v1/{+customer}/reports:enumeratePrintJobs').replace(/([^:]\/)\/+/g, '$1'),
483
593
  method: 'GET',
594
+ apiVersion: '',
484
595
  }, options),
485
596
  params,
486
597
  requiredParams: ['customer'],
@@ -513,6 +624,7 @@ var chromemanagement_v1;
513
624
  options: Object.assign({
514
625
  url: (rootUrl + '/v1/{+customer}/reports:findInstalledAppDevices').replace(/([^:]\/)\/+/g, '$1'),
515
626
  method: 'GET',
627
+ apiVersion: '',
516
628
  }, options),
517
629
  params,
518
630
  requiredParams: ['customer'],
@@ -561,6 +673,7 @@ var chromemanagement_v1;
561
673
  options: Object.assign({
562
674
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
563
675
  method: 'GET',
676
+ apiVersion: '',
564
677
  }, options),
565
678
  params,
566
679
  requiredParams: ['name'],
@@ -592,6 +705,7 @@ var chromemanagement_v1;
592
705
  options: Object.assign({
593
706
  url: (rootUrl + '/v1/{+parent}/telemetry/devices').replace(/([^:]\/)\/+/g, '$1'),
594
707
  method: 'GET',
708
+ apiVersion: '',
595
709
  }, options),
596
710
  params,
597
711
  requiredParams: ['parent'],
@@ -629,6 +743,7 @@ var chromemanagement_v1;
629
743
  options: Object.assign({
630
744
  url: (rootUrl + '/v1/{+parent}/telemetry/events').replace(/([^:]\/)\/+/g, '$1'),
631
745
  method: 'GET',
746
+ apiVersion: '',
632
747
  }, options),
633
748
  params,
634
749
  requiredParams: ['parent'],
@@ -667,6 +782,7 @@ var chromemanagement_v1;
667
782
  options: Object.assign({
668
783
  url: (rootUrl + '/v1/{+parent}/telemetry/notificationConfigs').replace(/([^:]\/)\/+/g, '$1'),
669
784
  method: 'POST',
785
+ apiVersion: '',
670
786
  }, options),
671
787
  params,
672
788
  requiredParams: ['parent'],
@@ -699,6 +815,7 @@ var chromemanagement_v1;
699
815
  options: Object.assign({
700
816
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
701
817
  method: 'DELETE',
818
+ apiVersion: '',
702
819
  }, options),
703
820
  params,
704
821
  requiredParams: ['name'],
@@ -731,6 +848,7 @@ var chromemanagement_v1;
731
848
  options: Object.assign({
732
849
  url: (rootUrl + '/v1/{+parent}/telemetry/notificationConfigs').replace(/([^:]\/)\/+/g, '$1'),
733
850
  method: 'GET',
851
+ apiVersion: '',
734
852
  }, options),
735
853
  params,
736
854
  requiredParams: ['parent'],
@@ -768,6 +886,7 @@ var chromemanagement_v1;
768
886
  options: Object.assign({
769
887
  url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
770
888
  method: 'GET',
889
+ apiVersion: '',
771
890
  }, options),
772
891
  params,
773
892
  requiredParams: ['name'],
@@ -799,6 +918,7 @@ var chromemanagement_v1;
799
918
  options: Object.assign({
800
919
  url: (rootUrl + '/v1/{+parent}/telemetry/users').replace(/([^:]\/)\/+/g, '$1'),
801
920
  method: 'GET',
921
+ apiVersion: '',
802
922
  }, options),
803
923
  params,
804
924
  requiredParams: ['parent'],