@googleapis/chromemanagement 10.0.3 → 10.1.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 +19 -0
- package/build/v1.d.ts +487 -0
- package/build/v1.js +198 -0
- package/build/v1.js.map +1 -1
- package/package.json +3 -3
- package/v1.ts +1082 -95
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
|
*/
|
|
@@ -1253,6 +1330,92 @@ export namespace chromemanagement_v1 {
|
|
|
1253
1330
|
*/
|
|
1254
1331
|
usbPeripheralReport?: Schema$GoogleChromeManagementV1UsbPeripheralReport[];
|
|
1255
1332
|
}
|
|
1333
|
+
/**
|
|
1334
|
+
* 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.
|
|
1335
|
+
*/
|
|
1336
|
+
export interface Schema$GoogleChromeManagementV1PrinterReport {
|
|
1337
|
+
/**
|
|
1338
|
+
* Number of chrome devices that have been used to send print jobs to the specified printer.
|
|
1339
|
+
*/
|
|
1340
|
+
deviceCount?: string | null;
|
|
1341
|
+
/**
|
|
1342
|
+
* Number of print jobs sent to the printer.
|
|
1343
|
+
*/
|
|
1344
|
+
jobCount?: string | null;
|
|
1345
|
+
/**
|
|
1346
|
+
* Printer name.
|
|
1347
|
+
*/
|
|
1348
|
+
printer?: string | null;
|
|
1349
|
+
/**
|
|
1350
|
+
* Printer API ID.
|
|
1351
|
+
*/
|
|
1352
|
+
printerId?: string | null;
|
|
1353
|
+
/**
|
|
1354
|
+
* Printer model.
|
|
1355
|
+
*/
|
|
1356
|
+
printerModel?: string | null;
|
|
1357
|
+
/**
|
|
1358
|
+
* Number of users that have sent print jobs to the printer.
|
|
1359
|
+
*/
|
|
1360
|
+
userCount?: string | null;
|
|
1361
|
+
}
|
|
1362
|
+
/**
|
|
1363
|
+
* Represents a request to print a document that has been submitted to a printer.
|
|
1364
|
+
*/
|
|
1365
|
+
export interface Schema$GoogleChromeManagementV1PrintJob {
|
|
1366
|
+
/**
|
|
1367
|
+
* Color mode.
|
|
1368
|
+
*/
|
|
1369
|
+
colorMode?: string | null;
|
|
1370
|
+
/**
|
|
1371
|
+
* Print job completion timestamp.
|
|
1372
|
+
*/
|
|
1373
|
+
completeTime?: string | null;
|
|
1374
|
+
/**
|
|
1375
|
+
* Number of copies.
|
|
1376
|
+
*/
|
|
1377
|
+
copyCount?: number | null;
|
|
1378
|
+
/**
|
|
1379
|
+
* Print job creation timestamp.
|
|
1380
|
+
*/
|
|
1381
|
+
createTime?: string | null;
|
|
1382
|
+
/**
|
|
1383
|
+
* Number of pages in the document.
|
|
1384
|
+
*/
|
|
1385
|
+
documentPageCount?: number | null;
|
|
1386
|
+
/**
|
|
1387
|
+
* Duplex mode.
|
|
1388
|
+
*/
|
|
1389
|
+
duplexMode?: string | null;
|
|
1390
|
+
/**
|
|
1391
|
+
* Unique ID of the print job.
|
|
1392
|
+
*/
|
|
1393
|
+
id?: string | null;
|
|
1394
|
+
/**
|
|
1395
|
+
* Name of the printer used for printing.
|
|
1396
|
+
*/
|
|
1397
|
+
printer?: string | null;
|
|
1398
|
+
/**
|
|
1399
|
+
* API ID of the printer used for printing.
|
|
1400
|
+
*/
|
|
1401
|
+
printerId?: string | null;
|
|
1402
|
+
/**
|
|
1403
|
+
* The final state of the job.
|
|
1404
|
+
*/
|
|
1405
|
+
state?: string | null;
|
|
1406
|
+
/**
|
|
1407
|
+
* The title of the document.
|
|
1408
|
+
*/
|
|
1409
|
+
title?: string | null;
|
|
1410
|
+
/**
|
|
1411
|
+
* The primary e-mail address of the user who submitted the print job.
|
|
1412
|
+
*/
|
|
1413
|
+
userEmail?: string | null;
|
|
1414
|
+
/**
|
|
1415
|
+
* The unique Directory API ID of the user who submitted the print job.
|
|
1416
|
+
*/
|
|
1417
|
+
userId?: string | null;
|
|
1418
|
+
}
|
|
1256
1419
|
/**
|
|
1257
1420
|
* 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
1421
|
*/
|
|
@@ -1446,6 +1609,10 @@ export namespace chromemanagement_v1 {
|
|
|
1446
1609
|
* Output only. Resource name of the event.
|
|
1447
1610
|
*/
|
|
1448
1611
|
name?: string | null;
|
|
1612
|
+
/**
|
|
1613
|
+
* Output only. Payload for network connection state change event. Present only when `event_type` is `NETWORK_STATE_CHANGE`.
|
|
1614
|
+
*/
|
|
1615
|
+
networkStateChangeEvent?: Schema$GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent;
|
|
1449
1616
|
/**
|
|
1450
1617
|
* Timestamp that represents when the event was reported.
|
|
1451
1618
|
*/
|
|
@@ -1458,6 +1625,23 @@ export namespace chromemanagement_v1 {
|
|
|
1458
1625
|
* Output only. Information about the user associated with the event.
|
|
1459
1626
|
*/
|
|
1460
1627
|
user?: Schema$GoogleChromeManagementV1TelemetryUserInfo;
|
|
1628
|
+
/**
|
|
1629
|
+
* Output only. Payload for VPN connection state change event. Present only when `event_type` is `VPN_CONNECTION_STATE_CHANGE`.
|
|
1630
|
+
*/
|
|
1631
|
+
vpnConnectionStateChangeEvent?: Schema$GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent;
|
|
1632
|
+
/**
|
|
1633
|
+
* Output only. Payload for WiFi signal strength events. Present only when `event_type` is `WIFI_SIGNAL_STRENGTH_LOW` or `WIFI_SIGNAL_STRENGTH_RECOVERED`.
|
|
1634
|
+
*/
|
|
1635
|
+
wifiSignalStrengthEvent?: Schema$GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent;
|
|
1636
|
+
}
|
|
1637
|
+
/**
|
|
1638
|
+
* Configures how the telemetry events should be filtered.
|
|
1639
|
+
*/
|
|
1640
|
+
export interface Schema$GoogleChromeManagementV1TelemetryEventNotificationFilter {
|
|
1641
|
+
/**
|
|
1642
|
+
* Only sends the notifications for events of these types. Must not be empty.
|
|
1643
|
+
*/
|
|
1644
|
+
eventTypes?: string[] | null;
|
|
1461
1645
|
}
|
|
1462
1646
|
/**
|
|
1463
1647
|
* 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 +1656,78 @@ export namespace chromemanagement_v1 {
|
|
|
1472
1656
|
*/
|
|
1473
1657
|
httpsLatencyState?: string | null;
|
|
1474
1658
|
}
|
|
1659
|
+
/**
|
|
1660
|
+
* `TelemetryNetworkConnectionStateChangeEvent` is triggered on network connection state changes. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
|
|
1661
|
+
*/
|
|
1662
|
+
export interface Schema$GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent {
|
|
1663
|
+
/**
|
|
1664
|
+
* Current connection state of the network.
|
|
1665
|
+
*/
|
|
1666
|
+
connectionState?: string | null;
|
|
1667
|
+
/**
|
|
1668
|
+
* Unique identifier of the network.
|
|
1669
|
+
*/
|
|
1670
|
+
guid?: string | null;
|
|
1671
|
+
}
|
|
1672
|
+
/**
|
|
1673
|
+
* `TelemetryNetworkSignalStrengthEvent` is triggered on WiFi signal strength events. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
|
|
1674
|
+
*/
|
|
1675
|
+
export interface Schema$GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent {
|
|
1676
|
+
/**
|
|
1677
|
+
* Unique identifier of the network.
|
|
1678
|
+
*/
|
|
1679
|
+
guid?: string | null;
|
|
1680
|
+
/**
|
|
1681
|
+
* Signal strength RSSI value.
|
|
1682
|
+
*/
|
|
1683
|
+
signalStrengthDbm?: number | null;
|
|
1684
|
+
}
|
|
1685
|
+
/**
|
|
1686
|
+
* Configuration to receive notifications of telemetry data.
|
|
1687
|
+
*/
|
|
1688
|
+
export interface Schema$GoogleChromeManagementV1TelemetryNotificationConfig {
|
|
1689
|
+
/**
|
|
1690
|
+
* Output only. Google Workspace customer that owns the resource.
|
|
1691
|
+
*/
|
|
1692
|
+
customer?: string | null;
|
|
1693
|
+
/**
|
|
1694
|
+
* Only send notifications for telemetry data matching this filter.
|
|
1695
|
+
*/
|
|
1696
|
+
filter?: Schema$GoogleChromeManagementV1TelemetryNotificationFilter;
|
|
1697
|
+
/**
|
|
1698
|
+
* The pubsub topic to which notifications are published to.
|
|
1699
|
+
*/
|
|
1700
|
+
googleCloudPubsubTopic?: string | null;
|
|
1701
|
+
/**
|
|
1702
|
+
* Output only. Resource name of the notification configuration.
|
|
1703
|
+
*/
|
|
1704
|
+
name?: string | null;
|
|
1705
|
+
}
|
|
1706
|
+
/**
|
|
1707
|
+
* Configures how the telemetry data should be filtered.
|
|
1708
|
+
*/
|
|
1709
|
+
export interface Schema$GoogleChromeManagementV1TelemetryNotificationFilter {
|
|
1710
|
+
/**
|
|
1711
|
+
* If set, only sends notifications for telemetry data coming from this device.
|
|
1712
|
+
*/
|
|
1713
|
+
deviceId?: string | null;
|
|
1714
|
+
/**
|
|
1715
|
+
* If set, only sends notifications for telemetry data coming from devices in this org unit.
|
|
1716
|
+
*/
|
|
1717
|
+
deviceOrgUnitId?: string | null;
|
|
1718
|
+
/**
|
|
1719
|
+
* Only sends notifications for the telemetry events matching this filter.
|
|
1720
|
+
*/
|
|
1721
|
+
telemetryEventNotificationFilter?: Schema$GoogleChromeManagementV1TelemetryEventNotificationFilter;
|
|
1722
|
+
/**
|
|
1723
|
+
* If set, only sends notifications for telemetry data coming from devices owned by this user.
|
|
1724
|
+
*/
|
|
1725
|
+
userEmail?: string | null;
|
|
1726
|
+
/**
|
|
1727
|
+
* If set, only sends notifications for telemetry data coming from devices owned by users in this org unit.
|
|
1728
|
+
*/
|
|
1729
|
+
userOrgUnitId?: string | null;
|
|
1730
|
+
}
|
|
1475
1731
|
/**
|
|
1476
1732
|
* `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or removed. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT
|
|
1477
1733
|
*/
|
|
@@ -1518,6 +1774,10 @@ export namespace chromemanagement_v1 {
|
|
|
1518
1774
|
* Output only. Audio reports collected periodically sorted in a decreasing order of report_time.
|
|
1519
1775
|
*/
|
|
1520
1776
|
audioStatusReport?: Schema$GoogleChromeManagementV1AudioStatusReport[];
|
|
1777
|
+
/**
|
|
1778
|
+
* Output only. Device activity reports collected periodically sorted in a decreasing order of report_time.
|
|
1779
|
+
*/
|
|
1780
|
+
deviceActivityReport?: Schema$GoogleChromeManagementV1DeviceActivityReport[];
|
|
1521
1781
|
/**
|
|
1522
1782
|
* 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
1783
|
*/
|
|
@@ -1637,6 +1897,35 @@ export namespace chromemanagement_v1 {
|
|
|
1637
1897
|
*/
|
|
1638
1898
|
vid?: number | null;
|
|
1639
1899
|
}
|
|
1900
|
+
/**
|
|
1901
|
+
* 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.
|
|
1902
|
+
*/
|
|
1903
|
+
export interface Schema$GoogleChromeManagementV1UserPrintReport {
|
|
1904
|
+
/**
|
|
1905
|
+
* Number of chrome devices that have been used to initiate print jobs by the user.
|
|
1906
|
+
*/
|
|
1907
|
+
deviceCount?: string | null;
|
|
1908
|
+
/**
|
|
1909
|
+
* Number of print jobs initiated by the user.
|
|
1910
|
+
*/
|
|
1911
|
+
jobCount?: string | null;
|
|
1912
|
+
/**
|
|
1913
|
+
* Number of printers used by the user.
|
|
1914
|
+
*/
|
|
1915
|
+
printerCount?: string | null;
|
|
1916
|
+
/**
|
|
1917
|
+
* The primary e-mail address of the user.
|
|
1918
|
+
*/
|
|
1919
|
+
userEmail?: string | null;
|
|
1920
|
+
/**
|
|
1921
|
+
* The unique Directory API ID of the user.
|
|
1922
|
+
*/
|
|
1923
|
+
userId?: string | null;
|
|
1924
|
+
}
|
|
1925
|
+
/**
|
|
1926
|
+
* 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); \}
|
|
1927
|
+
*/
|
|
1928
|
+
export interface Schema$GoogleProtobufEmpty {}
|
|
1640
1929
|
/**
|
|
1641
1930
|
* 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
1931
|
*/
|
|
@@ -2736,65 +3025,65 @@ export namespace chromemanagement_v1 {
|
|
|
2736
3025
|
}
|
|
2737
3026
|
|
|
2738
3027
|
/**
|
|
2739
|
-
*
|
|
3028
|
+
* Get a summary of printing done by each printer.
|
|
2740
3029
|
*
|
|
2741
3030
|
* @param params - Parameters for request
|
|
2742
3031
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2743
3032
|
* @param callback - Optional callback that handles the response.
|
|
2744
3033
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2745
3034
|
*/
|
|
2746
|
-
|
|
2747
|
-
params: Params$Resource$Customers$Reports$
|
|
3035
|
+
countPrintJobsByPrinter(
|
|
3036
|
+
params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
|
|
2748
3037
|
options: StreamMethodOptions
|
|
2749
3038
|
): GaxiosPromise<Readable>;
|
|
2750
|
-
|
|
2751
|
-
params?: Params$Resource$Customers$Reports$
|
|
3039
|
+
countPrintJobsByPrinter(
|
|
3040
|
+
params?: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
|
|
2752
3041
|
options?: MethodOptions
|
|
2753
|
-
): GaxiosPromise<Schema$
|
|
2754
|
-
|
|
2755
|
-
params: Params$Resource$Customers$Reports$
|
|
3042
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>;
|
|
3043
|
+
countPrintJobsByPrinter(
|
|
3044
|
+
params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
|
|
2756
3045
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2757
3046
|
callback: BodyResponseCallback<Readable>
|
|
2758
3047
|
): void;
|
|
2759
|
-
|
|
2760
|
-
params: Params$Resource$Customers$Reports$
|
|
3048
|
+
countPrintJobsByPrinter(
|
|
3049
|
+
params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
|
|
2761
3050
|
options:
|
|
2762
3051
|
| MethodOptions
|
|
2763
|
-
| BodyResponseCallback<Schema$
|
|
2764
|
-
callback: BodyResponseCallback<Schema$
|
|
3052
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>,
|
|
3053
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
2765
3054
|
): void;
|
|
2766
|
-
|
|
2767
|
-
params: Params$Resource$Customers$Reports$
|
|
2768
|
-
callback: BodyResponseCallback<Schema$
|
|
3055
|
+
countPrintJobsByPrinter(
|
|
3056
|
+
params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
|
|
3057
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
2769
3058
|
): void;
|
|
2770
|
-
|
|
2771
|
-
callback: BodyResponseCallback<Schema$
|
|
3059
|
+
countPrintJobsByPrinter(
|
|
3060
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
2772
3061
|
): void;
|
|
2773
|
-
|
|
3062
|
+
countPrintJobsByPrinter(
|
|
2774
3063
|
paramsOrCallback?:
|
|
2775
|
-
| Params$Resource$Customers$Reports$
|
|
2776
|
-
| BodyResponseCallback<Schema$
|
|
3064
|
+
| Params$Resource$Customers$Reports$Countprintjobsbyprinter
|
|
3065
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
2777
3066
|
| BodyResponseCallback<Readable>,
|
|
2778
3067
|
optionsOrCallback?:
|
|
2779
3068
|
| MethodOptions
|
|
2780
3069
|
| StreamMethodOptions
|
|
2781
|
-
| BodyResponseCallback<Schema$
|
|
3070
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
2782
3071
|
| BodyResponseCallback<Readable>,
|
|
2783
3072
|
callback?:
|
|
2784
|
-
| BodyResponseCallback<Schema$
|
|
3073
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
2785
3074
|
| BodyResponseCallback<Readable>
|
|
2786
3075
|
):
|
|
2787
3076
|
| void
|
|
2788
|
-
| GaxiosPromise<Schema$
|
|
3077
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
2789
3078
|
| GaxiosPromise<Readable> {
|
|
2790
3079
|
let params = (paramsOrCallback ||
|
|
2791
|
-
{}) as Params$Resource$Customers$Reports$
|
|
3080
|
+
{}) as Params$Resource$Customers$Reports$Countprintjobsbyprinter;
|
|
2792
3081
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2793
3082
|
|
|
2794
3083
|
if (typeof paramsOrCallback === 'function') {
|
|
2795
3084
|
callback = paramsOrCallback;
|
|
2796
3085
|
params =
|
|
2797
|
-
{} as Params$Resource$Customers$Reports$
|
|
3086
|
+
{} as Params$Resource$Customers$Reports$Countprintjobsbyprinter;
|
|
2798
3087
|
options = {};
|
|
2799
3088
|
}
|
|
2800
3089
|
|
|
@@ -2809,7 +3098,7 @@ export namespace chromemanagement_v1 {
|
|
|
2809
3098
|
options: Object.assign(
|
|
2810
3099
|
{
|
|
2811
3100
|
url: (
|
|
2812
|
-
rootUrl + '/v1/{+customer}/reports:
|
|
3101
|
+
rootUrl + '/v1/{+customer}/reports:countPrintJobsByPrinter'
|
|
2813
3102
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2814
3103
|
method: 'GET',
|
|
2815
3104
|
},
|
|
@@ -2821,71 +3110,360 @@ export namespace chromemanagement_v1 {
|
|
|
2821
3110
|
context: this.context,
|
|
2822
3111
|
};
|
|
2823
3112
|
if (callback) {
|
|
2824
|
-
createAPIRequest<Schema$
|
|
3113
|
+
createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>(
|
|
2825
3114
|
parameters,
|
|
2826
3115
|
callback as BodyResponseCallback<unknown>
|
|
2827
3116
|
);
|
|
2828
3117
|
} else {
|
|
2829
|
-
return createAPIRequest<Schema$
|
|
3118
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>(
|
|
2830
3119
|
parameters
|
|
2831
3120
|
);
|
|
2832
3121
|
}
|
|
2833
3122
|
}
|
|
2834
|
-
}
|
|
2835
3123
|
|
|
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
3124
|
/**
|
|
2862
|
-
*
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
3125
|
+
* Get a summary of printing done by each user.
|
|
3126
|
+
*
|
|
3127
|
+
* @param params - Parameters for request
|
|
3128
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3129
|
+
* @param callback - Optional callback that handles the response.
|
|
3130
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3131
|
+
*/
|
|
3132
|
+
countPrintJobsByUser(
|
|
3133
|
+
params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
|
|
3134
|
+
options: StreamMethodOptions
|
|
3135
|
+
): GaxiosPromise<Readable>;
|
|
3136
|
+
countPrintJobsByUser(
|
|
3137
|
+
params?: Params$Resource$Customers$Reports$Countprintjobsbyuser,
|
|
3138
|
+
options?: MethodOptions
|
|
3139
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>;
|
|
3140
|
+
countPrintJobsByUser(
|
|
3141
|
+
params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
|
|
3142
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3143
|
+
callback: BodyResponseCallback<Readable>
|
|
3144
|
+
): void;
|
|
3145
|
+
countPrintJobsByUser(
|
|
3146
|
+
params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
|
|
3147
|
+
options:
|
|
3148
|
+
| MethodOptions
|
|
3149
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>,
|
|
3150
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3151
|
+
): void;
|
|
3152
|
+
countPrintJobsByUser(
|
|
3153
|
+
params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
|
|
3154
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3155
|
+
): void;
|
|
3156
|
+
countPrintJobsByUser(
|
|
3157
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3158
|
+
): void;
|
|
3159
|
+
countPrintJobsByUser(
|
|
3160
|
+
paramsOrCallback?:
|
|
3161
|
+
| Params$Resource$Customers$Reports$Countprintjobsbyuser
|
|
3162
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3163
|
+
| BodyResponseCallback<Readable>,
|
|
3164
|
+
optionsOrCallback?:
|
|
3165
|
+
| MethodOptions
|
|
3166
|
+
| StreamMethodOptions
|
|
3167
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3168
|
+
| BodyResponseCallback<Readable>,
|
|
3169
|
+
callback?:
|
|
3170
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3171
|
+
| BodyResponseCallback<Readable>
|
|
3172
|
+
):
|
|
3173
|
+
| void
|
|
3174
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3175
|
+
| GaxiosPromise<Readable> {
|
|
3176
|
+
let params = (paramsOrCallback ||
|
|
3177
|
+
{}) as Params$Resource$Customers$Reports$Countprintjobsbyuser;
|
|
3178
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3179
|
+
|
|
3180
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3181
|
+
callback = paramsOrCallback;
|
|
3182
|
+
params = {} as Params$Resource$Customers$Reports$Countprintjobsbyuser;
|
|
3183
|
+
options = {};
|
|
3184
|
+
}
|
|
3185
|
+
|
|
3186
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3187
|
+
callback = optionsOrCallback;
|
|
3188
|
+
options = {};
|
|
3189
|
+
}
|
|
3190
|
+
|
|
3191
|
+
const rootUrl =
|
|
3192
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
3193
|
+
const parameters = {
|
|
3194
|
+
options: Object.assign(
|
|
3195
|
+
{
|
|
3196
|
+
url: (
|
|
3197
|
+
rootUrl + '/v1/{+customer}/reports:countPrintJobsByUser'
|
|
3198
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3199
|
+
method: 'GET',
|
|
3200
|
+
},
|
|
3201
|
+
options
|
|
3202
|
+
),
|
|
3203
|
+
params,
|
|
3204
|
+
requiredParams: ['customer'],
|
|
3205
|
+
pathParams: ['customer'],
|
|
3206
|
+
context: this.context,
|
|
3207
|
+
};
|
|
3208
|
+
if (callback) {
|
|
3209
|
+
createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>(
|
|
3210
|
+
parameters,
|
|
3211
|
+
callback as BodyResponseCallback<unknown>
|
|
3212
|
+
);
|
|
3213
|
+
} else {
|
|
3214
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>(
|
|
3215
|
+
parameters
|
|
3216
|
+
);
|
|
3217
|
+
}
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
/**
|
|
3221
|
+
* Get a list of print jobs.
|
|
3222
|
+
*
|
|
3223
|
+
* @param params - Parameters for request
|
|
3224
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3225
|
+
* @param callback - Optional callback that handles the response.
|
|
3226
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3227
|
+
*/
|
|
3228
|
+
enumeratePrintJobs(
|
|
3229
|
+
params: Params$Resource$Customers$Reports$Enumerateprintjobs,
|
|
3230
|
+
options: StreamMethodOptions
|
|
3231
|
+
): GaxiosPromise<Readable>;
|
|
3232
|
+
enumeratePrintJobs(
|
|
3233
|
+
params?: Params$Resource$Customers$Reports$Enumerateprintjobs,
|
|
3234
|
+
options?: MethodOptions
|
|
3235
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>;
|
|
3236
|
+
enumeratePrintJobs(
|
|
3237
|
+
params: Params$Resource$Customers$Reports$Enumerateprintjobs,
|
|
3238
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3239
|
+
callback: BodyResponseCallback<Readable>
|
|
3240
|
+
): void;
|
|
3241
|
+
enumeratePrintJobs(
|
|
3242
|
+
params: Params$Resource$Customers$Reports$Enumerateprintjobs,
|
|
3243
|
+
options:
|
|
3244
|
+
| MethodOptions
|
|
3245
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>,
|
|
3246
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
|
|
3247
|
+
): void;
|
|
3248
|
+
enumeratePrintJobs(
|
|
3249
|
+
params: Params$Resource$Customers$Reports$Enumerateprintjobs,
|
|
3250
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
|
|
3251
|
+
): void;
|
|
3252
|
+
enumeratePrintJobs(
|
|
3253
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
|
|
3254
|
+
): void;
|
|
3255
|
+
enumeratePrintJobs(
|
|
3256
|
+
paramsOrCallback?:
|
|
3257
|
+
| Params$Resource$Customers$Reports$Enumerateprintjobs
|
|
3258
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
|
|
3259
|
+
| BodyResponseCallback<Readable>,
|
|
3260
|
+
optionsOrCallback?:
|
|
3261
|
+
| MethodOptions
|
|
3262
|
+
| StreamMethodOptions
|
|
3263
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
|
|
3264
|
+
| BodyResponseCallback<Readable>,
|
|
3265
|
+
callback?:
|
|
3266
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
|
|
3267
|
+
| BodyResponseCallback<Readable>
|
|
3268
|
+
):
|
|
3269
|
+
| void
|
|
3270
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>
|
|
3271
|
+
| GaxiosPromise<Readable> {
|
|
3272
|
+
let params = (paramsOrCallback ||
|
|
3273
|
+
{}) as Params$Resource$Customers$Reports$Enumerateprintjobs;
|
|
3274
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3275
|
+
|
|
3276
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3277
|
+
callback = paramsOrCallback;
|
|
3278
|
+
params = {} as Params$Resource$Customers$Reports$Enumerateprintjobs;
|
|
3279
|
+
options = {};
|
|
3280
|
+
}
|
|
3281
|
+
|
|
3282
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3283
|
+
callback = optionsOrCallback;
|
|
3284
|
+
options = {};
|
|
3285
|
+
}
|
|
3286
|
+
|
|
3287
|
+
const rootUrl =
|
|
3288
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
3289
|
+
const parameters = {
|
|
3290
|
+
options: Object.assign(
|
|
3291
|
+
{
|
|
3292
|
+
url: (
|
|
3293
|
+
rootUrl + '/v1/{+customer}/reports:enumeratePrintJobs'
|
|
3294
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3295
|
+
method: 'GET',
|
|
3296
|
+
},
|
|
3297
|
+
options
|
|
3298
|
+
),
|
|
3299
|
+
params,
|
|
3300
|
+
requiredParams: ['customer'],
|
|
3301
|
+
pathParams: ['customer'],
|
|
3302
|
+
context: this.context,
|
|
3303
|
+
};
|
|
3304
|
+
if (callback) {
|
|
3305
|
+
createAPIRequest<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>(
|
|
3306
|
+
parameters,
|
|
3307
|
+
callback as BodyResponseCallback<unknown>
|
|
3308
|
+
);
|
|
3309
|
+
} else {
|
|
3310
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1EnumeratePrintJobsResponse>(
|
|
3311
|
+
parameters
|
|
3312
|
+
);
|
|
3313
|
+
}
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
/**
|
|
3317
|
+
* Generate report of managed Chrome browser devices that have a specified app installed.
|
|
3318
|
+
*
|
|
3319
|
+
* @param params - Parameters for request
|
|
3320
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3321
|
+
* @param callback - Optional callback that handles the response.
|
|
3322
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3323
|
+
*/
|
|
3324
|
+
findInstalledAppDevices(
|
|
3325
|
+
params: Params$Resource$Customers$Reports$Findinstalledappdevices,
|
|
3326
|
+
options: StreamMethodOptions
|
|
3327
|
+
): GaxiosPromise<Readable>;
|
|
3328
|
+
findInstalledAppDevices(
|
|
3329
|
+
params?: Params$Resource$Customers$Reports$Findinstalledappdevices,
|
|
3330
|
+
options?: MethodOptions
|
|
3331
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>;
|
|
3332
|
+
findInstalledAppDevices(
|
|
3333
|
+
params: Params$Resource$Customers$Reports$Findinstalledappdevices,
|
|
3334
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3335
|
+
callback: BodyResponseCallback<Readable>
|
|
3336
|
+
): void;
|
|
3337
|
+
findInstalledAppDevices(
|
|
3338
|
+
params: Params$Resource$Customers$Reports$Findinstalledappdevices,
|
|
3339
|
+
options:
|
|
3340
|
+
| MethodOptions
|
|
3341
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>,
|
|
3342
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
|
|
3343
|
+
): void;
|
|
3344
|
+
findInstalledAppDevices(
|
|
3345
|
+
params: Params$Resource$Customers$Reports$Findinstalledappdevices,
|
|
3346
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
|
|
3347
|
+
): void;
|
|
3348
|
+
findInstalledAppDevices(
|
|
3349
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
|
|
3350
|
+
): void;
|
|
3351
|
+
findInstalledAppDevices(
|
|
3352
|
+
paramsOrCallback?:
|
|
3353
|
+
| Params$Resource$Customers$Reports$Findinstalledappdevices
|
|
3354
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
|
|
3355
|
+
| BodyResponseCallback<Readable>,
|
|
3356
|
+
optionsOrCallback?:
|
|
3357
|
+
| MethodOptions
|
|
3358
|
+
| StreamMethodOptions
|
|
3359
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
|
|
3360
|
+
| BodyResponseCallback<Readable>,
|
|
3361
|
+
callback?:
|
|
3362
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
|
|
3363
|
+
| BodyResponseCallback<Readable>
|
|
3364
|
+
):
|
|
3365
|
+
| void
|
|
3366
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>
|
|
3367
|
+
| GaxiosPromise<Readable> {
|
|
3368
|
+
let params = (paramsOrCallback ||
|
|
3369
|
+
{}) as Params$Resource$Customers$Reports$Findinstalledappdevices;
|
|
3370
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3371
|
+
|
|
3372
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3373
|
+
callback = paramsOrCallback;
|
|
3374
|
+
params =
|
|
3375
|
+
{} as Params$Resource$Customers$Reports$Findinstalledappdevices;
|
|
3376
|
+
options = {};
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3380
|
+
callback = optionsOrCallback;
|
|
3381
|
+
options = {};
|
|
3382
|
+
}
|
|
3383
|
+
|
|
3384
|
+
const rootUrl =
|
|
3385
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
3386
|
+
const parameters = {
|
|
3387
|
+
options: Object.assign(
|
|
3388
|
+
{
|
|
3389
|
+
url: (
|
|
3390
|
+
rootUrl + '/v1/{+customer}/reports:findInstalledAppDevices'
|
|
3391
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3392
|
+
method: 'GET',
|
|
3393
|
+
},
|
|
3394
|
+
options
|
|
3395
|
+
),
|
|
3396
|
+
params,
|
|
3397
|
+
requiredParams: ['customer'],
|
|
3398
|
+
pathParams: ['customer'],
|
|
3399
|
+
context: this.context,
|
|
3400
|
+
};
|
|
3401
|
+
if (callback) {
|
|
3402
|
+
createAPIRequest<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>(
|
|
3403
|
+
parameters,
|
|
3404
|
+
callback as BodyResponseCallback<unknown>
|
|
3405
|
+
);
|
|
3406
|
+
} else {
|
|
3407
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>(
|
|
3408
|
+
parameters
|
|
3409
|
+
);
|
|
3410
|
+
}
|
|
3411
|
+
}
|
|
3412
|
+
}
|
|
3413
|
+
|
|
3414
|
+
export interface Params$Resource$Customers$Reports$Countchromebrowsersneedingattention
|
|
3415
|
+
extends StandardParameters {
|
|
3416
|
+
/**
|
|
3417
|
+
* Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
3418
|
+
*/
|
|
3419
|
+
customer?: string;
|
|
3420
|
+
/**
|
|
3421
|
+
* Optional. The ID of the organizational unit. If omitted, all data will be returned.
|
|
3422
|
+
*/
|
|
3423
|
+
orgUnitId?: string;
|
|
3424
|
+
}
|
|
3425
|
+
export interface Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate
|
|
3426
|
+
extends StandardParameters {
|
|
3427
|
+
/**
|
|
3428
|
+
* Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
3429
|
+
*/
|
|
3430
|
+
customer?: string;
|
|
3431
|
+
/**
|
|
3432
|
+
* 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.
|
|
3433
|
+
*/
|
|
3434
|
+
maxAueDate?: string;
|
|
3435
|
+
/**
|
|
3436
|
+
* 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.
|
|
3437
|
+
*/
|
|
3438
|
+
minAueDate?: string;
|
|
3439
|
+
/**
|
|
3440
|
+
* Optional. The organizational unit ID, if omitted, will return data for all organizational units.
|
|
3441
|
+
*/
|
|
3442
|
+
orgUnitId?: string;
|
|
3443
|
+
}
|
|
3444
|
+
export interface Params$Resource$Customers$Reports$Countchromedevicesthatneedattention
|
|
3445
|
+
extends StandardParameters {
|
|
3446
|
+
/**
|
|
3447
|
+
* Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
3448
|
+
*/
|
|
3449
|
+
customer?: string;
|
|
3450
|
+
/**
|
|
3451
|
+
* Optional. The ID of the organizational unit. If omitted, all data will be returned.
|
|
3452
|
+
*/
|
|
3453
|
+
orgUnitId?: string;
|
|
3454
|
+
/**
|
|
3455
|
+
* Required. Mask of the fields that should be populated in the returned report.
|
|
3456
|
+
*/
|
|
3457
|
+
readMask?: string;
|
|
3458
|
+
}
|
|
3459
|
+
export interface Params$Resource$Customers$Reports$Countchromehardwarefleetdevices
|
|
3460
|
+
extends StandardParameters {
|
|
3461
|
+
/**
|
|
3462
|
+
* Required. The customer ID or "my_customer".
|
|
3463
|
+
*/
|
|
3464
|
+
customer?: string;
|
|
3465
|
+
/**
|
|
3466
|
+
* Optional. The ID of the organizational unit. If omitted, all data will be returned.
|
|
2889
3467
|
*/
|
|
2890
3468
|
orgUnitId?: string;
|
|
2891
3469
|
/**
|
|
@@ -2900,48 +3478,129 @@ export namespace chromemanagement_v1 {
|
|
|
2900
3478
|
*/
|
|
2901
3479
|
customer?: string;
|
|
2902
3480
|
/**
|
|
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
|
|
3481
|
+
* 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
|
|
3482
|
+
*/
|
|
3483
|
+
filter?: string;
|
|
3484
|
+
/**
|
|
3485
|
+
* The ID of the organizational unit.
|
|
3486
|
+
*/
|
|
3487
|
+
orgUnitId?: string;
|
|
3488
|
+
/**
|
|
3489
|
+
* Maximum number of results to return. Maximum and default are 100.
|
|
3490
|
+
*/
|
|
3491
|
+
pageSize?: number;
|
|
3492
|
+
/**
|
|
3493
|
+
* Token to specify the page of the request to be returned.
|
|
3494
|
+
*/
|
|
3495
|
+
pageToken?: string;
|
|
3496
|
+
}
|
|
3497
|
+
export interface Params$Resource$Customers$Reports$Countinstalledapps
|
|
3498
|
+
extends StandardParameters {
|
|
3499
|
+
/**
|
|
3500
|
+
* Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
3501
|
+
*/
|
|
3502
|
+
customer?: string;
|
|
3503
|
+
/**
|
|
3504
|
+
* 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
|
|
3505
|
+
*/
|
|
3506
|
+
filter?: string;
|
|
3507
|
+
/**
|
|
3508
|
+
* Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id
|
|
3509
|
+
*/
|
|
3510
|
+
orderBy?: string;
|
|
3511
|
+
/**
|
|
3512
|
+
* The ID of the organizational unit.
|
|
3513
|
+
*/
|
|
3514
|
+
orgUnitId?: string;
|
|
3515
|
+
/**
|
|
3516
|
+
* Maximum number of results to return. Maximum and default are 100.
|
|
3517
|
+
*/
|
|
3518
|
+
pageSize?: number;
|
|
3519
|
+
/**
|
|
3520
|
+
* Token to specify the page of the request to be returned.
|
|
3521
|
+
*/
|
|
3522
|
+
pageToken?: string;
|
|
3523
|
+
}
|
|
3524
|
+
export interface Params$Resource$Customers$Reports$Countprintjobsbyprinter
|
|
3525
|
+
extends StandardParameters {
|
|
3526
|
+
/**
|
|
3527
|
+
* Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
|
|
3528
|
+
*/
|
|
3529
|
+
customer?: string;
|
|
3530
|
+
/**
|
|
3531
|
+
* 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
|
|
3532
|
+
*/
|
|
3533
|
+
filter?: string;
|
|
3534
|
+
/**
|
|
3535
|
+
* 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
|
|
3536
|
+
*/
|
|
3537
|
+
orderBy?: string;
|
|
3538
|
+
/**
|
|
3539
|
+
* Maximum number of results to return. Maximum and default are 100.
|
|
3540
|
+
*/
|
|
3541
|
+
pageSize?: number;
|
|
3542
|
+
/**
|
|
3543
|
+
* Token to specify the page of the response to be returned.
|
|
3544
|
+
*/
|
|
3545
|
+
pageToken?: string;
|
|
3546
|
+
/**
|
|
3547
|
+
* 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.
|
|
3548
|
+
*/
|
|
3549
|
+
printerOrgUnitId?: string;
|
|
3550
|
+
}
|
|
3551
|
+
export interface Params$Resource$Customers$Reports$Countprintjobsbyuser
|
|
3552
|
+
extends StandardParameters {
|
|
3553
|
+
/**
|
|
3554
|
+
* Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
|
|
3555
|
+
*/
|
|
3556
|
+
customer?: string;
|
|
3557
|
+
/**
|
|
3558
|
+
* 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
3559
|
*/
|
|
2905
3560
|
filter?: string;
|
|
2906
3561
|
/**
|
|
2907
|
-
*
|
|
3562
|
+
* 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
3563
|
*/
|
|
2909
|
-
|
|
3564
|
+
orderBy?: string;
|
|
2910
3565
|
/**
|
|
2911
3566
|
* Maximum number of results to return. Maximum and default are 100.
|
|
2912
3567
|
*/
|
|
2913
3568
|
pageSize?: number;
|
|
2914
3569
|
/**
|
|
2915
|
-
* Token to specify the page of the
|
|
3570
|
+
* Token to specify the page of the response to be returned.
|
|
2916
3571
|
*/
|
|
2917
3572
|
pageToken?: string;
|
|
3573
|
+
/**
|
|
3574
|
+
* 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.
|
|
3575
|
+
*/
|
|
3576
|
+
printerOrgUnitId?: string;
|
|
2918
3577
|
}
|
|
2919
|
-
export interface Params$Resource$Customers$Reports$
|
|
3578
|
+
export interface Params$Resource$Customers$Reports$Enumerateprintjobs
|
|
2920
3579
|
extends StandardParameters {
|
|
2921
3580
|
/**
|
|
2922
|
-
* Required. Customer
|
|
3581
|
+
* Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
|
|
2923
3582
|
*/
|
|
2924
3583
|
customer?: string;
|
|
2925
3584
|
/**
|
|
2926
|
-
* Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter.
|
|
3585
|
+
* 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
3586
|
*/
|
|
2928
3587
|
filter?: string;
|
|
2929
3588
|
/**
|
|
2930
|
-
* Field used to order results. Supported order by fields: *
|
|
3589
|
+
* 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
3590
|
*/
|
|
2932
3591
|
orderBy?: string;
|
|
2933
3592
|
/**
|
|
2934
|
-
* The
|
|
2935
|
-
*/
|
|
2936
|
-
orgUnitId?: string;
|
|
2937
|
-
/**
|
|
2938
|
-
* Maximum number of results to return. Maximum and default are 100.
|
|
3593
|
+
* 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
3594
|
*/
|
|
2940
3595
|
pageSize?: number;
|
|
2941
3596
|
/**
|
|
2942
|
-
*
|
|
3597
|
+
* 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
3598
|
*/
|
|
2944
3599
|
pageToken?: string;
|
|
3600
|
+
/**
|
|
3601
|
+
* The ID of the organizational unit for printers. If specified, only print jobs submitted to printers from the specified organizational unit will be returned.
|
|
3602
|
+
*/
|
|
3603
|
+
printerOrgUnitId?: string;
|
|
2945
3604
|
}
|
|
2946
3605
|
export interface Params$Resource$Customers$Reports$Findinstalledappdevices
|
|
2947
3606
|
extends StandardParameters {
|
|
@@ -2983,11 +3642,14 @@ export namespace chromemanagement_v1 {
|
|
|
2983
3642
|
context: APIRequestContext;
|
|
2984
3643
|
devices: Resource$Customers$Telemetry$Devices;
|
|
2985
3644
|
events: Resource$Customers$Telemetry$Events;
|
|
3645
|
+
notificationConfigs: Resource$Customers$Telemetry$Notificationconfigs;
|
|
2986
3646
|
users: Resource$Customers$Telemetry$Users;
|
|
2987
3647
|
constructor(context: APIRequestContext) {
|
|
2988
3648
|
this.context = context;
|
|
2989
3649
|
this.devices = new Resource$Customers$Telemetry$Devices(this.context);
|
|
2990
3650
|
this.events = new Resource$Customers$Telemetry$Events(this.context);
|
|
3651
|
+
this.notificationConfigs =
|
|
3652
|
+
new Resource$Customers$Telemetry$Notificationconfigs(this.context);
|
|
2991
3653
|
this.users = new Resource$Customers$Telemetry$Users(this.context);
|
|
2992
3654
|
}
|
|
2993
3655
|
}
|
|
@@ -3353,6 +4015,331 @@ export namespace chromemanagement_v1 {
|
|
|
3353
4015
|
readMask?: string;
|
|
3354
4016
|
}
|
|
3355
4017
|
|
|
4018
|
+
export class Resource$Customers$Telemetry$Notificationconfigs {
|
|
4019
|
+
context: APIRequestContext;
|
|
4020
|
+
constructor(context: APIRequestContext) {
|
|
4021
|
+
this.context = context;
|
|
4022
|
+
}
|
|
4023
|
+
|
|
4024
|
+
/**
|
|
4025
|
+
* Create a telemetry notification config.
|
|
4026
|
+
*
|
|
4027
|
+
* @param params - Parameters for request
|
|
4028
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4029
|
+
* @param callback - Optional callback that handles the response.
|
|
4030
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4031
|
+
*/
|
|
4032
|
+
create(
|
|
4033
|
+
params: Params$Resource$Customers$Telemetry$Notificationconfigs$Create,
|
|
4034
|
+
options: StreamMethodOptions
|
|
4035
|
+
): GaxiosPromise<Readable>;
|
|
4036
|
+
create(
|
|
4037
|
+
params?: Params$Resource$Customers$Telemetry$Notificationconfigs$Create,
|
|
4038
|
+
options?: MethodOptions
|
|
4039
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>;
|
|
4040
|
+
create(
|
|
4041
|
+
params: Params$Resource$Customers$Telemetry$Notificationconfigs$Create,
|
|
4042
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
4043
|
+
callback: BodyResponseCallback<Readable>
|
|
4044
|
+
): void;
|
|
4045
|
+
create(
|
|
4046
|
+
params: Params$Resource$Customers$Telemetry$Notificationconfigs$Create,
|
|
4047
|
+
options:
|
|
4048
|
+
| MethodOptions
|
|
4049
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>,
|
|
4050
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
|
|
4051
|
+
): void;
|
|
4052
|
+
create(
|
|
4053
|
+
params: Params$Resource$Customers$Telemetry$Notificationconfigs$Create,
|
|
4054
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
|
|
4055
|
+
): void;
|
|
4056
|
+
create(
|
|
4057
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
|
|
4058
|
+
): void;
|
|
4059
|
+
create(
|
|
4060
|
+
paramsOrCallback?:
|
|
4061
|
+
| Params$Resource$Customers$Telemetry$Notificationconfigs$Create
|
|
4062
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
|
|
4063
|
+
| BodyResponseCallback<Readable>,
|
|
4064
|
+
optionsOrCallback?:
|
|
4065
|
+
| MethodOptions
|
|
4066
|
+
| StreamMethodOptions
|
|
4067
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
|
|
4068
|
+
| BodyResponseCallback<Readable>,
|
|
4069
|
+
callback?:
|
|
4070
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
|
|
4071
|
+
| BodyResponseCallback<Readable>
|
|
4072
|
+
):
|
|
4073
|
+
| void
|
|
4074
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>
|
|
4075
|
+
| GaxiosPromise<Readable> {
|
|
4076
|
+
let params = (paramsOrCallback ||
|
|
4077
|
+
{}) as Params$Resource$Customers$Telemetry$Notificationconfigs$Create;
|
|
4078
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
4079
|
+
|
|
4080
|
+
if (typeof paramsOrCallback === 'function') {
|
|
4081
|
+
callback = paramsOrCallback;
|
|
4082
|
+
params =
|
|
4083
|
+
{} as Params$Resource$Customers$Telemetry$Notificationconfigs$Create;
|
|
4084
|
+
options = {};
|
|
4085
|
+
}
|
|
4086
|
+
|
|
4087
|
+
if (typeof optionsOrCallback === 'function') {
|
|
4088
|
+
callback = optionsOrCallback;
|
|
4089
|
+
options = {};
|
|
4090
|
+
}
|
|
4091
|
+
|
|
4092
|
+
const rootUrl =
|
|
4093
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
4094
|
+
const parameters = {
|
|
4095
|
+
options: Object.assign(
|
|
4096
|
+
{
|
|
4097
|
+
url: (
|
|
4098
|
+
rootUrl + '/v1/{+parent}/telemetry/notificationConfigs'
|
|
4099
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
4100
|
+
method: 'POST',
|
|
4101
|
+
},
|
|
4102
|
+
options
|
|
4103
|
+
),
|
|
4104
|
+
params,
|
|
4105
|
+
requiredParams: ['parent'],
|
|
4106
|
+
pathParams: ['parent'],
|
|
4107
|
+
context: this.context,
|
|
4108
|
+
};
|
|
4109
|
+
if (callback) {
|
|
4110
|
+
createAPIRequest<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>(
|
|
4111
|
+
parameters,
|
|
4112
|
+
callback as BodyResponseCallback<unknown>
|
|
4113
|
+
);
|
|
4114
|
+
} else {
|
|
4115
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1TelemetryNotificationConfig>(
|
|
4116
|
+
parameters
|
|
4117
|
+
);
|
|
4118
|
+
}
|
|
4119
|
+
}
|
|
4120
|
+
|
|
4121
|
+
/**
|
|
4122
|
+
* Delete a telemetry notification config.
|
|
4123
|
+
*
|
|
4124
|
+
* @param params - Parameters for request
|
|
4125
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4126
|
+
* @param callback - Optional callback that handles the response.
|
|
4127
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4128
|
+
*/
|
|
4129
|
+
delete(
|
|
4130
|
+
params: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete,
|
|
4131
|
+
options: StreamMethodOptions
|
|
4132
|
+
): GaxiosPromise<Readable>;
|
|
4133
|
+
delete(
|
|
4134
|
+
params?: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete,
|
|
4135
|
+
options?: MethodOptions
|
|
4136
|
+
): GaxiosPromise<Schema$GoogleProtobufEmpty>;
|
|
4137
|
+
delete(
|
|
4138
|
+
params: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete,
|
|
4139
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
4140
|
+
callback: BodyResponseCallback<Readable>
|
|
4141
|
+
): void;
|
|
4142
|
+
delete(
|
|
4143
|
+
params: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete,
|
|
4144
|
+
options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>,
|
|
4145
|
+
callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>
|
|
4146
|
+
): void;
|
|
4147
|
+
delete(
|
|
4148
|
+
params: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete,
|
|
4149
|
+
callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>
|
|
4150
|
+
): void;
|
|
4151
|
+
delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
4152
|
+
delete(
|
|
4153
|
+
paramsOrCallback?:
|
|
4154
|
+
| Params$Resource$Customers$Telemetry$Notificationconfigs$Delete
|
|
4155
|
+
| BodyResponseCallback<Schema$GoogleProtobufEmpty>
|
|
4156
|
+
| BodyResponseCallback<Readable>,
|
|
4157
|
+
optionsOrCallback?:
|
|
4158
|
+
| MethodOptions
|
|
4159
|
+
| StreamMethodOptions
|
|
4160
|
+
| BodyResponseCallback<Schema$GoogleProtobufEmpty>
|
|
4161
|
+
| BodyResponseCallback<Readable>,
|
|
4162
|
+
callback?:
|
|
4163
|
+
| BodyResponseCallback<Schema$GoogleProtobufEmpty>
|
|
4164
|
+
| BodyResponseCallback<Readable>
|
|
4165
|
+
):
|
|
4166
|
+
| void
|
|
4167
|
+
| GaxiosPromise<Schema$GoogleProtobufEmpty>
|
|
4168
|
+
| GaxiosPromise<Readable> {
|
|
4169
|
+
let params = (paramsOrCallback ||
|
|
4170
|
+
{}) as Params$Resource$Customers$Telemetry$Notificationconfigs$Delete;
|
|
4171
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
4172
|
+
|
|
4173
|
+
if (typeof paramsOrCallback === 'function') {
|
|
4174
|
+
callback = paramsOrCallback;
|
|
4175
|
+
params =
|
|
4176
|
+
{} as Params$Resource$Customers$Telemetry$Notificationconfigs$Delete;
|
|
4177
|
+
options = {};
|
|
4178
|
+
}
|
|
4179
|
+
|
|
4180
|
+
if (typeof optionsOrCallback === 'function') {
|
|
4181
|
+
callback = optionsOrCallback;
|
|
4182
|
+
options = {};
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
const rootUrl =
|
|
4186
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
4187
|
+
const parameters = {
|
|
4188
|
+
options: Object.assign(
|
|
4189
|
+
{
|
|
4190
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4191
|
+
method: 'DELETE',
|
|
4192
|
+
},
|
|
4193
|
+
options
|
|
4194
|
+
),
|
|
4195
|
+
params,
|
|
4196
|
+
requiredParams: ['name'],
|
|
4197
|
+
pathParams: ['name'],
|
|
4198
|
+
context: this.context,
|
|
4199
|
+
};
|
|
4200
|
+
if (callback) {
|
|
4201
|
+
createAPIRequest<Schema$GoogleProtobufEmpty>(
|
|
4202
|
+
parameters,
|
|
4203
|
+
callback as BodyResponseCallback<unknown>
|
|
4204
|
+
);
|
|
4205
|
+
} else {
|
|
4206
|
+
return createAPIRequest<Schema$GoogleProtobufEmpty>(parameters);
|
|
4207
|
+
}
|
|
4208
|
+
}
|
|
4209
|
+
|
|
4210
|
+
/**
|
|
4211
|
+
* List all telemetry notification configs.
|
|
4212
|
+
*
|
|
4213
|
+
* @param params - Parameters for request
|
|
4214
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4215
|
+
* @param callback - Optional callback that handles the response.
|
|
4216
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4217
|
+
*/
|
|
4218
|
+
list(
|
|
4219
|
+
params: Params$Resource$Customers$Telemetry$Notificationconfigs$List,
|
|
4220
|
+
options: StreamMethodOptions
|
|
4221
|
+
): GaxiosPromise<Readable>;
|
|
4222
|
+
list(
|
|
4223
|
+
params?: Params$Resource$Customers$Telemetry$Notificationconfigs$List,
|
|
4224
|
+
options?: MethodOptions
|
|
4225
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>;
|
|
4226
|
+
list(
|
|
4227
|
+
params: Params$Resource$Customers$Telemetry$Notificationconfigs$List,
|
|
4228
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
4229
|
+
callback: BodyResponseCallback<Readable>
|
|
4230
|
+
): void;
|
|
4231
|
+
list(
|
|
4232
|
+
params: Params$Resource$Customers$Telemetry$Notificationconfigs$List,
|
|
4233
|
+
options:
|
|
4234
|
+
| MethodOptions
|
|
4235
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>,
|
|
4236
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
|
|
4237
|
+
): void;
|
|
4238
|
+
list(
|
|
4239
|
+
params: Params$Resource$Customers$Telemetry$Notificationconfigs$List,
|
|
4240
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
|
|
4241
|
+
): void;
|
|
4242
|
+
list(
|
|
4243
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
|
|
4244
|
+
): void;
|
|
4245
|
+
list(
|
|
4246
|
+
paramsOrCallback?:
|
|
4247
|
+
| Params$Resource$Customers$Telemetry$Notificationconfigs$List
|
|
4248
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
|
|
4249
|
+
| BodyResponseCallback<Readable>,
|
|
4250
|
+
optionsOrCallback?:
|
|
4251
|
+
| MethodOptions
|
|
4252
|
+
| StreamMethodOptions
|
|
4253
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
|
|
4254
|
+
| BodyResponseCallback<Readable>,
|
|
4255
|
+
callback?:
|
|
4256
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
|
|
4257
|
+
| BodyResponseCallback<Readable>
|
|
4258
|
+
):
|
|
4259
|
+
| void
|
|
4260
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>
|
|
4261
|
+
| GaxiosPromise<Readable> {
|
|
4262
|
+
let params = (paramsOrCallback ||
|
|
4263
|
+
{}) as Params$Resource$Customers$Telemetry$Notificationconfigs$List;
|
|
4264
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
4265
|
+
|
|
4266
|
+
if (typeof paramsOrCallback === 'function') {
|
|
4267
|
+
callback = paramsOrCallback;
|
|
4268
|
+
params =
|
|
4269
|
+
{} as Params$Resource$Customers$Telemetry$Notificationconfigs$List;
|
|
4270
|
+
options = {};
|
|
4271
|
+
}
|
|
4272
|
+
|
|
4273
|
+
if (typeof optionsOrCallback === 'function') {
|
|
4274
|
+
callback = optionsOrCallback;
|
|
4275
|
+
options = {};
|
|
4276
|
+
}
|
|
4277
|
+
|
|
4278
|
+
const rootUrl =
|
|
4279
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
4280
|
+
const parameters = {
|
|
4281
|
+
options: Object.assign(
|
|
4282
|
+
{
|
|
4283
|
+
url: (
|
|
4284
|
+
rootUrl + '/v1/{+parent}/telemetry/notificationConfigs'
|
|
4285
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
4286
|
+
method: 'GET',
|
|
4287
|
+
},
|
|
4288
|
+
options
|
|
4289
|
+
),
|
|
4290
|
+
params,
|
|
4291
|
+
requiredParams: ['parent'],
|
|
4292
|
+
pathParams: ['parent'],
|
|
4293
|
+
context: this.context,
|
|
4294
|
+
};
|
|
4295
|
+
if (callback) {
|
|
4296
|
+
createAPIRequest<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>(
|
|
4297
|
+
parameters,
|
|
4298
|
+
callback as BodyResponseCallback<unknown>
|
|
4299
|
+
);
|
|
4300
|
+
} else {
|
|
4301
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse>(
|
|
4302
|
+
parameters
|
|
4303
|
+
);
|
|
4304
|
+
}
|
|
4305
|
+
}
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4308
|
+
export interface Params$Resource$Customers$Telemetry$Notificationconfigs$Create
|
|
4309
|
+
extends StandardParameters {
|
|
4310
|
+
/**
|
|
4311
|
+
* Required. The parent resource where this notification config will be created. Format: `customers/{customer\}`
|
|
4312
|
+
*/
|
|
4313
|
+
parent?: string;
|
|
4314
|
+
|
|
4315
|
+
/**
|
|
4316
|
+
* Request body metadata
|
|
4317
|
+
*/
|
|
4318
|
+
requestBody?: Schema$GoogleChromeManagementV1TelemetryNotificationConfig;
|
|
4319
|
+
}
|
|
4320
|
+
export interface Params$Resource$Customers$Telemetry$Notificationconfigs$Delete
|
|
4321
|
+
extends StandardParameters {
|
|
4322
|
+
/**
|
|
4323
|
+
* Required. The name of the notification config to delete. Format: `customers/{customer\}/telemetry/notificationConfigs/{notification_config\}`
|
|
4324
|
+
*/
|
|
4325
|
+
name?: string;
|
|
4326
|
+
}
|
|
4327
|
+
export interface Params$Resource$Customers$Telemetry$Notificationconfigs$List
|
|
4328
|
+
extends StandardParameters {
|
|
4329
|
+
/**
|
|
4330
|
+
* 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.
|
|
4331
|
+
*/
|
|
4332
|
+
pageSize?: number;
|
|
4333
|
+
/**
|
|
4334
|
+
* 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.
|
|
4335
|
+
*/
|
|
4336
|
+
pageToken?: string;
|
|
4337
|
+
/**
|
|
4338
|
+
* Required. The parent which owns the notification configs.
|
|
4339
|
+
*/
|
|
4340
|
+
parent?: string;
|
|
4341
|
+
}
|
|
4342
|
+
|
|
3356
4343
|
export class Resource$Customers$Telemetry$Users {
|
|
3357
4344
|
context: APIRequestContext;
|
|
3358
4345
|
constructor(context: APIRequestContext) {
|