@googleapis/chromemanagement 4.0.0 → 5.0.0

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,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v4.0.0...chromemanagement-v5.0.0) (2023-02-24)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * This release has breaking changes.
9
+ * **chromemanagement:** This release has breaking changes.
10
+
11
+ ### Features
12
+
13
+ * **chromemanagement:** update the API ([1c18b16](https://github.com/googleapis/google-api-nodejs-client/commit/1c18b1665587b2d59e7bec78acb695017424aa9f))
14
+ * **chromemanagement:** update the API ([3368e8d](https://github.com/googleapis/google-api-nodejs-client/commit/3368e8dd0e6b92d05fdaf43069758d2c0c01a3f6))
15
+ * **chromemanagement:** update the API ([76eea6c](https://github.com/googleapis/google-api-nodejs-client/commit/76eea6cdcb93e4c67e70573e729332dc6bff619d))
16
+ * **chromemanagement:** update the API ([bf3db6d](https://github.com/googleapis/google-api-nodejs-client/commit/bf3db6d9b105e954b4e180766747877d215e7ee8))
17
+ * regenerate index files ([bb9d246](https://github.com/googleapis/google-api-nodejs-client/commit/bb9d246d1e0c7c22e2ff2b4c40ed5df4fa410e12))
18
+ * run the generator ([#3161](https://github.com/googleapis/google-api-nodejs-client/issues/3161)) ([6fe904a](https://github.com/googleapis/google-api-nodejs-client/commit/6fe904a5f056b3e3789b80111b9b3eecba2dc9e7))
19
+
3
20
  ## [4.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v3.1.0...chromemanagement-v4.0.0) (2023-02-10)
4
21
 
5
22
 
package/build/v1.d.ts CHANGED
@@ -477,6 +477,23 @@ export declare namespace chromemanagement_v1 {
477
477
  */
478
478
  totalSize?: number | null;
479
479
  }
480
+ /**
481
+ * Response containing counts for browsers that need attention.
482
+ */
483
+ export interface Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse {
484
+ /**
485
+ * Number of browsers that haven’t had any recent activity
486
+ */
487
+ noRecentActivityCount?: string | null;
488
+ /**
489
+ * Number of browsers that are pending an OS update
490
+ */
491
+ pendingBrowserUpdateCount?: string | null;
492
+ /**
493
+ * Number of browsers that have been recently enrolled
494
+ */
495
+ recentlyEnrolledCount?: string | null;
496
+ }
480
497
  /**
481
498
  * 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.
482
499
  */
@@ -566,6 +583,40 @@ export declare namespace chromemanagement_v1 {
566
583
  */
567
584
  totalSize?: number | null;
568
585
  }
586
+ /**
587
+ * Response containing a summary printing report for each printer from the specified organizational unit for the requested time interval.
588
+ */
589
+ export interface Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse {
590
+ /**
591
+ * Pagination token for requesting the next page.
592
+ */
593
+ nextPageToken?: string | null;
594
+ /**
595
+ * List of PrinterReports matching request.
596
+ */
597
+ printerReports?: Schema$GoogleChromeManagementV1PrinterReport[];
598
+ /**
599
+ * Total number of printers matching request.
600
+ */
601
+ totalSize?: string | null;
602
+ }
603
+ /**
604
+ * 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.
605
+ */
606
+ export interface Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse {
607
+ /**
608
+ * Pagination token for requesting the next page.
609
+ */
610
+ nextPageToken?: string | null;
611
+ /**
612
+ * Total number of users matching request.
613
+ */
614
+ totalSize?: string | null;
615
+ /**
616
+ * List of UserPrintReports matching request.
617
+ */
618
+ userPrintReports?: Schema$GoogleChromeManagementV1UserPrintReport[];
619
+ }
569
620
  /**
570
621
  * CPU specifications for the device * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDeviceCpuInfo](https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A
571
622
  */
@@ -1104,6 +1155,35 @@ export declare namespace chromemanagement_v1 {
1104
1155
  */
1105
1156
  usbPeripheralReport?: Schema$GoogleChromeManagementV1UsbPeripheralReport[];
1106
1157
  }
1158
+ /**
1159
+ * 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.
1160
+ */
1161
+ export interface Schema$GoogleChromeManagementV1PrinterReport {
1162
+ /**
1163
+ * Number of chrome devices that have been used to send print jobs to the specified printer.
1164
+ */
1165
+ deviceCount?: string | null;
1166
+ /**
1167
+ * Number of print jobs sent to the printer.
1168
+ */
1169
+ jobCount?: string | null;
1170
+ /**
1171
+ * Printer name.
1172
+ */
1173
+ printer?: string | null;
1174
+ /**
1175
+ * Printer API ID.
1176
+ */
1177
+ printerId?: string | null;
1178
+ /**
1179
+ * Printer model.
1180
+ */
1181
+ printerModel?: string | null;
1182
+ /**
1183
+ * Number of users that have sent print jobs to the printer.
1184
+ */
1185
+ userCount?: string | null;
1186
+ }
1107
1187
  /**
1108
1188
  * Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.google/policies/#ReportDeviceStorageStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A
1109
1189
  */
@@ -1451,6 +1531,31 @@ export declare namespace chromemanagement_v1 {
1451
1531
  */
1452
1532
  vid?: number | null;
1453
1533
  }
1534
+ /**
1535
+ * 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.
1536
+ */
1537
+ export interface Schema$GoogleChromeManagementV1UserPrintReport {
1538
+ /**
1539
+ * Number of chrome devices that have been used to initiate print jobs by the user.
1540
+ */
1541
+ deviceCount?: string | null;
1542
+ /**
1543
+ * Number of print jobs initiated by the user.
1544
+ */
1545
+ jobCount?: string | null;
1546
+ /**
1547
+ * Number of printers used by the user.
1548
+ */
1549
+ printerCount?: string | null;
1550
+ /**
1551
+ * The primary e-mail address of the user.
1552
+ */
1553
+ userEmail?: string | null;
1554
+ /**
1555
+ * The unique Directory API ID of the user.
1556
+ */
1557
+ userId?: string | null;
1558
+ }
1454
1559
  /**
1455
1560
  * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
1456
1561
  */
@@ -1852,6 +1957,71 @@ export declare namespace chromemanagement_v1 {
1852
1957
  export class Resource$Customers$Reports {
1853
1958
  context: APIRequestContext;
1854
1959
  constructor(context: APIRequestContext);
1960
+ /**
1961
+ * Count of Chrome Browsers that have been recently enrolled, have new policy to be synced, or have no recent activity.
1962
+ * @example
1963
+ * ```js
1964
+ * // Before running the sample:
1965
+ * // - Enable the API at:
1966
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
1967
+ * // - Login into gcloud by running:
1968
+ * // `$ gcloud auth application-default login`
1969
+ * // - Install the npm module by running:
1970
+ * // `$ npm install googleapis`
1971
+ *
1972
+ * const {google} = require('googleapis');
1973
+ * const chromemanagement = google.chromemanagement('v1');
1974
+ *
1975
+ * async function main() {
1976
+ * const auth = new google.auth.GoogleAuth({
1977
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1978
+ * scopes: [
1979
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
1980
+ * ],
1981
+ * });
1982
+ *
1983
+ * // Acquire an auth client, and bind it to all future calls
1984
+ * const authClient = await auth.getClient();
1985
+ * google.options({auth: authClient});
1986
+ *
1987
+ * // Do the magic
1988
+ * const res =
1989
+ * await chromemanagement.customers.reports.countChromeBrowsersNeedingAttention(
1990
+ * {
1991
+ * // Required. The customer ID or "my_customer" prefixed with "customers/".
1992
+ * customer: 'customers/my-customer',
1993
+ * // Optional. The ID of the organizational unit. If omitted, all data will be returned.
1994
+ * orgUnitId: 'placeholder-value',
1995
+ * }
1996
+ * );
1997
+ * console.log(res.data);
1998
+ *
1999
+ * // Example response
2000
+ * // {
2001
+ * // "noRecentActivityCount": "my_noRecentActivityCount",
2002
+ * // "pendingBrowserUpdateCount": "my_pendingBrowserUpdateCount",
2003
+ * // "recentlyEnrolledCount": "my_recentlyEnrolledCount"
2004
+ * // }
2005
+ * }
2006
+ *
2007
+ * main().catch(e => {
2008
+ * console.error(e);
2009
+ * throw e;
2010
+ * });
2011
+ *
2012
+ * ```
2013
+ *
2014
+ * @param params - Parameters for request
2015
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2016
+ * @param callback - Optional callback that handles the response.
2017
+ * @returns A promise if used with async/await, or void if used with a callback.
2018
+ */
2019
+ countChromeBrowsersNeedingAttention(params: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention, options: StreamMethodOptions): GaxiosPromise<Readable>;
2020
+ countChromeBrowsersNeedingAttention(params?: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>;
2021
+ countChromeBrowsersNeedingAttention(params: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2022
+ countChromeBrowsersNeedingAttention(params: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>): void;
2023
+ countChromeBrowsersNeedingAttention(params: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>): void;
2024
+ countChromeBrowsersNeedingAttention(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>): void;
1855
2025
  /**
1856
2026
  * 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).
1857
2027
  * @example
@@ -2192,6 +2362,146 @@ export declare namespace chromemanagement_v1 {
2192
2362
  countInstalledApps(params: Params$Resource$Customers$Reports$Countinstalledapps, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>): void;
2193
2363
  countInstalledApps(params: Params$Resource$Customers$Reports$Countinstalledapps, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>): void;
2194
2364
  countInstalledApps(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>): void;
2365
+ /**
2366
+ * Get a summary of printing done by each printer.
2367
+ * @example
2368
+ * ```js
2369
+ * // Before running the sample:
2370
+ * // - Enable the API at:
2371
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
2372
+ * // - Login into gcloud by running:
2373
+ * // `$ gcloud auth application-default login`
2374
+ * // - Install the npm module by running:
2375
+ * // `$ npm install googleapis`
2376
+ *
2377
+ * const {google} = require('googleapis');
2378
+ * const chromemanagement = google.chromemanagement('v1');
2379
+ *
2380
+ * async function main() {
2381
+ * const auth = new google.auth.GoogleAuth({
2382
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2383
+ * scopes: [
2384
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
2385
+ * ],
2386
+ * });
2387
+ *
2388
+ * // Acquire an auth client, and bind it to all future calls
2389
+ * const authClient = await auth.getClient();
2390
+ * google.options({auth: authClient});
2391
+ *
2392
+ * // Do the magic
2393
+ * const res = await chromemanagement.customers.reports.countPrintJobsByPrinter({
2394
+ * // Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
2395
+ * customer: 'customers/my-customer',
2396
+ * // Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only \>= and <= comparators are supported in this filter. Supported filter fields: * completion_time
2397
+ * filter: 'placeholder-value',
2398
+ * // Field used to order results. If omitted, results will be ordered in ascending order of the 'printer' field. Supported order_by fields: * printer * job_count * device_count * user_count
2399
+ * orderBy: 'placeholder-value',
2400
+ * // Maximum number of results to return. Maximum and default are 100.
2401
+ * pageSize: 'placeholder-value',
2402
+ * // Token to specify the page of the response to be returned.
2403
+ * pageToken: 'placeholder-value',
2404
+ * // 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.
2405
+ * printerOrgUnitId: 'placeholder-value',
2406
+ * });
2407
+ * console.log(res.data);
2408
+ *
2409
+ * // Example response
2410
+ * // {
2411
+ * // "nextPageToken": "my_nextPageToken",
2412
+ * // "printerReports": [],
2413
+ * // "totalSize": "my_totalSize"
2414
+ * // }
2415
+ * }
2416
+ *
2417
+ * main().catch(e => {
2418
+ * console.error(e);
2419
+ * throw e;
2420
+ * });
2421
+ *
2422
+ * ```
2423
+ *
2424
+ * @param params - Parameters for request
2425
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2426
+ * @param callback - Optional callback that handles the response.
2427
+ * @returns A promise if used with async/await, or void if used with a callback.
2428
+ */
2429
+ countPrintJobsByPrinter(params: Params$Resource$Customers$Reports$Countprintjobsbyprinter, options: StreamMethodOptions): GaxiosPromise<Readable>;
2430
+ countPrintJobsByPrinter(params?: Params$Resource$Customers$Reports$Countprintjobsbyprinter, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>;
2431
+ countPrintJobsByPrinter(params: Params$Resource$Customers$Reports$Countprintjobsbyprinter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2432
+ countPrintJobsByPrinter(params: Params$Resource$Customers$Reports$Countprintjobsbyprinter, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>): void;
2433
+ countPrintJobsByPrinter(params: Params$Resource$Customers$Reports$Countprintjobsbyprinter, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>): void;
2434
+ countPrintJobsByPrinter(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>): void;
2435
+ /**
2436
+ * Get a summary of printing done by each user.
2437
+ * @example
2438
+ * ```js
2439
+ * // Before running the sample:
2440
+ * // - Enable the API at:
2441
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
2442
+ * // - Login into gcloud by running:
2443
+ * // `$ gcloud auth application-default login`
2444
+ * // - Install the npm module by running:
2445
+ * // `$ npm install googleapis`
2446
+ *
2447
+ * const {google} = require('googleapis');
2448
+ * const chromemanagement = google.chromemanagement('v1');
2449
+ *
2450
+ * async function main() {
2451
+ * const auth = new google.auth.GoogleAuth({
2452
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2453
+ * scopes: [
2454
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
2455
+ * ],
2456
+ * });
2457
+ *
2458
+ * // Acquire an auth client, and bind it to all future calls
2459
+ * const authClient = await auth.getClient();
2460
+ * google.options({auth: authClient});
2461
+ *
2462
+ * // Do the magic
2463
+ * const res = await chromemanagement.customers.reports.countPrintJobsByUser({
2464
+ * // Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
2465
+ * customer: 'customers/my-customer',
2466
+ * // Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only \>= and <= comparators are supported in this filter. Supported filter fields: * completion_time
2467
+ * filter: 'placeholder-value',
2468
+ * // Field used to order results. If omitted, results will be ordered in ascending order of the 'user_email' field. Supported order_by fields: * user_email * job_count * printer_count * device_count
2469
+ * orderBy: 'placeholder-value',
2470
+ * // Maximum number of results to return. Maximum and default are 100.
2471
+ * pageSize: 'placeholder-value',
2472
+ * // Token to specify the page of the response to be returned.
2473
+ * pageToken: 'placeholder-value',
2474
+ * // 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.
2475
+ * printerOrgUnitId: 'placeholder-value',
2476
+ * });
2477
+ * console.log(res.data);
2478
+ *
2479
+ * // Example response
2480
+ * // {
2481
+ * // "nextPageToken": "my_nextPageToken",
2482
+ * // "totalSize": "my_totalSize",
2483
+ * // "userPrintReports": []
2484
+ * // }
2485
+ * }
2486
+ *
2487
+ * main().catch(e => {
2488
+ * console.error(e);
2489
+ * throw e;
2490
+ * });
2491
+ *
2492
+ * ```
2493
+ *
2494
+ * @param params - Parameters for request
2495
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2496
+ * @param callback - Optional callback that handles the response.
2497
+ * @returns A promise if used with async/await, or void if used with a callback.
2498
+ */
2499
+ countPrintJobsByUser(params: Params$Resource$Customers$Reports$Countprintjobsbyuser, options: StreamMethodOptions): GaxiosPromise<Readable>;
2500
+ countPrintJobsByUser(params?: Params$Resource$Customers$Reports$Countprintjobsbyuser, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>;
2501
+ countPrintJobsByUser(params: Params$Resource$Customers$Reports$Countprintjobsbyuser, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2502
+ countPrintJobsByUser(params: Params$Resource$Customers$Reports$Countprintjobsbyuser, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>): void;
2503
+ countPrintJobsByUser(params: Params$Resource$Customers$Reports$Countprintjobsbyuser, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>): void;
2504
+ countPrintJobsByUser(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>): void;
2195
2505
  /**
2196
2506
  * Generate report of devices that have a specified app installed.
2197
2507
  * @example
@@ -2267,6 +2577,16 @@ export declare namespace chromemanagement_v1 {
2267
2577
  findInstalledAppDevices(params: Params$Resource$Customers$Reports$Findinstalledappdevices, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>): void;
2268
2578
  findInstalledAppDevices(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>): void;
2269
2579
  }
2580
+ export interface Params$Resource$Customers$Reports$Countchromebrowsersneedingattention extends StandardParameters {
2581
+ /**
2582
+ * Required. The customer ID or "my_customer" prefixed with "customers/".
2583
+ */
2584
+ customer?: string;
2585
+ /**
2586
+ * Optional. The ID of the organizational unit. If omitted, all data will be returned.
2587
+ */
2588
+ orgUnitId?: string;
2589
+ }
2270
2590
  export interface Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate extends StandardParameters {
2271
2591
  /**
2272
2592
  * Required. The customer ID or "my_customer" prefixed with "customers/".
@@ -2361,6 +2681,58 @@ export declare namespace chromemanagement_v1 {
2361
2681
  */
2362
2682
  pageToken?: string;
2363
2683
  }
2684
+ export interface Params$Resource$Customers$Reports$Countprintjobsbyprinter extends StandardParameters {
2685
+ /**
2686
+ * Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
2687
+ */
2688
+ customer?: string;
2689
+ /**
2690
+ * Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only \>= and <= comparators are supported in this filter. Supported filter fields: * completion_time
2691
+ */
2692
+ filter?: string;
2693
+ /**
2694
+ * Field used to order results. If omitted, results will be ordered in ascending order of the 'printer' field. Supported order_by fields: * printer * job_count * device_count * user_count
2695
+ */
2696
+ orderBy?: string;
2697
+ /**
2698
+ * Maximum number of results to return. Maximum and default are 100.
2699
+ */
2700
+ pageSize?: number;
2701
+ /**
2702
+ * Token to specify the page of the response to be returned.
2703
+ */
2704
+ pageToken?: string;
2705
+ /**
2706
+ * 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.
2707
+ */
2708
+ printerOrgUnitId?: string;
2709
+ }
2710
+ export interface Params$Resource$Customers$Reports$Countprintjobsbyuser extends StandardParameters {
2711
+ /**
2712
+ * Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
2713
+ */
2714
+ customer?: string;
2715
+ /**
2716
+ * Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only \>= and <= comparators are supported in this filter. Supported filter fields: * completion_time
2717
+ */
2718
+ filter?: string;
2719
+ /**
2720
+ * Field used to order results. If omitted, results will be ordered in ascending order of the 'user_email' field. Supported order_by fields: * user_email * job_count * printer_count * device_count
2721
+ */
2722
+ orderBy?: string;
2723
+ /**
2724
+ * Maximum number of results to return. Maximum and default are 100.
2725
+ */
2726
+ pageSize?: number;
2727
+ /**
2728
+ * Token to specify the page of the response to be returned.
2729
+ */
2730
+ pageToken?: string;
2731
+ /**
2732
+ * 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.
2733
+ */
2734
+ printerOrgUnitId?: string;
2735
+ }
2364
2736
  export interface Params$Resource$Customers$Reports$Findinstalledappdevices extends StandardParameters {
2365
2737
  /**
2366
2738
  * Unique identifier of the app. For Chrome apps and extensions, the 32-character id (e.g. ehoadneljpdggcbbknedodolkkjodefl). For Android apps, the package name (e.g. com.evernote).
package/build/v1.js CHANGED
@@ -206,6 +206,39 @@ var chromemanagement_v1;
206
206
  constructor(context) {
207
207
  this.context = context;
208
208
  }
209
+ countChromeBrowsersNeedingAttention(paramsOrCallback, optionsOrCallback, callback) {
210
+ let params = (paramsOrCallback ||
211
+ {});
212
+ let options = (optionsOrCallback || {});
213
+ if (typeof paramsOrCallback === 'function') {
214
+ callback = paramsOrCallback;
215
+ params =
216
+ {};
217
+ options = {};
218
+ }
219
+ if (typeof optionsOrCallback === 'function') {
220
+ callback = optionsOrCallback;
221
+ options = {};
222
+ }
223
+ const rootUrl = options.rootUrl || 'https://chromemanagement.googleapis.com/';
224
+ const parameters = {
225
+ options: Object.assign({
226
+ url: (rootUrl +
227
+ '/v1/{+customer}/reports:countChromeBrowsersNeedingAttention').replace(/([^:]\/)\/+/g, '$1'),
228
+ method: 'GET',
229
+ }, options),
230
+ params,
231
+ requiredParams: ['customer'],
232
+ pathParams: ['customer'],
233
+ context: this.context,
234
+ };
235
+ if (callback) {
236
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
237
+ }
238
+ else {
239
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
240
+ }
241
+ }
209
242
  countChromeDevicesReachingAutoExpirationDate(paramsOrCallback, optionsOrCallback, callback) {
210
243
  let params = (paramsOrCallback ||
211
244
  {});
@@ -367,6 +400,69 @@ var chromemanagement_v1;
367
400
  return (0, googleapis_common_1.createAPIRequest)(parameters);
368
401
  }
369
402
  }
403
+ countPrintJobsByPrinter(paramsOrCallback, optionsOrCallback, callback) {
404
+ let params = (paramsOrCallback ||
405
+ {});
406
+ let options = (optionsOrCallback || {});
407
+ if (typeof paramsOrCallback === 'function') {
408
+ callback = paramsOrCallback;
409
+ params =
410
+ {};
411
+ options = {};
412
+ }
413
+ if (typeof optionsOrCallback === 'function') {
414
+ callback = optionsOrCallback;
415
+ options = {};
416
+ }
417
+ const rootUrl = options.rootUrl || 'https://chromemanagement.googleapis.com/';
418
+ const parameters = {
419
+ options: Object.assign({
420
+ url: (rootUrl + '/v1/{+customer}/reports:countPrintJobsByPrinter').replace(/([^:]\/)\/+/g, '$1'),
421
+ method: 'GET',
422
+ }, options),
423
+ params,
424
+ requiredParams: ['customer'],
425
+ pathParams: ['customer'],
426
+ context: this.context,
427
+ };
428
+ if (callback) {
429
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
430
+ }
431
+ else {
432
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
433
+ }
434
+ }
435
+ countPrintJobsByUser(paramsOrCallback, optionsOrCallback, callback) {
436
+ let params = (paramsOrCallback ||
437
+ {});
438
+ let options = (optionsOrCallback || {});
439
+ if (typeof paramsOrCallback === 'function') {
440
+ callback = paramsOrCallback;
441
+ params = {};
442
+ options = {};
443
+ }
444
+ if (typeof optionsOrCallback === 'function') {
445
+ callback = optionsOrCallback;
446
+ options = {};
447
+ }
448
+ const rootUrl = options.rootUrl || 'https://chromemanagement.googleapis.com/';
449
+ const parameters = {
450
+ options: Object.assign({
451
+ url: (rootUrl + '/v1/{+customer}/reports:countPrintJobsByUser').replace(/([^:]\/)\/+/g, '$1'),
452
+ method: 'GET',
453
+ }, options),
454
+ params,
455
+ requiredParams: ['customer'],
456
+ pathParams: ['customer'],
457
+ context: this.context,
458
+ };
459
+ if (callback) {
460
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
461
+ }
462
+ else {
463
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
464
+ }
465
+ }
370
466
  findInstalledAppDevices(paramsOrCallback, optionsOrCallback, callback) {
371
467
  let params = (paramsOrCallback ||
372
468
  {});
package/build/v1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,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AE,CAAC;aACd;YAED,MAAM,OAAO,GACX,OAAO,CAAC,OAAO,IAAI,0CAA0C,CAAC;YAChE,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,+BAA+B,CAAC,CAAC,OAAO,CACtD,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,KAAK;iBACd,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,QAAQ,CAAC;gBAC1B,UAAU,EAAE,CAAC,QAAQ,CAAC;gBACtB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EACrB,UAAU,CACX,CAAC;aACH;QACH,CAAC;KACF;IA5SY,sDAAkC,qCA4S9C,CAAA;AAoCH,CAAC,EA3qJgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA2qJnC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/chromemanagement",
3
- "version": "4.0.0",
3
+ "version": "5.0.0",
4
4
  "description": "chromemanagement",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
package/v1.ts CHANGED
@@ -530,6 +530,23 @@ export namespace chromemanagement_v1 {
530
530
  */
531
531
  totalSize?: number | null;
532
532
  }
533
+ /**
534
+ * Response containing counts for browsers that need attention.
535
+ */
536
+ export interface Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse {
537
+ /**
538
+ * Number of browsers that haven’t had any recent activity
539
+ */
540
+ noRecentActivityCount?: string | null;
541
+ /**
542
+ * Number of browsers that are pending an OS update
543
+ */
544
+ pendingBrowserUpdateCount?: string | null;
545
+ /**
546
+ * Number of browsers that have been recently enrolled
547
+ */
548
+ recentlyEnrolledCount?: string | null;
549
+ }
533
550
  /**
534
551
  * 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.
535
552
  */
@@ -619,6 +636,40 @@ export namespace chromemanagement_v1 {
619
636
  */
620
637
  totalSize?: number | null;
621
638
  }
639
+ /**
640
+ * Response containing a summary printing report for each printer from the specified organizational unit for the requested time interval.
641
+ */
642
+ export interface Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse {
643
+ /**
644
+ * Pagination token for requesting the next page.
645
+ */
646
+ nextPageToken?: string | null;
647
+ /**
648
+ * List of PrinterReports matching request.
649
+ */
650
+ printerReports?: Schema$GoogleChromeManagementV1PrinterReport[];
651
+ /**
652
+ * Total number of printers matching request.
653
+ */
654
+ totalSize?: string | null;
655
+ }
656
+ /**
657
+ * 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.
658
+ */
659
+ export interface Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse {
660
+ /**
661
+ * Pagination token for requesting the next page.
662
+ */
663
+ nextPageToken?: string | null;
664
+ /**
665
+ * Total number of users matching request.
666
+ */
667
+ totalSize?: string | null;
668
+ /**
669
+ * List of UserPrintReports matching request.
670
+ */
671
+ userPrintReports?: Schema$GoogleChromeManagementV1UserPrintReport[];
672
+ }
622
673
  /**
623
674
  * CPU specifications for the device * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDeviceCpuInfo](https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A
624
675
  */
@@ -1157,6 +1208,35 @@ export namespace chromemanagement_v1 {
1157
1208
  */
1158
1209
  usbPeripheralReport?: Schema$GoogleChromeManagementV1UsbPeripheralReport[];
1159
1210
  }
1211
+ /**
1212
+ * 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.
1213
+ */
1214
+ export interface Schema$GoogleChromeManagementV1PrinterReport {
1215
+ /**
1216
+ * Number of chrome devices that have been used to send print jobs to the specified printer.
1217
+ */
1218
+ deviceCount?: string | null;
1219
+ /**
1220
+ * Number of print jobs sent to the printer.
1221
+ */
1222
+ jobCount?: string | null;
1223
+ /**
1224
+ * Printer name.
1225
+ */
1226
+ printer?: string | null;
1227
+ /**
1228
+ * Printer API ID.
1229
+ */
1230
+ printerId?: string | null;
1231
+ /**
1232
+ * Printer model.
1233
+ */
1234
+ printerModel?: string | null;
1235
+ /**
1236
+ * Number of users that have sent print jobs to the printer.
1237
+ */
1238
+ userCount?: string | null;
1239
+ }
1160
1240
  /**
1161
1241
  * Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.google/policies/#ReportDeviceStorageStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A
1162
1242
  */
@@ -1503,6 +1583,31 @@ export namespace chromemanagement_v1 {
1503
1583
  */
1504
1584
  vid?: number | null;
1505
1585
  }
1586
+ /**
1587
+ * 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.
1588
+ */
1589
+ export interface Schema$GoogleChromeManagementV1UserPrintReport {
1590
+ /**
1591
+ * Number of chrome devices that have been used to initiate print jobs by the user.
1592
+ */
1593
+ deviceCount?: string | null;
1594
+ /**
1595
+ * Number of print jobs initiated by the user.
1596
+ */
1597
+ jobCount?: string | null;
1598
+ /**
1599
+ * Number of printers used by the user.
1600
+ */
1601
+ printerCount?: string | null;
1602
+ /**
1603
+ * The primary e-mail address of the user.
1604
+ */
1605
+ userEmail?: string | null;
1606
+ /**
1607
+ * The unique Directory API ID of the user.
1608
+ */
1609
+ userId?: string | null;
1610
+ }
1506
1611
  /**
1507
1612
  * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
1508
1613
  */
@@ -2257,6 +2362,155 @@ export namespace chromemanagement_v1 {
2257
2362
  this.context = context;
2258
2363
  }
2259
2364
 
2365
+ /**
2366
+ * Count of Chrome Browsers that have been recently enrolled, have new policy to be synced, or have no recent activity.
2367
+ * @example
2368
+ * ```js
2369
+ * // Before running the sample:
2370
+ * // - Enable the API at:
2371
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
2372
+ * // - Login into gcloud by running:
2373
+ * // `$ gcloud auth application-default login`
2374
+ * // - Install the npm module by running:
2375
+ * // `$ npm install googleapis`
2376
+ *
2377
+ * const {google} = require('googleapis');
2378
+ * const chromemanagement = google.chromemanagement('v1');
2379
+ *
2380
+ * async function main() {
2381
+ * const auth = new google.auth.GoogleAuth({
2382
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2383
+ * scopes: [
2384
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
2385
+ * ],
2386
+ * });
2387
+ *
2388
+ * // Acquire an auth client, and bind it to all future calls
2389
+ * const authClient = await auth.getClient();
2390
+ * google.options({auth: authClient});
2391
+ *
2392
+ * // Do the magic
2393
+ * const res =
2394
+ * await chromemanagement.customers.reports.countChromeBrowsersNeedingAttention(
2395
+ * {
2396
+ * // Required. The customer ID or "my_customer" prefixed with "customers/".
2397
+ * customer: 'customers/my-customer',
2398
+ * // Optional. The ID of the organizational unit. If omitted, all data will be returned.
2399
+ * orgUnitId: 'placeholder-value',
2400
+ * }
2401
+ * );
2402
+ * console.log(res.data);
2403
+ *
2404
+ * // Example response
2405
+ * // {
2406
+ * // "noRecentActivityCount": "my_noRecentActivityCount",
2407
+ * // "pendingBrowserUpdateCount": "my_pendingBrowserUpdateCount",
2408
+ * // "recentlyEnrolledCount": "my_recentlyEnrolledCount"
2409
+ * // }
2410
+ * }
2411
+ *
2412
+ * main().catch(e => {
2413
+ * console.error(e);
2414
+ * throw e;
2415
+ * });
2416
+ *
2417
+ * ```
2418
+ *
2419
+ * @param params - Parameters for request
2420
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2421
+ * @param callback - Optional callback that handles the response.
2422
+ * @returns A promise if used with async/await, or void if used with a callback.
2423
+ */
2424
+ countChromeBrowsersNeedingAttention(
2425
+ params: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention,
2426
+ options: StreamMethodOptions
2427
+ ): GaxiosPromise<Readable>;
2428
+ countChromeBrowsersNeedingAttention(
2429
+ params?: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention,
2430
+ options?: MethodOptions
2431
+ ): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>;
2432
+ countChromeBrowsersNeedingAttention(
2433
+ params: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention,
2434
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
2435
+ callback: BodyResponseCallback<Readable>
2436
+ ): void;
2437
+ countChromeBrowsersNeedingAttention(
2438
+ params: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention,
2439
+ options:
2440
+ | MethodOptions
2441
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>,
2442
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>
2443
+ ): void;
2444
+ countChromeBrowsersNeedingAttention(
2445
+ params: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention,
2446
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>
2447
+ ): void;
2448
+ countChromeBrowsersNeedingAttention(
2449
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>
2450
+ ): void;
2451
+ countChromeBrowsersNeedingAttention(
2452
+ paramsOrCallback?:
2453
+ | Params$Resource$Customers$Reports$Countchromebrowsersneedingattention
2454
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>
2455
+ | BodyResponseCallback<Readable>,
2456
+ optionsOrCallback?:
2457
+ | MethodOptions
2458
+ | StreamMethodOptions
2459
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>
2460
+ | BodyResponseCallback<Readable>,
2461
+ callback?:
2462
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>
2463
+ | BodyResponseCallback<Readable>
2464
+ ):
2465
+ | void
2466
+ | GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>
2467
+ | GaxiosPromise<Readable> {
2468
+ let params = (paramsOrCallback ||
2469
+ {}) as Params$Resource$Customers$Reports$Countchromebrowsersneedingattention;
2470
+ let options = (optionsOrCallback || {}) as MethodOptions;
2471
+
2472
+ if (typeof paramsOrCallback === 'function') {
2473
+ callback = paramsOrCallback;
2474
+ params =
2475
+ {} as Params$Resource$Customers$Reports$Countchromebrowsersneedingattention;
2476
+ options = {};
2477
+ }
2478
+
2479
+ if (typeof optionsOrCallback === 'function') {
2480
+ callback = optionsOrCallback;
2481
+ options = {};
2482
+ }
2483
+
2484
+ const rootUrl =
2485
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
2486
+ const parameters = {
2487
+ options: Object.assign(
2488
+ {
2489
+ url: (
2490
+ rootUrl +
2491
+ '/v1/{+customer}/reports:countChromeBrowsersNeedingAttention'
2492
+ ).replace(/([^:]\/)\/+/g, '$1'),
2493
+ method: 'GET',
2494
+ },
2495
+ options
2496
+ ),
2497
+ params,
2498
+ requiredParams: ['customer'],
2499
+ pathParams: ['customer'],
2500
+ context: this.context,
2501
+ };
2502
+ if (callback) {
2503
+ createAPIRequest<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>(
2504
+ parameters,
2505
+ callback as BodyResponseCallback<unknown>
2506
+ );
2507
+ } else {
2508
+ return createAPIRequest<Schema$GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse>(
2509
+ parameters
2510
+ );
2511
+ }
2512
+ }
2513
+
2260
2514
  /**
2261
2515
  * 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).
2262
2516
  * @example
@@ -3013,6 +3267,311 @@ export namespace chromemanagement_v1 {
3013
3267
  }
3014
3268
  }
3015
3269
 
3270
+ /**
3271
+ * Get a summary of printing done by each printer.
3272
+ * @example
3273
+ * ```js
3274
+ * // Before running the sample:
3275
+ * // - Enable the API at:
3276
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3277
+ * // - Login into gcloud by running:
3278
+ * // `$ gcloud auth application-default login`
3279
+ * // - Install the npm module by running:
3280
+ * // `$ npm install googleapis`
3281
+ *
3282
+ * const {google} = require('googleapis');
3283
+ * const chromemanagement = google.chromemanagement('v1');
3284
+ *
3285
+ * async function main() {
3286
+ * const auth = new google.auth.GoogleAuth({
3287
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3288
+ * scopes: [
3289
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
3290
+ * ],
3291
+ * });
3292
+ *
3293
+ * // Acquire an auth client, and bind it to all future calls
3294
+ * const authClient = await auth.getClient();
3295
+ * google.options({auth: authClient});
3296
+ *
3297
+ * // Do the magic
3298
+ * const res = await chromemanagement.customers.reports.countPrintJobsByPrinter({
3299
+ * // Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
3300
+ * customer: 'customers/my-customer',
3301
+ * // Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only \>= and <= comparators are supported in this filter. Supported filter fields: * completion_time
3302
+ * filter: 'placeholder-value',
3303
+ * // Field used to order results. If omitted, results will be ordered in ascending order of the 'printer' field. Supported order_by fields: * printer * job_count * device_count * user_count
3304
+ * orderBy: 'placeholder-value',
3305
+ * // Maximum number of results to return. Maximum and default are 100.
3306
+ * pageSize: 'placeholder-value',
3307
+ * // Token to specify the page of the response to be returned.
3308
+ * pageToken: 'placeholder-value',
3309
+ * // 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.
3310
+ * printerOrgUnitId: 'placeholder-value',
3311
+ * });
3312
+ * console.log(res.data);
3313
+ *
3314
+ * // Example response
3315
+ * // {
3316
+ * // "nextPageToken": "my_nextPageToken",
3317
+ * // "printerReports": [],
3318
+ * // "totalSize": "my_totalSize"
3319
+ * // }
3320
+ * }
3321
+ *
3322
+ * main().catch(e => {
3323
+ * console.error(e);
3324
+ * throw e;
3325
+ * });
3326
+ *
3327
+ * ```
3328
+ *
3329
+ * @param params - Parameters for request
3330
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3331
+ * @param callback - Optional callback that handles the response.
3332
+ * @returns A promise if used with async/await, or void if used with a callback.
3333
+ */
3334
+ countPrintJobsByPrinter(
3335
+ params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
3336
+ options: StreamMethodOptions
3337
+ ): GaxiosPromise<Readable>;
3338
+ countPrintJobsByPrinter(
3339
+ params?: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
3340
+ options?: MethodOptions
3341
+ ): GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>;
3342
+ countPrintJobsByPrinter(
3343
+ params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
3344
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3345
+ callback: BodyResponseCallback<Readable>
3346
+ ): void;
3347
+ countPrintJobsByPrinter(
3348
+ params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
3349
+ options:
3350
+ | MethodOptions
3351
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>,
3352
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
3353
+ ): void;
3354
+ countPrintJobsByPrinter(
3355
+ params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
3356
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
3357
+ ): void;
3358
+ countPrintJobsByPrinter(
3359
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
3360
+ ): void;
3361
+ countPrintJobsByPrinter(
3362
+ paramsOrCallback?:
3363
+ | Params$Resource$Customers$Reports$Countprintjobsbyprinter
3364
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
3365
+ | BodyResponseCallback<Readable>,
3366
+ optionsOrCallback?:
3367
+ | MethodOptions
3368
+ | StreamMethodOptions
3369
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
3370
+ | BodyResponseCallback<Readable>,
3371
+ callback?:
3372
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
3373
+ | BodyResponseCallback<Readable>
3374
+ ):
3375
+ | void
3376
+ | GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
3377
+ | GaxiosPromise<Readable> {
3378
+ let params = (paramsOrCallback ||
3379
+ {}) as Params$Resource$Customers$Reports$Countprintjobsbyprinter;
3380
+ let options = (optionsOrCallback || {}) as MethodOptions;
3381
+
3382
+ if (typeof paramsOrCallback === 'function') {
3383
+ callback = paramsOrCallback;
3384
+ params =
3385
+ {} as Params$Resource$Customers$Reports$Countprintjobsbyprinter;
3386
+ options = {};
3387
+ }
3388
+
3389
+ if (typeof optionsOrCallback === 'function') {
3390
+ callback = optionsOrCallback;
3391
+ options = {};
3392
+ }
3393
+
3394
+ const rootUrl =
3395
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
3396
+ const parameters = {
3397
+ options: Object.assign(
3398
+ {
3399
+ url: (
3400
+ rootUrl + '/v1/{+customer}/reports:countPrintJobsByPrinter'
3401
+ ).replace(/([^:]\/)\/+/g, '$1'),
3402
+ method: 'GET',
3403
+ },
3404
+ options
3405
+ ),
3406
+ params,
3407
+ requiredParams: ['customer'],
3408
+ pathParams: ['customer'],
3409
+ context: this.context,
3410
+ };
3411
+ if (callback) {
3412
+ createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>(
3413
+ parameters,
3414
+ callback as BodyResponseCallback<unknown>
3415
+ );
3416
+ } else {
3417
+ return createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>(
3418
+ parameters
3419
+ );
3420
+ }
3421
+ }
3422
+
3423
+ /**
3424
+ * Get a summary of printing done by each user.
3425
+ * @example
3426
+ * ```js
3427
+ * // Before running the sample:
3428
+ * // - Enable the API at:
3429
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3430
+ * // - Login into gcloud by running:
3431
+ * // `$ gcloud auth application-default login`
3432
+ * // - Install the npm module by running:
3433
+ * // `$ npm install googleapis`
3434
+ *
3435
+ * const {google} = require('googleapis');
3436
+ * const chromemanagement = google.chromemanagement('v1');
3437
+ *
3438
+ * async function main() {
3439
+ * const auth = new google.auth.GoogleAuth({
3440
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3441
+ * scopes: [
3442
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
3443
+ * ],
3444
+ * });
3445
+ *
3446
+ * // Acquire an auth client, and bind it to all future calls
3447
+ * const authClient = await auth.getClient();
3448
+ * google.options({auth: authClient});
3449
+ *
3450
+ * // Do the magic
3451
+ * const res = await chromemanagement.customers.reports.countPrintJobsByUser({
3452
+ * // Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
3453
+ * customer: 'customers/my-customer',
3454
+ * // Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only \>= and <= comparators are supported in this filter. Supported filter fields: * completion_time
3455
+ * filter: 'placeholder-value',
3456
+ * // Field used to order results. If omitted, results will be ordered in ascending order of the 'user_email' field. Supported order_by fields: * user_email * job_count * printer_count * device_count
3457
+ * orderBy: 'placeholder-value',
3458
+ * // Maximum number of results to return. Maximum and default are 100.
3459
+ * pageSize: 'placeholder-value',
3460
+ * // Token to specify the page of the response to be returned.
3461
+ * pageToken: 'placeholder-value',
3462
+ * // 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.
3463
+ * printerOrgUnitId: 'placeholder-value',
3464
+ * });
3465
+ * console.log(res.data);
3466
+ *
3467
+ * // Example response
3468
+ * // {
3469
+ * // "nextPageToken": "my_nextPageToken",
3470
+ * // "totalSize": "my_totalSize",
3471
+ * // "userPrintReports": []
3472
+ * // }
3473
+ * }
3474
+ *
3475
+ * main().catch(e => {
3476
+ * console.error(e);
3477
+ * throw e;
3478
+ * });
3479
+ *
3480
+ * ```
3481
+ *
3482
+ * @param params - Parameters for request
3483
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3484
+ * @param callback - Optional callback that handles the response.
3485
+ * @returns A promise if used with async/await, or void if used with a callback.
3486
+ */
3487
+ countPrintJobsByUser(
3488
+ params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
3489
+ options: StreamMethodOptions
3490
+ ): GaxiosPromise<Readable>;
3491
+ countPrintJobsByUser(
3492
+ params?: Params$Resource$Customers$Reports$Countprintjobsbyuser,
3493
+ options?: MethodOptions
3494
+ ): GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>;
3495
+ countPrintJobsByUser(
3496
+ params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
3497
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3498
+ callback: BodyResponseCallback<Readable>
3499
+ ): void;
3500
+ countPrintJobsByUser(
3501
+ params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
3502
+ options:
3503
+ | MethodOptions
3504
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>,
3505
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3506
+ ): void;
3507
+ countPrintJobsByUser(
3508
+ params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
3509
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3510
+ ): void;
3511
+ countPrintJobsByUser(
3512
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3513
+ ): void;
3514
+ countPrintJobsByUser(
3515
+ paramsOrCallback?:
3516
+ | Params$Resource$Customers$Reports$Countprintjobsbyuser
3517
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3518
+ | BodyResponseCallback<Readable>,
3519
+ optionsOrCallback?:
3520
+ | MethodOptions
3521
+ | StreamMethodOptions
3522
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3523
+ | BodyResponseCallback<Readable>,
3524
+ callback?:
3525
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3526
+ | BodyResponseCallback<Readable>
3527
+ ):
3528
+ | void
3529
+ | GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3530
+ | GaxiosPromise<Readable> {
3531
+ let params = (paramsOrCallback ||
3532
+ {}) as Params$Resource$Customers$Reports$Countprintjobsbyuser;
3533
+ let options = (optionsOrCallback || {}) as MethodOptions;
3534
+
3535
+ if (typeof paramsOrCallback === 'function') {
3536
+ callback = paramsOrCallback;
3537
+ params = {} as Params$Resource$Customers$Reports$Countprintjobsbyuser;
3538
+ options = {};
3539
+ }
3540
+
3541
+ if (typeof optionsOrCallback === 'function') {
3542
+ callback = optionsOrCallback;
3543
+ options = {};
3544
+ }
3545
+
3546
+ const rootUrl =
3547
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
3548
+ const parameters = {
3549
+ options: Object.assign(
3550
+ {
3551
+ url: (
3552
+ rootUrl + '/v1/{+customer}/reports:countPrintJobsByUser'
3553
+ ).replace(/([^:]\/)\/+/g, '$1'),
3554
+ method: 'GET',
3555
+ },
3556
+ options
3557
+ ),
3558
+ params,
3559
+ requiredParams: ['customer'],
3560
+ pathParams: ['customer'],
3561
+ context: this.context,
3562
+ };
3563
+ if (callback) {
3564
+ createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>(
3565
+ parameters,
3566
+ callback as BodyResponseCallback<unknown>
3567
+ );
3568
+ } else {
3569
+ return createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>(
3570
+ parameters
3571
+ );
3572
+ }
3573
+ }
3574
+
3016
3575
  /**
3017
3576
  * Generate report of devices that have a specified app installed.
3018
3577
  * @example
@@ -3171,6 +3730,17 @@ export namespace chromemanagement_v1 {
3171
3730
  }
3172
3731
  }
3173
3732
 
3733
+ export interface Params$Resource$Customers$Reports$Countchromebrowsersneedingattention
3734
+ extends StandardParameters {
3735
+ /**
3736
+ * Required. The customer ID or "my_customer" prefixed with "customers/".
3737
+ */
3738
+ customer?: string;
3739
+ /**
3740
+ * Optional. The ID of the organizational unit. If omitted, all data will be returned.
3741
+ */
3742
+ orgUnitId?: string;
3743
+ }
3174
3744
  export interface Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate
3175
3745
  extends StandardParameters {
3176
3746
  /**
@@ -3270,6 +3840,60 @@ export namespace chromemanagement_v1 {
3270
3840
  */
3271
3841
  pageToken?: string;
3272
3842
  }
3843
+ export interface Params$Resource$Customers$Reports$Countprintjobsbyprinter
3844
+ extends StandardParameters {
3845
+ /**
3846
+ * Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
3847
+ */
3848
+ customer?: string;
3849
+ /**
3850
+ * Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only \>= and <= comparators are supported in this filter. Supported filter fields: * completion_time
3851
+ */
3852
+ filter?: string;
3853
+ /**
3854
+ * Field used to order results. If omitted, results will be ordered in ascending order of the 'printer' field. Supported order_by fields: * printer * job_count * device_count * user_count
3855
+ */
3856
+ orderBy?: string;
3857
+ /**
3858
+ * Maximum number of results to return. Maximum and default are 100.
3859
+ */
3860
+ pageSize?: number;
3861
+ /**
3862
+ * Token to specify the page of the response to be returned.
3863
+ */
3864
+ pageToken?: string;
3865
+ /**
3866
+ * 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.
3867
+ */
3868
+ printerOrgUnitId?: string;
3869
+ }
3870
+ export interface Params$Resource$Customers$Reports$Countprintjobsbyuser
3871
+ extends StandardParameters {
3872
+ /**
3873
+ * Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
3874
+ */
3875
+ customer?: string;
3876
+ /**
3877
+ * Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only \>= and <= comparators are supported in this filter. Supported filter fields: * completion_time
3878
+ */
3879
+ filter?: string;
3880
+ /**
3881
+ * Field used to order results. If omitted, results will be ordered in ascending order of the 'user_email' field. Supported order_by fields: * user_email * job_count * printer_count * device_count
3882
+ */
3883
+ orderBy?: string;
3884
+ /**
3885
+ * Maximum number of results to return. Maximum and default are 100.
3886
+ */
3887
+ pageSize?: number;
3888
+ /**
3889
+ * Token to specify the page of the response to be returned.
3890
+ */
3891
+ pageToken?: string;
3892
+ /**
3893
+ * 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.
3894
+ */
3895
+ printerOrgUnitId?: string;
3896
+ }
3273
3897
  export interface Params$Resource$Customers$Reports$Findinstalledappdevices
3274
3898
  extends StandardParameters {
3275
3899
  /**