@googleapis/chromemanagement 10.0.4 → 10.2.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/v1.ts CHANGED
@@ -636,6 +636,40 @@ export namespace chromemanagement_v1 {
636
636
  */
637
637
  totalSize?: number | null;
638
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
+ }
639
673
  /**
640
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 * Granular permission needed: TELEMETRY_API_CPU_INFO
641
675
  */
@@ -708,6 +742,19 @@ export namespace chromemanagement_v1 {
708
742
  */
709
743
  machine?: string | null;
710
744
  }
745
+ /**
746
+ * Device activity report. * Granular permission needed: TELEMETRY_API_DEVICE_ACTIVITY_REPORT
747
+ */
748
+ export interface Schema$GoogleChromeManagementV1DeviceActivityReport {
749
+ /**
750
+ * Output only. Device activity state.
751
+ */
752
+ deviceActivityState?: string | null;
753
+ /**
754
+ * Output only. Timestamp of when the report was collected.
755
+ */
756
+ reportTime?: string | null;
757
+ }
711
758
  /**
712
759
  * Report for CountChromeDevicesPerAueDateResponse, contains the count of devices of a specific model and auto update expiration range.
713
760
  */
@@ -865,6 +912,23 @@ export namespace chromemanagement_v1 {
865
912
  */
866
913
  resolutionWidth?: number | null;
867
914
  }
915
+ /**
916
+ * Response containing a list of print jobs.
917
+ */
918
+ export interface Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse {
919
+ /**
920
+ * A token, which can be used in a subsequent request to retrieve the next page. If this field is omitted, there are no subsequent pages.
921
+ */
922
+ nextPageToken?: string | null;
923
+ /**
924
+ * List of requested print jobs.
925
+ */
926
+ printJobs?: Schema$GoogleChromeManagementV1PrintJob[];
927
+ /**
928
+ * Total number of print jobs matching request.
929
+ */
930
+ totalSize?: string | null;
931
+ }
868
932
  /**
869
933
  * Response containing a list of devices with queried app installed.
870
934
  */
@@ -1048,6 +1112,19 @@ export namespace chromemanagement_v1 {
1048
1112
  */
1049
1113
  telemetryEvents?: Schema$GoogleChromeManagementV1TelemetryEvent[];
1050
1114
  }
1115
+ /**
1116
+ * Response message for listing notification configs for a customer.
1117
+ */
1118
+ export interface Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse {
1119
+ /**
1120
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1121
+ */
1122
+ nextPageToken?: string | null;
1123
+ /**
1124
+ * The telemetry notification configs from the specified customer.
1125
+ */
1126
+ telemetryNotificationConfigs?: Schema$GoogleChromeManagementV1TelemetryNotificationConfig[];
1127
+ }
1051
1128
  /**
1052
1129
  * Response message for listing telemetry users for a customer.
1053
1130
  */
@@ -1099,6 +1176,19 @@ export namespace chromemanagement_v1 {
1099
1176
  */
1100
1177
  systemRamFreeBytes?: string | null;
1101
1178
  }
1179
+ /**
1180
+ * Network bandwidth report. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
1181
+ */
1182
+ export interface Schema$GoogleChromeManagementV1NetworkBandwidthReport {
1183
+ /**
1184
+ * Output only. Download speed in kilobits per second.
1185
+ */
1186
+ downloadSpeedKbps?: string | null;
1187
+ /**
1188
+ * Output only. Timestamp of when the report was collected.
1189
+ */
1190
+ reportTime?: string | null;
1191
+ }
1102
1192
  /**
1103
1193
  * Details about the network device. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportNetworkDeviceConfiguration](https://chromeenterprise.google/policies/#ReportNetworkDeviceConfiguration) * Data Collection Frequency: At device startup * Default Data Reporting Frequency: At device startup - 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: Yes * Reported for affiliated users only: N/A
1104
1194
  */
@@ -1253,6 +1343,92 @@ export namespace chromemanagement_v1 {
1253
1343
  */
1254
1344
  usbPeripheralReport?: Schema$GoogleChromeManagementV1UsbPeripheralReport[];
1255
1345
  }
1346
+ /**
1347
+ * 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.
1348
+ */
1349
+ export interface Schema$GoogleChromeManagementV1PrinterReport {
1350
+ /**
1351
+ * Number of chrome devices that have been used to send print jobs to the specified printer.
1352
+ */
1353
+ deviceCount?: string | null;
1354
+ /**
1355
+ * Number of print jobs sent to the printer.
1356
+ */
1357
+ jobCount?: string | null;
1358
+ /**
1359
+ * Printer name.
1360
+ */
1361
+ printer?: string | null;
1362
+ /**
1363
+ * Printer API ID.
1364
+ */
1365
+ printerId?: string | null;
1366
+ /**
1367
+ * Printer model.
1368
+ */
1369
+ printerModel?: string | null;
1370
+ /**
1371
+ * Number of users that have sent print jobs to the printer.
1372
+ */
1373
+ userCount?: string | null;
1374
+ }
1375
+ /**
1376
+ * Represents a request to print a document that has been submitted to a printer.
1377
+ */
1378
+ export interface Schema$GoogleChromeManagementV1PrintJob {
1379
+ /**
1380
+ * Color mode.
1381
+ */
1382
+ colorMode?: string | null;
1383
+ /**
1384
+ * Print job completion timestamp.
1385
+ */
1386
+ completeTime?: string | null;
1387
+ /**
1388
+ * Number of copies.
1389
+ */
1390
+ copyCount?: number | null;
1391
+ /**
1392
+ * Print job creation timestamp.
1393
+ */
1394
+ createTime?: string | null;
1395
+ /**
1396
+ * Number of pages in the document.
1397
+ */
1398
+ documentPageCount?: number | null;
1399
+ /**
1400
+ * Duplex mode.
1401
+ */
1402
+ duplexMode?: string | null;
1403
+ /**
1404
+ * Unique ID of the print job.
1405
+ */
1406
+ id?: string | null;
1407
+ /**
1408
+ * Name of the printer used for printing.
1409
+ */
1410
+ printer?: string | null;
1411
+ /**
1412
+ * API ID of the printer used for printing.
1413
+ */
1414
+ printerId?: string | null;
1415
+ /**
1416
+ * The final state of the job.
1417
+ */
1418
+ state?: string | null;
1419
+ /**
1420
+ * The title of the document.
1421
+ */
1422
+ title?: string | null;
1423
+ /**
1424
+ * The primary e-mail address of the user who submitted the print job.
1425
+ */
1426
+ userEmail?: string | null;
1427
+ /**
1428
+ * The unique Directory API ID of the user who submitted the print job.
1429
+ */
1430
+ userId?: string | null;
1431
+ }
1256
1432
  /**
1257
1433
  * 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 * Granular permission needed: TELEMETRY_API_STORAGE_INFO
1258
1434
  */
@@ -1368,6 +1544,10 @@ export namespace chromemanagement_v1 {
1368
1544
  * Output only. Resource name of the device.
1369
1545
  */
1370
1546
  name?: string | null;
1547
+ /**
1548
+ * Output only. Network bandwidth reports collected periodically sorted in a decreasing order of report_time.
1549
+ */
1550
+ networkBandwidthReport?: Schema$GoogleChromeManagementV1NetworkBandwidthReport[];
1371
1551
  /**
1372
1552
  * Output only. Network diagnostics collected periodically.
1373
1553
  */
@@ -1446,6 +1626,10 @@ export namespace chromemanagement_v1 {
1446
1626
  * Output only. Resource name of the event.
1447
1627
  */
1448
1628
  name?: string | null;
1629
+ /**
1630
+ * Output only. Payload for network connection state change event. Present only when `event_type` is `NETWORK_STATE_CHANGE`.
1631
+ */
1632
+ networkStateChangeEvent?: Schema$GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent;
1449
1633
  /**
1450
1634
  * Timestamp that represents when the event was reported.
1451
1635
  */
@@ -1458,6 +1642,23 @@ export namespace chromemanagement_v1 {
1458
1642
  * Output only. Information about the user associated with the event.
1459
1643
  */
1460
1644
  user?: Schema$GoogleChromeManagementV1TelemetryUserInfo;
1645
+ /**
1646
+ * Output only. Payload for VPN connection state change event. Present only when `event_type` is `VPN_CONNECTION_STATE_CHANGE`.
1647
+ */
1648
+ vpnConnectionStateChangeEvent?: Schema$GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent;
1649
+ /**
1650
+ * Output only. Payload for WiFi signal strength events. Present only when `event_type` is `WIFI_SIGNAL_STRENGTH_LOW` or `WIFI_SIGNAL_STRENGTH_RECOVERED`.
1651
+ */
1652
+ wifiSignalStrengthEvent?: Schema$GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent;
1653
+ }
1654
+ /**
1655
+ * Configures how the telemetry events should be filtered.
1656
+ */
1657
+ export interface Schema$GoogleChromeManagementV1TelemetryEventNotificationFilter {
1658
+ /**
1659
+ * Only sends the notifications for events of these types. Must not be empty.
1660
+ */
1661
+ eventTypes?: string[] | null;
1461
1662
  }
1462
1663
  /**
1463
1664
  * Https latency routine is run periodically and `TelemetryHttpsLatencyChangeEvent` is triggered if a latency problem was detected or if the device has recovered from a latency problem. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
@@ -1472,6 +1673,78 @@ export namespace chromemanagement_v1 {
1472
1673
  */
1473
1674
  httpsLatencyState?: string | null;
1474
1675
  }
1676
+ /**
1677
+ * `TelemetryNetworkConnectionStateChangeEvent` is triggered on network connection state changes. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
1678
+ */
1679
+ export interface Schema$GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent {
1680
+ /**
1681
+ * Current connection state of the network.
1682
+ */
1683
+ connectionState?: string | null;
1684
+ /**
1685
+ * Unique identifier of the network.
1686
+ */
1687
+ guid?: string | null;
1688
+ }
1689
+ /**
1690
+ * `TelemetryNetworkSignalStrengthEvent` is triggered on WiFi signal strength events. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
1691
+ */
1692
+ export interface Schema$GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent {
1693
+ /**
1694
+ * Unique identifier of the network.
1695
+ */
1696
+ guid?: string | null;
1697
+ /**
1698
+ * Signal strength RSSI value.
1699
+ */
1700
+ signalStrengthDbm?: number | null;
1701
+ }
1702
+ /**
1703
+ * Configuration to receive notifications of telemetry data.
1704
+ */
1705
+ export interface Schema$GoogleChromeManagementV1TelemetryNotificationConfig {
1706
+ /**
1707
+ * Output only. Google Workspace customer that owns the resource.
1708
+ */
1709
+ customer?: string | null;
1710
+ /**
1711
+ * Only send notifications for telemetry data matching this filter.
1712
+ */
1713
+ filter?: Schema$GoogleChromeManagementV1TelemetryNotificationFilter;
1714
+ /**
1715
+ * The pubsub topic to which notifications are published to.
1716
+ */
1717
+ googleCloudPubsubTopic?: string | null;
1718
+ /**
1719
+ * Output only. Resource name of the notification configuration.
1720
+ */
1721
+ name?: string | null;
1722
+ }
1723
+ /**
1724
+ * Configures how the telemetry data should be filtered.
1725
+ */
1726
+ export interface Schema$GoogleChromeManagementV1TelemetryNotificationFilter {
1727
+ /**
1728
+ * If set, only sends notifications for telemetry data coming from this device.
1729
+ */
1730
+ deviceId?: string | null;
1731
+ /**
1732
+ * If set, only sends notifications for telemetry data coming from devices in this org unit.
1733
+ */
1734
+ deviceOrgUnitId?: string | null;
1735
+ /**
1736
+ * Only sends notifications for the telemetry events matching this filter.
1737
+ */
1738
+ telemetryEventNotificationFilter?: Schema$GoogleChromeManagementV1TelemetryEventNotificationFilter;
1739
+ /**
1740
+ * If set, only sends notifications for telemetry data coming from devices owned by this user.
1741
+ */
1742
+ userEmail?: string | null;
1743
+ /**
1744
+ * If set, only sends notifications for telemetry data coming from devices owned by users in this org unit.
1745
+ */
1746
+ userOrgUnitId?: string | null;
1747
+ }
1475
1748
  /**
1476
1749
  * `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or removed. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT
1477
1750
  */
@@ -1518,10 +1791,18 @@ export namespace chromemanagement_v1 {
1518
1791
  * Output only. Audio reports collected periodically sorted in a decreasing order of report_time.
1519
1792
  */
1520
1793
  audioStatusReport?: Schema$GoogleChromeManagementV1AudioStatusReport[];
1794
+ /**
1795
+ * Output only. Device activity reports collected periodically sorted in a decreasing order of report_time.
1796
+ */
1797
+ deviceActivityReport?: Schema$GoogleChromeManagementV1DeviceActivityReport[];
1521
1798
  /**
1522
1799
  * The unique Directory API ID of the device. This value is the same as the Admin Console's Directory API ID in the ChromeOS Devices tab.
1523
1800
  */
1524
1801
  deviceId?: string | null;
1802
+ /**
1803
+ * Output only. Network bandwidth reports collected periodically sorted in a decreasing order of report_time.
1804
+ */
1805
+ networkBandwidthReport?: Schema$GoogleChromeManagementV1NetworkBandwidthReport[];
1525
1806
  /**
1526
1807
  * Output only. Peripherals reports collected periodically sorted in a decreasing order of report_time.
1527
1808
  */
@@ -1637,6 +1918,35 @@ export namespace chromemanagement_v1 {
1637
1918
  */
1638
1919
  vid?: number | null;
1639
1920
  }
1921
+ /**
1922
+ * 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.
1923
+ */
1924
+ export interface Schema$GoogleChromeManagementV1UserPrintReport {
1925
+ /**
1926
+ * Number of chrome devices that have been used to initiate print jobs by the user.
1927
+ */
1928
+ deviceCount?: string | null;
1929
+ /**
1930
+ * Number of print jobs initiated by the user.
1931
+ */
1932
+ jobCount?: string | null;
1933
+ /**
1934
+ * Number of printers used by the user.
1935
+ */
1936
+ printerCount?: string | null;
1937
+ /**
1938
+ * The primary e-mail address of the user.
1939
+ */
1940
+ userEmail?: string | null;
1941
+ /**
1942
+ * The unique Directory API ID of the user.
1943
+ */
1944
+ userId?: string | null;
1945
+ }
1946
+ /**
1947
+ * 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); \}
1948
+ */
1949
+ export interface Schema$GoogleProtobufEmpty {}
1640
1950
  /**
1641
1951
  * 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).
1642
1952
  */
@@ -2736,65 +3046,65 @@ export namespace chromemanagement_v1 {
2736
3046
  }
2737
3047
 
2738
3048
  /**
2739
- * Generate report of managed Chrome browser devices that have a specified app installed.
3049
+ * Get a summary of printing done by each printer.
2740
3050
  *
2741
3051
  * @param params - Parameters for request
2742
3052
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2743
3053
  * @param callback - Optional callback that handles the response.
2744
3054
  * @returns A promise if used with async/await, or void if used with a callback.
2745
3055
  */
2746
- findInstalledAppDevices(
2747
- params: Params$Resource$Customers$Reports$Findinstalledappdevices,
3056
+ countPrintJobsByPrinter(
3057
+ params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
2748
3058
  options: StreamMethodOptions
2749
3059
  ): GaxiosPromise<Readable>;
2750
- findInstalledAppDevices(
2751
- params?: Params$Resource$Customers$Reports$Findinstalledappdevices,
3060
+ countPrintJobsByPrinter(
3061
+ params?: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
2752
3062
  options?: MethodOptions
2753
- ): GaxiosPromise<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>;
2754
- findInstalledAppDevices(
2755
- params: Params$Resource$Customers$Reports$Findinstalledappdevices,
3063
+ ): GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>;
3064
+ countPrintJobsByPrinter(
3065
+ params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
2756
3066
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
2757
3067
  callback: BodyResponseCallback<Readable>
2758
3068
  ): void;
2759
- findInstalledAppDevices(
2760
- params: Params$Resource$Customers$Reports$Findinstalledappdevices,
3069
+ countPrintJobsByPrinter(
3070
+ params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
2761
3071
  options:
2762
3072
  | MethodOptions
2763
- | BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>,
2764
- callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3073
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>,
3074
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
2765
3075
  ): void;
2766
- findInstalledAppDevices(
2767
- params: Params$Resource$Customers$Reports$Findinstalledappdevices,
2768
- callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3076
+ countPrintJobsByPrinter(
3077
+ params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
3078
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
2769
3079
  ): void;
2770
- findInstalledAppDevices(
2771
- callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3080
+ countPrintJobsByPrinter(
3081
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
2772
3082
  ): void;
2773
- findInstalledAppDevices(
3083
+ countPrintJobsByPrinter(
2774
3084
  paramsOrCallback?:
2775
- | Params$Resource$Customers$Reports$Findinstalledappdevices
2776
- | BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3085
+ | Params$Resource$Customers$Reports$Countprintjobsbyprinter
3086
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
2777
3087
  | BodyResponseCallback<Readable>,
2778
3088
  optionsOrCallback?:
2779
3089
  | MethodOptions
2780
3090
  | StreamMethodOptions
2781
- | BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3091
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
2782
3092
  | BodyResponseCallback<Readable>,
2783
3093
  callback?:
2784
- | BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3094
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
2785
3095
  | BodyResponseCallback<Readable>
2786
3096
  ):
2787
3097
  | void
2788
- | GaxiosPromise<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3098
+ | GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
2789
3099
  | GaxiosPromise<Readable> {
2790
3100
  let params = (paramsOrCallback ||
2791
- {}) as Params$Resource$Customers$Reports$Findinstalledappdevices;
3101
+ {}) as Params$Resource$Customers$Reports$Countprintjobsbyprinter;
2792
3102
  let options = (optionsOrCallback || {}) as MethodOptions;
2793
3103
 
2794
3104
  if (typeof paramsOrCallback === 'function') {
2795
3105
  callback = paramsOrCallback;
2796
3106
  params =
2797
- {} as Params$Resource$Customers$Reports$Findinstalledappdevices;
3107
+ {} as Params$Resource$Customers$Reports$Countprintjobsbyprinter;
2798
3108
  options = {};
2799
3109
  }
2800
3110
 
@@ -2809,7 +3119,7 @@ export namespace chromemanagement_v1 {
2809
3119
  options: Object.assign(
2810
3120
  {
2811
3121
  url: (
2812
- rootUrl + '/v1/{+customer}/reports:findInstalledAppDevices'
3122
+ rootUrl + '/v1/{+customer}/reports:countPrintJobsByPrinter'
2813
3123
  ).replace(/([^:]\/)\/+/g, '$1'),
2814
3124
  method: 'GET',
2815
3125
  },
@@ -2821,59 +3131,348 @@ export namespace chromemanagement_v1 {
2821
3131
  context: this.context,
2822
3132
  };
2823
3133
  if (callback) {
2824
- createAPIRequest<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>(
3134
+ createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>(
2825
3135
  parameters,
2826
3136
  callback as BodyResponseCallback<unknown>
2827
3137
  );
2828
3138
  } else {
2829
- return createAPIRequest<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>(
3139
+ return createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>(
2830
3140
  parameters
2831
3141
  );
2832
3142
  }
2833
3143
  }
2834
- }
2835
3144
 
2836
- export interface Params$Resource$Customers$Reports$Countchromebrowsersneedingattention
2837
- extends StandardParameters {
2838
- /**
2839
- * Required. The customer ID or "my_customer" prefixed with "customers/".
2840
- */
2841
- customer?: string;
2842
- /**
2843
- * Optional. The ID of the organizational unit. If omitted, all data will be returned.
2844
- */
2845
- orgUnitId?: string;
2846
- }
2847
- export interface Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate
2848
- extends StandardParameters {
2849
- /**
2850
- * Required. The customer ID or "my_customer" prefixed with "customers/".
2851
- */
2852
- customer?: string;
2853
- /**
2854
- * Optional. Maximum expiration date in format yyyy-mm-dd in UTC timezone. If included returns all devices that have already expired and devices with auto expiration date equal to or earlier than the maximum date.
2855
- */
2856
- maxAueDate?: string;
2857
- /**
2858
- * Optional. Maximum expiration date in format yyyy-mm-dd in UTC timezone. If included returns all devices that have already expired and devices with auto expiration date equal to or later than the minimum date.
2859
- */
2860
- minAueDate?: string;
2861
- /**
2862
- * Optional. The organizational unit ID, if omitted, will return data for all organizational units.
2863
- */
2864
- orgUnitId?: string;
2865
- }
2866
- export interface Params$Resource$Customers$Reports$Countchromedevicesthatneedattention
2867
- extends StandardParameters {
2868
- /**
2869
- * Required. The customer ID or "my_customer" prefixed with "customers/".
2870
- */
2871
- customer?: string;
2872
3145
  /**
2873
- * Optional. The ID of the organizational unit. If omitted, all data will be returned.
3146
+ * Get a summary of printing done by each user.
3147
+ *
3148
+ * @param params - Parameters for request
3149
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3150
+ * @param callback - Optional callback that handles the response.
3151
+ * @returns A promise if used with async/await, or void if used with a callback.
2874
3152
  */
2875
- orgUnitId?: string;
2876
- /**
3153
+ countPrintJobsByUser(
3154
+ params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
3155
+ options: StreamMethodOptions
3156
+ ): GaxiosPromise<Readable>;
3157
+ countPrintJobsByUser(
3158
+ params?: Params$Resource$Customers$Reports$Countprintjobsbyuser,
3159
+ options?: MethodOptions
3160
+ ): GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>;
3161
+ countPrintJobsByUser(
3162
+ params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
3163
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3164
+ callback: BodyResponseCallback<Readable>
3165
+ ): void;
3166
+ countPrintJobsByUser(
3167
+ params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
3168
+ options:
3169
+ | MethodOptions
3170
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>,
3171
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3172
+ ): void;
3173
+ countPrintJobsByUser(
3174
+ params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
3175
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3176
+ ): void;
3177
+ countPrintJobsByUser(
3178
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3179
+ ): void;
3180
+ countPrintJobsByUser(
3181
+ paramsOrCallback?:
3182
+ | Params$Resource$Customers$Reports$Countprintjobsbyuser
3183
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3184
+ | BodyResponseCallback<Readable>,
3185
+ optionsOrCallback?:
3186
+ | MethodOptions
3187
+ | StreamMethodOptions
3188
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3189
+ | BodyResponseCallback<Readable>,
3190
+ callback?:
3191
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3192
+ | BodyResponseCallback<Readable>
3193
+ ):
3194
+ | void
3195
+ | GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
3196
+ | GaxiosPromise<Readable> {
3197
+ let params = (paramsOrCallback ||
3198
+ {}) as Params$Resource$Customers$Reports$Countprintjobsbyuser;
3199
+ let options = (optionsOrCallback || {}) as MethodOptions;
3200
+
3201
+ if (typeof paramsOrCallback === 'function') {
3202
+ callback = paramsOrCallback;
3203
+ params = {} as Params$Resource$Customers$Reports$Countprintjobsbyuser;
3204
+ options = {};
3205
+ }
3206
+
3207
+ if (typeof optionsOrCallback === 'function') {
3208
+ callback = optionsOrCallback;
3209
+ options = {};
3210
+ }
3211
+
3212
+ const rootUrl =
3213
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
3214
+ const parameters = {
3215
+ options: Object.assign(
3216
+ {
3217
+ url: (
3218
+ rootUrl + '/v1/{+customer}/reports:countPrintJobsByUser'
3219
+ ).replace(/([^:]\/)\/+/g, '$1'),
3220
+ method: 'GET',
3221
+ },
3222
+ options
3223
+ ),
3224
+ params,
3225
+ requiredParams: ['customer'],
3226
+ pathParams: ['customer'],
3227
+ context: this.context,
3228
+ };
3229
+ if (callback) {
3230
+ createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>(
3231
+ parameters,
3232
+ callback as BodyResponseCallback<unknown>
3233
+ );
3234
+ } else {
3235
+ return createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>(
3236
+ parameters
3237
+ );
3238
+ }
3239
+ }
3240
+
3241
+ /**
3242
+ * Get a list of print jobs.
3243
+ *
3244
+ * @param params - Parameters for request
3245
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3246
+ * @param callback - Optional callback that handles the response.
3247
+ * @returns A promise if used with async/await, or void if used with a callback.
3248
+ */
3249
+ enumeratePrintJobs(
3250
+ params: Params$Resource$Customers$Reports$Enumerateprintjobs,
3251
+ options: StreamMethodOptions
3252
+ ): GaxiosPromise<Readable>;
3253
+ enumeratePrintJobs(
3254
+ params?: Params$Resource$Customers$Reports$Enumerateprintjobs,
3255
+ options?: MethodOptions
3256
+ ): GaxiosPromise<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>;
3257
+ enumeratePrintJobs(
3258
+ params: Params$Resource$Customers$Reports$Enumerateprintjobs,
3259
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3260
+ callback: BodyResponseCallback<Readable>
3261
+ ): void;
3262
+ enumeratePrintJobs(
3263
+ params: Params$Resource$Customers$Reports$Enumerateprintjobs,
3264
+ options:
3265
+ | MethodOptions
3266
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>,
3267
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
3268
+ ): void;
3269
+ enumeratePrintJobs(
3270
+ params: Params$Resource$Customers$Reports$Enumerateprintjobs,
3271
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
3272
+ ): void;
3273
+ enumeratePrintJobs(
3274
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
3275
+ ): void;
3276
+ enumeratePrintJobs(
3277
+ paramsOrCallback?:
3278
+ | Params$Resource$Customers$Reports$Enumerateprintjobs
3279
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
3280
+ | BodyResponseCallback<Readable>,
3281
+ optionsOrCallback?:
3282
+ | MethodOptions
3283
+ | StreamMethodOptions
3284
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
3285
+ | BodyResponseCallback<Readable>,
3286
+ callback?:
3287
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
3288
+ | BodyResponseCallback<Readable>
3289
+ ):
3290
+ | void
3291
+ | GaxiosPromise<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
3292
+ | GaxiosPromise<Readable> {
3293
+ let params = (paramsOrCallback ||
3294
+ {}) as Params$Resource$Customers$Reports$Enumerateprintjobs;
3295
+ let options = (optionsOrCallback || {}) as MethodOptions;
3296
+
3297
+ if (typeof paramsOrCallback === 'function') {
3298
+ callback = paramsOrCallback;
3299
+ params = {} as Params$Resource$Customers$Reports$Enumerateprintjobs;
3300
+ options = {};
3301
+ }
3302
+
3303
+ if (typeof optionsOrCallback === 'function') {
3304
+ callback = optionsOrCallback;
3305
+ options = {};
3306
+ }
3307
+
3308
+ const rootUrl =
3309
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
3310
+ const parameters = {
3311
+ options: Object.assign(
3312
+ {
3313
+ url: (
3314
+ rootUrl + '/v1/{+customer}/reports:enumeratePrintJobs'
3315
+ ).replace(/([^:]\/)\/+/g, '$1'),
3316
+ method: 'GET',
3317
+ },
3318
+ options
3319
+ ),
3320
+ params,
3321
+ requiredParams: ['customer'],
3322
+ pathParams: ['customer'],
3323
+ context: this.context,
3324
+ };
3325
+ if (callback) {
3326
+ createAPIRequest<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>(
3327
+ parameters,
3328
+ callback as BodyResponseCallback<unknown>
3329
+ );
3330
+ } else {
3331
+ return createAPIRequest<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>(
3332
+ parameters
3333
+ );
3334
+ }
3335
+ }
3336
+
3337
+ /**
3338
+ * Generate report of managed Chrome browser devices that have a specified app installed.
3339
+ *
3340
+ * @param params - Parameters for request
3341
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3342
+ * @param callback - Optional callback that handles the response.
3343
+ * @returns A promise if used with async/await, or void if used with a callback.
3344
+ */
3345
+ findInstalledAppDevices(
3346
+ params: Params$Resource$Customers$Reports$Findinstalledappdevices,
3347
+ options: StreamMethodOptions
3348
+ ): GaxiosPromise<Readable>;
3349
+ findInstalledAppDevices(
3350
+ params?: Params$Resource$Customers$Reports$Findinstalledappdevices,
3351
+ options?: MethodOptions
3352
+ ): GaxiosPromise<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>;
3353
+ findInstalledAppDevices(
3354
+ params: Params$Resource$Customers$Reports$Findinstalledappdevices,
3355
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3356
+ callback: BodyResponseCallback<Readable>
3357
+ ): void;
3358
+ findInstalledAppDevices(
3359
+ params: Params$Resource$Customers$Reports$Findinstalledappdevices,
3360
+ options:
3361
+ | MethodOptions
3362
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>,
3363
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3364
+ ): void;
3365
+ findInstalledAppDevices(
3366
+ params: Params$Resource$Customers$Reports$Findinstalledappdevices,
3367
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3368
+ ): void;
3369
+ findInstalledAppDevices(
3370
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3371
+ ): void;
3372
+ findInstalledAppDevices(
3373
+ paramsOrCallback?:
3374
+ | Params$Resource$Customers$Reports$Findinstalledappdevices
3375
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3376
+ | BodyResponseCallback<Readable>,
3377
+ optionsOrCallback?:
3378
+ | MethodOptions
3379
+ | StreamMethodOptions
3380
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3381
+ | BodyResponseCallback<Readable>,
3382
+ callback?:
3383
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3384
+ | BodyResponseCallback<Readable>
3385
+ ):
3386
+ | void
3387
+ | GaxiosPromise<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
3388
+ | GaxiosPromise<Readable> {
3389
+ let params = (paramsOrCallback ||
3390
+ {}) as Params$Resource$Customers$Reports$Findinstalledappdevices;
3391
+ let options = (optionsOrCallback || {}) as MethodOptions;
3392
+
3393
+ if (typeof paramsOrCallback === 'function') {
3394
+ callback = paramsOrCallback;
3395
+ params =
3396
+ {} as Params$Resource$Customers$Reports$Findinstalledappdevices;
3397
+ options = {};
3398
+ }
3399
+
3400
+ if (typeof optionsOrCallback === 'function') {
3401
+ callback = optionsOrCallback;
3402
+ options = {};
3403
+ }
3404
+
3405
+ const rootUrl =
3406
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
3407
+ const parameters = {
3408
+ options: Object.assign(
3409
+ {
3410
+ url: (
3411
+ rootUrl + '/v1/{+customer}/reports:findInstalledAppDevices'
3412
+ ).replace(/([^:]\/)\/+/g, '$1'),
3413
+ method: 'GET',
3414
+ },
3415
+ options
3416
+ ),
3417
+ params,
3418
+ requiredParams: ['customer'],
3419
+ pathParams: ['customer'],
3420
+ context: this.context,
3421
+ };
3422
+ if (callback) {
3423
+ createAPIRequest<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>(
3424
+ parameters,
3425
+ callback as BodyResponseCallback<unknown>
3426
+ );
3427
+ } else {
3428
+ return createAPIRequest<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>(
3429
+ parameters
3430
+ );
3431
+ }
3432
+ }
3433
+ }
3434
+
3435
+ export interface Params$Resource$Customers$Reports$Countchromebrowsersneedingattention
3436
+ extends StandardParameters {
3437
+ /**
3438
+ * Required. The customer ID or "my_customer" prefixed with "customers/".
3439
+ */
3440
+ customer?: string;
3441
+ /**
3442
+ * Optional. The ID of the organizational unit. If omitted, all data will be returned.
3443
+ */
3444
+ orgUnitId?: string;
3445
+ }
3446
+ export interface Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate
3447
+ extends StandardParameters {
3448
+ /**
3449
+ * Required. The customer ID or "my_customer" prefixed with "customers/".
3450
+ */
3451
+ customer?: string;
3452
+ /**
3453
+ * Optional. Maximum expiration date in format yyyy-mm-dd in UTC timezone. If included returns all devices that have already expired and devices with auto expiration date equal to or earlier than the maximum date.
3454
+ */
3455
+ maxAueDate?: string;
3456
+ /**
3457
+ * Optional. Maximum expiration date in format yyyy-mm-dd in UTC timezone. If included returns all devices that have already expired and devices with auto expiration date equal to or later than the minimum date.
3458
+ */
3459
+ minAueDate?: string;
3460
+ /**
3461
+ * Optional. The organizational unit ID, if omitted, will return data for all organizational units.
3462
+ */
3463
+ orgUnitId?: string;
3464
+ }
3465
+ export interface Params$Resource$Customers$Reports$Countchromedevicesthatneedattention
3466
+ extends StandardParameters {
3467
+ /**
3468
+ * Required. The customer ID or "my_customer" prefixed with "customers/".
3469
+ */
3470
+ customer?: string;
3471
+ /**
3472
+ * Optional. The ID of the organizational unit. If omitted, all data will be returned.
3473
+ */
3474
+ orgUnitId?: string;
3475
+ /**
2877
3476
  * Required. Mask of the fields that should be populated in the returned report.
2878
3477
  */
2879
3478
  readMask?: string;
@@ -2900,48 +3499,129 @@ export namespace chromemanagement_v1 {
2900
3499
  */
2901
3500
  customer?: string;
2902
3501
  /**
2903
- * Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * last_active_date
3502
+ * Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * last_active_date
3503
+ */
3504
+ filter?: string;
3505
+ /**
3506
+ * The ID of the organizational unit.
3507
+ */
3508
+ orgUnitId?: string;
3509
+ /**
3510
+ * Maximum number of results to return. Maximum and default are 100.
3511
+ */
3512
+ pageSize?: number;
3513
+ /**
3514
+ * Token to specify the page of the request to be returned.
3515
+ */
3516
+ pageToken?: string;
3517
+ }
3518
+ export interface Params$Resource$Customers$Reports$Countinstalledapps
3519
+ extends StandardParameters {
3520
+ /**
3521
+ * Required. Customer id or "my_customer" to use the customer associated to the account making the request.
3522
+ */
3523
+ customer?: string;
3524
+ /**
3525
+ * Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id
3526
+ */
3527
+ filter?: string;
3528
+ /**
3529
+ * Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id
3530
+ */
3531
+ orderBy?: string;
3532
+ /**
3533
+ * The ID of the organizational unit.
3534
+ */
3535
+ orgUnitId?: string;
3536
+ /**
3537
+ * Maximum number of results to return. Maximum and default are 100.
3538
+ */
3539
+ pageSize?: number;
3540
+ /**
3541
+ * Token to specify the page of the request to be returned.
3542
+ */
3543
+ pageToken?: string;
3544
+ }
3545
+ export interface Params$Resource$Customers$Reports$Countprintjobsbyprinter
3546
+ extends StandardParameters {
3547
+ /**
3548
+ * Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
3549
+ */
3550
+ customer?: string;
3551
+ /**
3552
+ * 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: * complete_time
3553
+ */
3554
+ filter?: string;
3555
+ /**
3556
+ * 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
3557
+ */
3558
+ orderBy?: string;
3559
+ /**
3560
+ * Maximum number of results to return. Maximum and default are 100.
3561
+ */
3562
+ pageSize?: number;
3563
+ /**
3564
+ * Token to specify the page of the response to be returned.
3565
+ */
3566
+ pageToken?: string;
3567
+ /**
3568
+ * 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.
3569
+ */
3570
+ printerOrgUnitId?: string;
3571
+ }
3572
+ export interface Params$Resource$Customers$Reports$Countprintjobsbyuser
3573
+ extends StandardParameters {
3574
+ /**
3575
+ * Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
3576
+ */
3577
+ customer?: string;
3578
+ /**
3579
+ * 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: * complete_time
2904
3580
  */
2905
3581
  filter?: string;
2906
3582
  /**
2907
- * The ID of the organizational unit.
3583
+ * 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
2908
3584
  */
2909
- orgUnitId?: string;
3585
+ orderBy?: string;
2910
3586
  /**
2911
3587
  * Maximum number of results to return. Maximum and default are 100.
2912
3588
  */
2913
3589
  pageSize?: number;
2914
3590
  /**
2915
- * Token to specify the page of the request to be returned.
3591
+ * Token to specify the page of the response to be returned.
2916
3592
  */
2917
3593
  pageToken?: string;
3594
+ /**
3595
+ * 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.
3596
+ */
3597
+ printerOrgUnitId?: string;
2918
3598
  }
2919
- export interface Params$Resource$Customers$Reports$Countinstalledapps
3599
+ export interface Params$Resource$Customers$Reports$Enumerateprintjobs
2920
3600
  extends StandardParameters {
2921
3601
  /**
2922
- * Required. Customer id or "my_customer" to use the customer associated to the account making the request.
3602
+ * Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
2923
3603
  */
2924
3604
  customer?: string;
2925
3605
  /**
2926
- * Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id
3606
+ * 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 for `complete_time`. Note: Only = comparator supported for `user_id` and `printer_id`. Supported filter fields: * complete_time * printer_id * user_id
2927
3607
  */
2928
3608
  filter?: string;
2929
3609
  /**
2930
- * Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id
3610
+ * Field used to order results. If not specified, results will be ordered in descending order of the `complete_time` field. Supported order by fields: * title * state * create_time * complete_time * document_page_count * color_mode * duplex_mode * printer * user_email
2931
3611
  */
2932
3612
  orderBy?: string;
2933
3613
  /**
2934
- * The ID of the organizational unit.
2935
- */
2936
- orgUnitId?: string;
2937
- /**
2938
- * Maximum number of results to return. Maximum and default are 100.
3614
+ * The number of print jobs in the page from 0 to 100 inclusive, if page_size is not specified or zero, the size will be 50.
2939
3615
  */
2940
3616
  pageSize?: number;
2941
3617
  /**
2942
- * Token to specify the page of the request to be returned.
3618
+ * A page token received from a previous `EnumeratePrintJobs` call. Provide this to retrieve the subsequent page. If omitted, the first page of results will be returned. When paginating, all other parameters provided to `EnumeratePrintJobs` must match the call that provided the page token.
2943
3619
  */
2944
3620
  pageToken?: string;
3621
+ /**
3622
+ * The ID of the organizational unit for printers. If specified, only print jobs submitted to printers from the specified organizational unit will be returned.
3623
+ */
3624
+ printerOrgUnitId?: string;
2945
3625
  }
2946
3626
  export interface Params$Resource$Customers$Reports$Findinstalledappdevices
2947
3627
  extends StandardParameters {
@@ -2983,11 +3663,14 @@ export namespace chromemanagement_v1 {
2983
3663
  context: APIRequestContext;
2984
3664
  devices: Resource$Customers$Telemetry$Devices;
2985
3665
  events: Resource$Customers$Telemetry$Events;
3666
+ notificationConfigs: Resource$Customers$Telemetry$Notificationconfigs;
2986
3667
  users: Resource$Customers$Telemetry$Users;
2987
3668
  constructor(context: APIRequestContext) {
2988
3669
  this.context = context;
2989
3670
  this.devices = new Resource$Customers$Telemetry$Devices(this.context);
2990
3671
  this.events = new Resource$Customers$Telemetry$Events(this.context);
3672
+ this.notificationConfigs =
3673
+ new Resource$Customers$Telemetry$Notificationconfigs(this.context);
2991
3674
  this.users = new Resource$Customers$Telemetry$Users(this.context);
2992
3675
  }
2993
3676
  }
@@ -3353,6 +4036,331 @@ export namespace chromemanagement_v1 {
3353
4036
  readMask?: string;
3354
4037
  }
3355
4038
 
4039
+ export class Resource$Customers$Telemetry$Notificationconfigs {
4040
+ context: APIRequestContext;
4041
+ constructor(context: APIRequestContext) {
4042
+ this.context = context;
4043
+ }
4044
+
4045
+ /**
4046
+ * Create a telemetry notification config.
4047
+ *
4048
+ * @param params - Parameters for request
4049
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4050
+ * @param callback - Optional callback that handles the response.
4051
+ * @returns A promise if used with async/await, or void if used with a callback.
4052
+ */
4053
+ create(
4054
+ params: Params$Resource$Customers$Telemetry$Notificationconfigs$Create,
4055
+ options: StreamMethodOptions
4056
+ ): GaxiosPromise<Readable>;
4057
+ create(
4058
+ params?: Params$Resource$Customers$Telemetry$Notificationconfigs$Create,
4059
+ options?: MethodOptions
4060
+ ): GaxiosPromise<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>;
4061
+ create(
4062
+ params: Params$Resource$Customers$Telemetry$Notificationconfigs$Create,
4063
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
4064
+ callback: BodyResponseCallback<Readable>
4065
+ ): void;
4066
+ create(
4067
+ params: Params$Resource$Customers$Telemetry$Notificationconfigs$Create,
4068
+ options:
4069
+ | MethodOptions
4070
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>,
4071
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
4072
+ ): void;
4073
+ create(
4074
+ params: Params$Resource$Customers$Telemetry$Notificationconfigs$Create,
4075
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
4076
+ ): void;
4077
+ create(
4078
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
4079
+ ): void;
4080
+ create(
4081
+ paramsOrCallback?:
4082
+ | Params$Resource$Customers$Telemetry$Notificationconfigs$Create
4083
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
4084
+ | BodyResponseCallback<Readable>,
4085
+ optionsOrCallback?:
4086
+ | MethodOptions
4087
+ | StreamMethodOptions
4088
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
4089
+ | BodyResponseCallback<Readable>,
4090
+ callback?:
4091
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
4092
+ | BodyResponseCallback<Readable>
4093
+ ):
4094
+ | void
4095
+ | GaxiosPromise<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
4096
+ | GaxiosPromise<Readable> {
4097
+ let params = (paramsOrCallback ||
4098
+ {}) as Params$Resource$Customers$Telemetry$Notificationconfigs$Create;
4099
+ let options = (optionsOrCallback || {}) as MethodOptions;
4100
+
4101
+ if (typeof paramsOrCallback === 'function') {
4102
+ callback = paramsOrCallback;
4103
+ params =
4104
+ {} as Params$Resource$Customers$Telemetry$Notificationconfigs$Create;
4105
+ options = {};
4106
+ }
4107
+
4108
+ if (typeof optionsOrCallback === 'function') {
4109
+ callback = optionsOrCallback;
4110
+ options = {};
4111
+ }
4112
+
4113
+ const rootUrl =
4114
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
4115
+ const parameters = {
4116
+ options: Object.assign(
4117
+ {
4118
+ url: (
4119
+ rootUrl + '/v1/{+parent}/telemetry/notificationConfigs'
4120
+ ).replace(/([^:]\/)\/+/g, '$1'),
4121
+ method: 'POST',
4122
+ },
4123
+ options
4124
+ ),
4125
+ params,
4126
+ requiredParams: ['parent'],
4127
+ pathParams: ['parent'],
4128
+ context: this.context,
4129
+ };
4130
+ if (callback) {
4131
+ createAPIRequest<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>(
4132
+ parameters,
4133
+ callback as BodyResponseCallback<unknown>
4134
+ );
4135
+ } else {
4136
+ return createAPIRequest<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>(
4137
+ parameters
4138
+ );
4139
+ }
4140
+ }
4141
+
4142
+ /**
4143
+ * Delete a telemetry notification config.
4144
+ *
4145
+ * @param params - Parameters for request
4146
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4147
+ * @param callback - Optional callback that handles the response.
4148
+ * @returns A promise if used with async/await, or void if used with a callback.
4149
+ */
4150
+ delete(
4151
+ params: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete,
4152
+ options: StreamMethodOptions
4153
+ ): GaxiosPromise<Readable>;
4154
+ delete(
4155
+ params?: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete,
4156
+ options?: MethodOptions
4157
+ ): GaxiosPromise<Schema$GoogleProtobufEmpty>;
4158
+ delete(
4159
+ params: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete,
4160
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
4161
+ callback: BodyResponseCallback<Readable>
4162
+ ): void;
4163
+ delete(
4164
+ params: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete,
4165
+ options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>,
4166
+ callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>
4167
+ ): void;
4168
+ delete(
4169
+ params: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete,
4170
+ callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>
4171
+ ): void;
4172
+ delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
4173
+ delete(
4174
+ paramsOrCallback?:
4175
+ | Params$Resource$Customers$Telemetry$Notificationconfigs$Delete
4176
+ | BodyResponseCallback<Schema$GoogleProtobufEmpty>
4177
+ | BodyResponseCallback<Readable>,
4178
+ optionsOrCallback?:
4179
+ | MethodOptions
4180
+ | StreamMethodOptions
4181
+ | BodyResponseCallback<Schema$GoogleProtobufEmpty>
4182
+ | BodyResponseCallback<Readable>,
4183
+ callback?:
4184
+ | BodyResponseCallback<Schema$GoogleProtobufEmpty>
4185
+ | BodyResponseCallback<Readable>
4186
+ ):
4187
+ | void
4188
+ | GaxiosPromise<Schema$GoogleProtobufEmpty>
4189
+ | GaxiosPromise<Readable> {
4190
+ let params = (paramsOrCallback ||
4191
+ {}) as Params$Resource$Customers$Telemetry$Notificationconfigs$Delete;
4192
+ let options = (optionsOrCallback || {}) as MethodOptions;
4193
+
4194
+ if (typeof paramsOrCallback === 'function') {
4195
+ callback = paramsOrCallback;
4196
+ params =
4197
+ {} as Params$Resource$Customers$Telemetry$Notificationconfigs$Delete;
4198
+ options = {};
4199
+ }
4200
+
4201
+ if (typeof optionsOrCallback === 'function') {
4202
+ callback = optionsOrCallback;
4203
+ options = {};
4204
+ }
4205
+
4206
+ const rootUrl =
4207
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
4208
+ const parameters = {
4209
+ options: Object.assign(
4210
+ {
4211
+ url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
4212
+ method: 'DELETE',
4213
+ },
4214
+ options
4215
+ ),
4216
+ params,
4217
+ requiredParams: ['name'],
4218
+ pathParams: ['name'],
4219
+ context: this.context,
4220
+ };
4221
+ if (callback) {
4222
+ createAPIRequest<Schema$GoogleProtobufEmpty>(
4223
+ parameters,
4224
+ callback as BodyResponseCallback<unknown>
4225
+ );
4226
+ } else {
4227
+ return createAPIRequest<Schema$GoogleProtobufEmpty>(parameters);
4228
+ }
4229
+ }
4230
+
4231
+ /**
4232
+ * List all telemetry notification configs.
4233
+ *
4234
+ * @param params - Parameters for request
4235
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4236
+ * @param callback - Optional callback that handles the response.
4237
+ * @returns A promise if used with async/await, or void if used with a callback.
4238
+ */
4239
+ list(
4240
+ params: Params$Resource$Customers$Telemetry$Notificationconfigs$List,
4241
+ options: StreamMethodOptions
4242
+ ): GaxiosPromise<Readable>;
4243
+ list(
4244
+ params?: Params$Resource$Customers$Telemetry$Notificationconfigs$List,
4245
+ options?: MethodOptions
4246
+ ): GaxiosPromise<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>;
4247
+ list(
4248
+ params: Params$Resource$Customers$Telemetry$Notificationconfigs$List,
4249
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
4250
+ callback: BodyResponseCallback<Readable>
4251
+ ): void;
4252
+ list(
4253
+ params: Params$Resource$Customers$Telemetry$Notificationconfigs$List,
4254
+ options:
4255
+ | MethodOptions
4256
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>,
4257
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
4258
+ ): void;
4259
+ list(
4260
+ params: Params$Resource$Customers$Telemetry$Notificationconfigs$List,
4261
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
4262
+ ): void;
4263
+ list(
4264
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
4265
+ ): void;
4266
+ list(
4267
+ paramsOrCallback?:
4268
+ | Params$Resource$Customers$Telemetry$Notificationconfigs$List
4269
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
4270
+ | BodyResponseCallback<Readable>,
4271
+ optionsOrCallback?:
4272
+ | MethodOptions
4273
+ | StreamMethodOptions
4274
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
4275
+ | BodyResponseCallback<Readable>,
4276
+ callback?:
4277
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
4278
+ | BodyResponseCallback<Readable>
4279
+ ):
4280
+ | void
4281
+ | GaxiosPromise<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
4282
+ | GaxiosPromise<Readable> {
4283
+ let params = (paramsOrCallback ||
4284
+ {}) as Params$Resource$Customers$Telemetry$Notificationconfigs$List;
4285
+ let options = (optionsOrCallback || {}) as MethodOptions;
4286
+
4287
+ if (typeof paramsOrCallback === 'function') {
4288
+ callback = paramsOrCallback;
4289
+ params =
4290
+ {} as Params$Resource$Customers$Telemetry$Notificationconfigs$List;
4291
+ options = {};
4292
+ }
4293
+
4294
+ if (typeof optionsOrCallback === 'function') {
4295
+ callback = optionsOrCallback;
4296
+ options = {};
4297
+ }
4298
+
4299
+ const rootUrl =
4300
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
4301
+ const parameters = {
4302
+ options: Object.assign(
4303
+ {
4304
+ url: (
4305
+ rootUrl + '/v1/{+parent}/telemetry/notificationConfigs'
4306
+ ).replace(/([^:]\/)\/+/g, '$1'),
4307
+ method: 'GET',
4308
+ },
4309
+ options
4310
+ ),
4311
+ params,
4312
+ requiredParams: ['parent'],
4313
+ pathParams: ['parent'],
4314
+ context: this.context,
4315
+ };
4316
+ if (callback) {
4317
+ createAPIRequest<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>(
4318
+ parameters,
4319
+ callback as BodyResponseCallback<unknown>
4320
+ );
4321
+ } else {
4322
+ return createAPIRequest<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>(
4323
+ parameters
4324
+ );
4325
+ }
4326
+ }
4327
+ }
4328
+
4329
+ export interface Params$Resource$Customers$Telemetry$Notificationconfigs$Create
4330
+ extends StandardParameters {
4331
+ /**
4332
+ * Required. The parent resource where this notification config will be created. Format: `customers/{customer\}`
4333
+ */
4334
+ parent?: string;
4335
+
4336
+ /**
4337
+ * Request body metadata
4338
+ */
4339
+ requestBody?: Schema$GoogleChromeManagementV1TelemetryNotificationConfig;
4340
+ }
4341
+ export interface Params$Resource$Customers$Telemetry$Notificationconfigs$Delete
4342
+ extends StandardParameters {
4343
+ /**
4344
+ * Required. The name of the notification config to delete. Format: `customers/{customer\}/telemetry/notificationConfigs/{notification_config\}`
4345
+ */
4346
+ name?: string;
4347
+ }
4348
+ export interface Params$Resource$Customers$Telemetry$Notificationconfigs$List
4349
+ extends StandardParameters {
4350
+ /**
4351
+ * The maximum number of notification configs to return. The service may return fewer than this value. If unspecified, at most 100 notification configs will be returned. The maximum value is 100; values above 100 will be coerced to 100.
4352
+ */
4353
+ pageSize?: number;
4354
+ /**
4355
+ * A page token, received from a previous `ListTelemetryNotificationConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTelemetryNotificationConfigs` must match the call that provided the page token.
4356
+ */
4357
+ pageToken?: string;
4358
+ /**
4359
+ * Required. The parent which owns the notification configs.
4360
+ */
4361
+ parent?: string;
4362
+ }
4363
+
3356
4364
  export class Resource$Customers$Telemetry$Users {
3357
4365
  context: APIRequestContext;
3358
4366
  constructor(context: APIRequestContext) {