@googleapis/chromemanagement 6.0.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/build/v1.d.ts +70 -310
- package/build/v1.js +0 -63
- package/build/v1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +70 -477
package/v1.ts
CHANGED
|
@@ -224,7 +224,7 @@ export namespace chromemanagement_v1 {
|
|
|
224
224
|
type?: string | null;
|
|
225
225
|
}
|
|
226
226
|
/**
|
|
227
|
-
* 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: [ReportDeviceAudioStatus](https://chromeenterprise.google/policies/#ReportDeviceAudioStatus) * Data Collection Frequency: 10 minutes * 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
|
|
227
|
+
* 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: [ReportDeviceAudioStatus](https://chromeenterprise.google/policies/#ReportDeviceAudioStatus) * Data Collection Frequency: 10 minutes * 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_AUDIO_REPORT
|
|
228
228
|
*/
|
|
229
229
|
export interface Schema$GoogleChromeManagementV1AudioStatusReport {
|
|
230
230
|
/**
|
|
@@ -257,7 +257,7 @@ export namespace chromemanagement_v1 {
|
|
|
257
257
|
reportTime?: string | null;
|
|
258
258
|
}
|
|
259
259
|
/**
|
|
260
|
-
* Information about the battery. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDevicePowerStatus](https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * 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
|
|
260
|
+
* Information about the battery. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDevicePowerStatus](https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * 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_BATTERY_INFO
|
|
261
261
|
*/
|
|
262
262
|
export interface Schema$GoogleChromeManagementV1BatteryInfo {
|
|
263
263
|
/**
|
|
@@ -323,7 +323,7 @@ export namespace chromemanagement_v1 {
|
|
|
323
323
|
voltage?: string | null;
|
|
324
324
|
}
|
|
325
325
|
/**
|
|
326
|
-
* Status data for battery. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDevicePowerStatus](https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * 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
|
|
326
|
+
* Status data for battery. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDevicePowerStatus](https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * 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_BATTERY_REPORT
|
|
327
327
|
*/
|
|
328
328
|
export interface Schema$GoogleChromeManagementV1BatteryStatusReport {
|
|
329
329
|
/**
|
|
@@ -352,7 +352,7 @@ export namespace chromemanagement_v1 {
|
|
|
352
352
|
serialNumber?: string | null;
|
|
353
353
|
}
|
|
354
354
|
/**
|
|
355
|
-
* Boot performance report of a device. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceBootMode](https://chromeenterprise.google/policies/#ReportDeviceBootMode) * Data Collection Frequency: On every boot up event * 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: Yes * Reported for affiliated users only: N/A
|
|
355
|
+
* Boot performance report of a device. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceBootMode](https://chromeenterprise.google/policies/#ReportDeviceBootMode) * Data Collection Frequency: On every boot up event * 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: Yes * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_OS_REPORT
|
|
356
356
|
*/
|
|
357
357
|
export interface Schema$GoogleChromeManagementV1BootPerformanceReport {
|
|
358
358
|
/**
|
|
@@ -637,41 +637,7 @@ export namespace chromemanagement_v1 {
|
|
|
637
637
|
totalSize?: number | null;
|
|
638
638
|
}
|
|
639
639
|
/**
|
|
640
|
-
*
|
|
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
|
-
}
|
|
673
|
-
/**
|
|
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
|
|
640
|
+
* 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
|
|
675
641
|
*/
|
|
676
642
|
export interface Schema$GoogleChromeManagementV1CpuInfo {
|
|
677
643
|
/**
|
|
@@ -696,7 +662,7 @@ export namespace chromemanagement_v1 {
|
|
|
696
662
|
model?: string | null;
|
|
697
663
|
}
|
|
698
664
|
/**
|
|
699
|
-
* Provides information about the status of the CPU. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceCpuInfo](https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * Data Collection Frequency: Every 10 minutes * 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
|
|
665
|
+
* Provides information about the status of the CPU. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceCpuInfo](https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * Data Collection Frequency: Every 10 minutes * 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_REPORT
|
|
700
666
|
*/
|
|
701
667
|
export interface Schema$GoogleChromeManagementV1CpuStatusReport {
|
|
702
668
|
/**
|
|
@@ -934,7 +900,7 @@ export namespace chromemanagement_v1 {
|
|
|
934
900
|
driverVersion?: string | null;
|
|
935
901
|
}
|
|
936
902
|
/**
|
|
937
|
-
* Information of the graphics subsystem. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDeviceGraphicsStatus](https://chromeenterprise.google/policies/#ReportDeviceGraphicsStatus) * 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
|
|
903
|
+
* Information of the graphics subsystem. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDeviceGraphicsStatus](https://chromeenterprise.google/policies/#ReportDeviceGraphicsStatus) * 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_GRAPHICS_INFO
|
|
938
904
|
*/
|
|
939
905
|
export interface Schema$GoogleChromeManagementV1GraphicsInfo {
|
|
940
906
|
/**
|
|
@@ -955,7 +921,7 @@ export namespace chromemanagement_v1 {
|
|
|
955
921
|
touchScreenInfo?: Schema$GoogleChromeManagementV1TouchScreenInfo;
|
|
956
922
|
}
|
|
957
923
|
/**
|
|
958
|
-
* Information of the graphics subsystem. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceGraphicsInfo](https://chromeenterprise.google/policies/#ReportDeviceGraphicsInfo) * Data Collection Frequency: 3 hours. * 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
|
|
924
|
+
* Information of the graphics subsystem. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceGraphicsInfo](https://chromeenterprise.google/policies/#ReportDeviceGraphicsInfo) * Data Collection Frequency: 3 hours. * 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_GRAPHICS_REPORT
|
|
959
925
|
*/
|
|
960
926
|
export interface Schema$GoogleChromeManagementV1GraphicsStatusReport {
|
|
961
927
|
/**
|
|
@@ -967,6 +933,19 @@ export namespace chromemanagement_v1 {
|
|
|
967
933
|
*/
|
|
968
934
|
reportTime?: string | null;
|
|
969
935
|
}
|
|
936
|
+
/**
|
|
937
|
+
* Heartbeat status report of a device. * Available for Kiosks * This field provides online/offline/unknown status of a device and will only be included if the status has changed (e.g. Online -\> Offline) * Data for this field is controlled via policy: [HeartbeatEnabled](https://chromeenterprise.google/policies/#HeartbeatEnabled) [More Info](https://support.google.com/chrome/a/answer/6179663#:~:text=On%20the%20Chrome,device%20status%20alerts) * Heartbeat Frequency: 2 mins * Note: If a device goes offline, it can take up to 12 minutes for the online status of the device to be updated * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: N/A * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_DEVICE_ACTIVITY_REPORT
|
|
938
|
+
*/
|
|
939
|
+
export interface Schema$GoogleChromeManagementV1HeartbeatStatusReport {
|
|
940
|
+
/**
|
|
941
|
+
* Timestamp of when status changed was detected
|
|
942
|
+
*/
|
|
943
|
+
reportTime?: string | null;
|
|
944
|
+
/**
|
|
945
|
+
* State the device changed to
|
|
946
|
+
*/
|
|
947
|
+
state?: string | null;
|
|
948
|
+
}
|
|
970
949
|
/**
|
|
971
950
|
* Data that describes the result of the HTTPS latency diagnostics routine, with the HTTPS requests issued to Google websites.
|
|
972
951
|
*/
|
|
@@ -1029,6 +1008,23 @@ export namespace chromemanagement_v1 {
|
|
|
1029
1008
|
*/
|
|
1030
1009
|
permissions?: string[] | null;
|
|
1031
1010
|
}
|
|
1011
|
+
/**
|
|
1012
|
+
* Kiosk app status report of a device. * Available for Kiosks * This field provides the app id and version number running on a kiosk device and the timestamp of when the report was last updated * Data for this field is controlled via policy: [ReportDeviceSessionStatus](https://chromeenterprise.google/policies/#ReportDeviceSessionStatus) * 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_APPS_REPORT
|
|
1013
|
+
*/
|
|
1014
|
+
export interface Schema$GoogleChromeManagementV1KioskAppStatusReport {
|
|
1015
|
+
/**
|
|
1016
|
+
* App id of kiosk app for example "mdmkkicfmmkgmpkmkdikhlbggogpicma"
|
|
1017
|
+
*/
|
|
1018
|
+
appId?: string | null;
|
|
1019
|
+
/**
|
|
1020
|
+
* App version number of kiosk app for example "1.10.118"
|
|
1021
|
+
*/
|
|
1022
|
+
appVersion?: string | null;
|
|
1023
|
+
/**
|
|
1024
|
+
* Timestamp of when report was collected
|
|
1025
|
+
*/
|
|
1026
|
+
reportTime?: string | null;
|
|
1027
|
+
}
|
|
1032
1028
|
export interface Schema$GoogleChromeManagementV1ListTelemetryDevicesResponse {
|
|
1033
1029
|
/**
|
|
1034
1030
|
* Telemetry devices returned in the response.
|
|
@@ -1066,7 +1062,7 @@ export namespace chromemanagement_v1 {
|
|
|
1066
1062
|
telemetryUsers?: Schema$GoogleChromeManagementV1TelemetryUser[];
|
|
1067
1063
|
}
|
|
1068
1064
|
/**
|
|
1069
|
-
* Memory information of a device. * This field has both telemetry and device information: - `totalRamBytes` - Device information - `availableRamBytes` - Telemetry information - `totalMemoryEncryption` - Device information * Data for this field is controlled via policy: [ReportDeviceMemoryInfo](https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * Data Collection Frequency: - `totalRamBytes` - Only at upload - `availableRamBytes` - Every 10 minutes - `totalMemoryEncryption` - at device startup * Default Data Reporting Frequency: - `totalRamBytes` - 3 hours - `availableRamBytes` - 3 hours - `totalMemoryEncryption` - 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: only for `totalMemoryEncryption` * Reported for affiliated users only: N/A
|
|
1065
|
+
* Memory information of a device. * This field has both telemetry and device information: - `totalRamBytes` - Device information - `availableRamBytes` - Telemetry information - `totalMemoryEncryption` - Device information * Data for this field is controlled via policy: [ReportDeviceMemoryInfo](https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * Data Collection Frequency: - `totalRamBytes` - Only at upload - `availableRamBytes` - Every 10 minutes - `totalMemoryEncryption` - at device startup * Default Data Reporting Frequency: - `totalRamBytes` - 3 hours - `availableRamBytes` - 3 hours - `totalMemoryEncryption` - 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: only for `totalMemoryEncryption` * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_MEMORY_INFO
|
|
1070
1066
|
*/
|
|
1071
1067
|
export interface Schema$GoogleChromeManagementV1MemoryInfo {
|
|
1072
1068
|
/**
|
|
@@ -1083,7 +1079,7 @@ export namespace chromemanagement_v1 {
|
|
|
1083
1079
|
totalRamBytes?: string | null;
|
|
1084
1080
|
}
|
|
1085
1081
|
/**
|
|
1086
|
-
* Contains samples of memory status reports. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceMemoryInfo](https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * Data Collection Frequency: Only at upload, SystemRamFreeByes is collected every 10 minutes * Default Data Reporting Frequency: Every 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
|
|
1082
|
+
* Contains samples of memory status reports. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceMemoryInfo](https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * Data Collection Frequency: Only at upload, SystemRamFreeByes is collected every 10 minutes * Default Data Reporting Frequency: Every 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_MEMORY_REPORT
|
|
1087
1083
|
*/
|
|
1088
1084
|
export interface Schema$GoogleChromeManagementV1MemoryStatusReport {
|
|
1089
1085
|
/**
|
|
@@ -1133,7 +1129,7 @@ export namespace chromemanagement_v1 {
|
|
|
1133
1129
|
type?: string | null;
|
|
1134
1130
|
}
|
|
1135
1131
|
/**
|
|
1136
|
-
* Network testing results to determine the health of the device's network connection, for example whether the HTTPS latency is high or normal.
|
|
1132
|
+
* Network testing results to determine the health of the device's network connection, for example whether the HTTPS latency is high or normal. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
|
|
1137
1133
|
*/
|
|
1138
1134
|
export interface Schema$GoogleChromeManagementV1NetworkDiagnosticsReport {
|
|
1139
1135
|
/**
|
|
@@ -1146,7 +1142,7 @@ export namespace chromemanagement_v1 {
|
|
|
1146
1142
|
reportTime?: string | null;
|
|
1147
1143
|
}
|
|
1148
1144
|
/**
|
|
1149
|
-
* Network device information. * 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
|
|
1145
|
+
* Network device information. * 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 * Granular permission needed: TELEMETRY_API_NETWORK_INFO
|
|
1150
1146
|
*/
|
|
1151
1147
|
export interface Schema$GoogleChromeManagementV1NetworkInfo {
|
|
1152
1148
|
/**
|
|
@@ -1155,7 +1151,7 @@ export namespace chromemanagement_v1 {
|
|
|
1155
1151
|
networkDevices?: Schema$GoogleChromeManagementV1NetworkDevice[];
|
|
1156
1152
|
}
|
|
1157
1153
|
/**
|
|
1158
|
-
* State of visible/configured networks. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportNetworkStatus](https://chromeenterprise.google/policies/#ReportNetworkStatus) * Data Collection Frequency: 60 minutes * 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: Yes * Reported for affiliated users only: Yes
|
|
1154
|
+
* State of visible/configured networks. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportNetworkStatus](https://chromeenterprise.google/policies/#ReportNetworkStatus) * Data Collection Frequency: 60 minutes * 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: Yes * Reported for affiliated users only: Yes * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
|
|
1159
1155
|
*/
|
|
1160
1156
|
export interface Schema$GoogleChromeManagementV1NetworkStatusReport {
|
|
1161
1157
|
/**
|
|
@@ -1216,7 +1212,7 @@ export namespace chromemanagement_v1 {
|
|
|
1216
1212
|
wifiPowerManagementEnabled?: boolean | null;
|
|
1217
1213
|
}
|
|
1218
1214
|
/**
|
|
1219
|
-
* Contains information regarding the current OS update status. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceOsUpdateStatus](https://chromeenterprise.google/policies/#ReportDeviceOsUpdateStatus) * 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
|
|
1215
|
+
* Contains information regarding the current OS update status. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceOsUpdateStatus](https://chromeenterprise.google/policies/#ReportDeviceOsUpdateStatus) * 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_OS_REPORT
|
|
1220
1216
|
*/
|
|
1221
1217
|
export interface Schema$GoogleChromeManagementV1OsUpdateStatus {
|
|
1222
1218
|
/**
|
|
@@ -1245,7 +1241,7 @@ export namespace chromemanagement_v1 {
|
|
|
1245
1241
|
updateState?: string | null;
|
|
1246
1242
|
}
|
|
1247
1243
|
/**
|
|
1248
|
-
* Peripherals report.
|
|
1244
|
+
* Peripherals report. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT
|
|
1249
1245
|
*/
|
|
1250
1246
|
export interface Schema$GoogleChromeManagementV1PeripheralsReport {
|
|
1251
1247
|
/**
|
|
@@ -1258,36 +1254,7 @@ export namespace chromemanagement_v1 {
|
|
|
1258
1254
|
usbPeripheralReport?: Schema$GoogleChromeManagementV1UsbPeripheralReport[];
|
|
1259
1255
|
}
|
|
1260
1256
|
/**
|
|
1261
|
-
*
|
|
1262
|
-
*/
|
|
1263
|
-
export interface Schema$GoogleChromeManagementV1PrinterReport {
|
|
1264
|
-
/**
|
|
1265
|
-
* Number of chrome devices that have been used to send print jobs to the specified printer.
|
|
1266
|
-
*/
|
|
1267
|
-
deviceCount?: string | null;
|
|
1268
|
-
/**
|
|
1269
|
-
* Number of print jobs sent to the printer.
|
|
1270
|
-
*/
|
|
1271
|
-
jobCount?: string | null;
|
|
1272
|
-
/**
|
|
1273
|
-
* Printer name.
|
|
1274
|
-
*/
|
|
1275
|
-
printer?: string | null;
|
|
1276
|
-
/**
|
|
1277
|
-
* Printer API ID.
|
|
1278
|
-
*/
|
|
1279
|
-
printerId?: string | null;
|
|
1280
|
-
/**
|
|
1281
|
-
* Printer model.
|
|
1282
|
-
*/
|
|
1283
|
-
printerModel?: string | null;
|
|
1284
|
-
/**
|
|
1285
|
-
* Number of users that have sent print jobs to the printer.
|
|
1286
|
-
*/
|
|
1287
|
-
userCount?: string | null;
|
|
1288
|
-
}
|
|
1289
|
-
/**
|
|
1290
|
-
* 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
|
|
1257
|
+
* 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
|
|
1291
1258
|
*/
|
|
1292
1259
|
export interface Schema$GoogleChromeManagementV1StorageInfo {
|
|
1293
1260
|
/**
|
|
@@ -1321,7 +1288,7 @@ export namespace chromemanagement_v1 {
|
|
|
1321
1288
|
volumeId?: string | null;
|
|
1322
1289
|
}
|
|
1323
1290
|
/**
|
|
1324
|
-
* 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
|
|
1291
|
+
* 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_REPORT
|
|
1325
1292
|
*/
|
|
1326
1293
|
export interface Schema$GoogleChromeManagementV1StorageStatusReport {
|
|
1327
1294
|
/**
|
|
@@ -1334,11 +1301,11 @@ export namespace chromemanagement_v1 {
|
|
|
1334
1301
|
reportTime?: string | null;
|
|
1335
1302
|
}
|
|
1336
1303
|
/**
|
|
1337
|
-
* `TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run out of buffer data for more than 5 seconds.
|
|
1304
|
+
* `TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run out of buffer data for more than 5 seconds. * Granular permission needed: TELEMETRY_API_AUDIO_REPORT
|
|
1338
1305
|
*/
|
|
1339
1306
|
export interface Schema$GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent {}
|
|
1340
1307
|
/**
|
|
1341
|
-
* Telemetry data collected from a managed device.
|
|
1308
|
+
* Telemetry data collected from a managed device. * Granular permission needed: TELEMETRY_API_DEVICE
|
|
1342
1309
|
*/
|
|
1343
1310
|
export interface Schema$GoogleChromeManagementV1TelemetryDevice {
|
|
1344
1311
|
/**
|
|
@@ -1381,6 +1348,14 @@ export namespace chromemanagement_v1 {
|
|
|
1381
1348
|
* Output only. Graphics reports collected periodically.
|
|
1382
1349
|
*/
|
|
1383
1350
|
graphicsStatusReport?: Schema$GoogleChromeManagementV1GraphicsStatusReport[];
|
|
1351
|
+
/**
|
|
1352
|
+
* Output only. Heartbeat status report containing timestamps periodically sorted in decreasing order of report_time
|
|
1353
|
+
*/
|
|
1354
|
+
heartbeatStatusReport?: Schema$GoogleChromeManagementV1HeartbeatStatusReport[];
|
|
1355
|
+
/**
|
|
1356
|
+
* Output only. Kiosk app status report for the kiosk device
|
|
1357
|
+
*/
|
|
1358
|
+
kioskAppStatusReport?: Schema$GoogleChromeManagementV1KioskAppStatusReport[];
|
|
1384
1359
|
/**
|
|
1385
1360
|
* Output only. Information regarding memory specs for the device.
|
|
1386
1361
|
*/
|
|
@@ -1435,7 +1410,7 @@ export namespace chromemanagement_v1 {
|
|
|
1435
1410
|
thunderboltInfo?: Schema$GoogleChromeManagementV1ThunderboltInfo[];
|
|
1436
1411
|
}
|
|
1437
1412
|
/**
|
|
1438
|
-
* Information about a device associated with telemetry data.
|
|
1413
|
+
* Information about a device associated with telemetry data. * Granular Permission needed: TELEMETRY_API_DEVICE
|
|
1439
1414
|
*/
|
|
1440
1415
|
export interface Schema$GoogleChromeManagementV1TelemetryDeviceInfo {
|
|
1441
1416
|
/**
|
|
@@ -1485,7 +1460,7 @@ export namespace chromemanagement_v1 {
|
|
|
1485
1460
|
user?: Schema$GoogleChromeManagementV1TelemetryUserInfo;
|
|
1486
1461
|
}
|
|
1487
1462
|
/**
|
|
1488
|
-
* 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
|
|
1463
|
+
* 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
|
|
1489
1464
|
*/
|
|
1490
1465
|
export interface Schema$GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent {
|
|
1491
1466
|
/**
|
|
@@ -1498,7 +1473,7 @@ export namespace chromemanagement_v1 {
|
|
|
1498
1473
|
httpsLatencyState?: string | null;
|
|
1499
1474
|
}
|
|
1500
1475
|
/**
|
|
1501
|
-
* `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or removed.
|
|
1476
|
+
* `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or removed. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT
|
|
1502
1477
|
*/
|
|
1503
1478
|
export interface Schema$GoogleChromeManagementV1TelemetryUsbPeripheralsEvent {
|
|
1504
1479
|
/**
|
|
@@ -1507,7 +1482,7 @@ export namespace chromemanagement_v1 {
|
|
|
1507
1482
|
usbPeripheralReport?: Schema$GoogleChromeManagementV1UsbPeripheralReport[];
|
|
1508
1483
|
}
|
|
1509
1484
|
/**
|
|
1510
|
-
* Telemetry data collected from a managed user.
|
|
1485
|
+
* Telemetry data collected from a managed user. * Granular permission needed: TELEMETRY_API_USER
|
|
1511
1486
|
*/
|
|
1512
1487
|
export interface Schema$GoogleChromeManagementV1TelemetryUser {
|
|
1513
1488
|
/**
|
|
@@ -1536,7 +1511,7 @@ export namespace chromemanagement_v1 {
|
|
|
1536
1511
|
userId?: string | null;
|
|
1537
1512
|
}
|
|
1538
1513
|
/**
|
|
1539
|
-
* Telemetry data collected for a managed user and device.
|
|
1514
|
+
* Telemetry data collected for a managed user and device. * Granular permission needed: TELEMETRY_API_DEVICE
|
|
1540
1515
|
*/
|
|
1541
1516
|
export interface Schema$GoogleChromeManagementV1TelemetryUserDevice {
|
|
1542
1517
|
/**
|
|
@@ -1553,7 +1528,7 @@ export namespace chromemanagement_v1 {
|
|
|
1553
1528
|
peripheralsReport?: Schema$GoogleChromeManagementV1PeripheralsReport[];
|
|
1554
1529
|
}
|
|
1555
1530
|
/**
|
|
1556
|
-
* Information about a user associated with telemetry data.
|
|
1531
|
+
* Information about a user associated with telemetry data. * Granular permission needed: TELEMETRY_API_USER
|
|
1557
1532
|
*/
|
|
1558
1533
|
export interface Schema$GoogleChromeManagementV1TelemetryUserInfo {
|
|
1559
1534
|
/**
|
|
@@ -1566,7 +1541,7 @@ export namespace chromemanagement_v1 {
|
|
|
1566
1541
|
orgUnitId?: string | null;
|
|
1567
1542
|
}
|
|
1568
1543
|
/**
|
|
1569
|
-
* Thunderbolt bus info. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDeviceSecurityStatus](https://chromeenterprise.google/policies/#ReportDeviceSecurityStatus) * Data Collection Frequency: At device startup * Default Data Reporting Frequency: At device startup - Policy Controlled: No * 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
|
|
1544
|
+
* Thunderbolt bus info. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDeviceSecurityStatus](https://chromeenterprise.google/policies/#ReportDeviceSecurityStatus) * Data Collection Frequency: At device startup * Default Data Reporting Frequency: At device startup - Policy Controlled: No * 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 * Granular permission needed: TELEMETRY_API_BUS_DEVICE_INFO
|
|
1570
1545
|
*/
|
|
1571
1546
|
export interface Schema$GoogleChromeManagementV1ThunderboltInfo {
|
|
1572
1547
|
/**
|
|
@@ -1662,31 +1637,6 @@ export namespace chromemanagement_v1 {
|
|
|
1662
1637
|
*/
|
|
1663
1638
|
vid?: number | null;
|
|
1664
1639
|
}
|
|
1665
|
-
/**
|
|
1666
|
-
* 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.
|
|
1667
|
-
*/
|
|
1668
|
-
export interface Schema$GoogleChromeManagementV1UserPrintReport {
|
|
1669
|
-
/**
|
|
1670
|
-
* Number of chrome devices that have been used to initiate print jobs by the user.
|
|
1671
|
-
*/
|
|
1672
|
-
deviceCount?: string | null;
|
|
1673
|
-
/**
|
|
1674
|
-
* Number of print jobs initiated by the user.
|
|
1675
|
-
*/
|
|
1676
|
-
jobCount?: string | null;
|
|
1677
|
-
/**
|
|
1678
|
-
* Number of printers used by the user.
|
|
1679
|
-
*/
|
|
1680
|
-
printerCount?: string | null;
|
|
1681
|
-
/**
|
|
1682
|
-
* The primary e-mail address of the user.
|
|
1683
|
-
*/
|
|
1684
|
-
userEmail?: string | null;
|
|
1685
|
-
/**
|
|
1686
|
-
* The unique Directory API ID of the user.
|
|
1687
|
-
*/
|
|
1688
|
-
userId?: string | null;
|
|
1689
|
-
}
|
|
1690
1640
|
/**
|
|
1691
1641
|
* 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).
|
|
1692
1642
|
*/
|
|
@@ -3346,311 +3296,6 @@ export namespace chromemanagement_v1 {
|
|
|
3346
3296
|
}
|
|
3347
3297
|
}
|
|
3348
3298
|
|
|
3349
|
-
/**
|
|
3350
|
-
* Get a summary of printing done by each printer.
|
|
3351
|
-
* @example
|
|
3352
|
-
* ```js
|
|
3353
|
-
* // Before running the sample:
|
|
3354
|
-
* // - Enable the API at:
|
|
3355
|
-
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
3356
|
-
* // - Login into gcloud by running:
|
|
3357
|
-
* // `$ gcloud auth application-default login`
|
|
3358
|
-
* // - Install the npm module by running:
|
|
3359
|
-
* // `$ npm install googleapis`
|
|
3360
|
-
*
|
|
3361
|
-
* const {google} = require('googleapis');
|
|
3362
|
-
* const chromemanagement = google.chromemanagement('v1');
|
|
3363
|
-
*
|
|
3364
|
-
* async function main() {
|
|
3365
|
-
* const auth = new google.auth.GoogleAuth({
|
|
3366
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3367
|
-
* scopes: [
|
|
3368
|
-
* 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
|
|
3369
|
-
* ],
|
|
3370
|
-
* });
|
|
3371
|
-
*
|
|
3372
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
3373
|
-
* const authClient = await auth.getClient();
|
|
3374
|
-
* google.options({auth: authClient});
|
|
3375
|
-
*
|
|
3376
|
-
* // Do the magic
|
|
3377
|
-
* const res = await chromemanagement.customers.reports.countPrintJobsByPrinter({
|
|
3378
|
-
* // Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
|
|
3379
|
-
* customer: 'customers/my-customer',
|
|
3380
|
-
* // 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
|
|
3381
|
-
* filter: 'placeholder-value',
|
|
3382
|
-
* // 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
|
|
3383
|
-
* orderBy: 'placeholder-value',
|
|
3384
|
-
* // Maximum number of results to return. Maximum and default are 100.
|
|
3385
|
-
* pageSize: 'placeholder-value',
|
|
3386
|
-
* // Token to specify the page of the response to be returned.
|
|
3387
|
-
* pageToken: 'placeholder-value',
|
|
3388
|
-
* // 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.
|
|
3389
|
-
* printerOrgUnitId: 'placeholder-value',
|
|
3390
|
-
* });
|
|
3391
|
-
* console.log(res.data);
|
|
3392
|
-
*
|
|
3393
|
-
* // Example response
|
|
3394
|
-
* // {
|
|
3395
|
-
* // "nextPageToken": "my_nextPageToken",
|
|
3396
|
-
* // "printerReports": [],
|
|
3397
|
-
* // "totalSize": "my_totalSize"
|
|
3398
|
-
* // }
|
|
3399
|
-
* }
|
|
3400
|
-
*
|
|
3401
|
-
* main().catch(e => {
|
|
3402
|
-
* console.error(e);
|
|
3403
|
-
* throw e;
|
|
3404
|
-
* });
|
|
3405
|
-
*
|
|
3406
|
-
* ```
|
|
3407
|
-
*
|
|
3408
|
-
* @param params - Parameters for request
|
|
3409
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3410
|
-
* @param callback - Optional callback that handles the response.
|
|
3411
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3412
|
-
*/
|
|
3413
|
-
countPrintJobsByPrinter(
|
|
3414
|
-
params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
|
|
3415
|
-
options: StreamMethodOptions
|
|
3416
|
-
): GaxiosPromise<Readable>;
|
|
3417
|
-
countPrintJobsByPrinter(
|
|
3418
|
-
params?: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
|
|
3419
|
-
options?: MethodOptions
|
|
3420
|
-
): GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>;
|
|
3421
|
-
countPrintJobsByPrinter(
|
|
3422
|
-
params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
|
|
3423
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3424
|
-
callback: BodyResponseCallback<Readable>
|
|
3425
|
-
): void;
|
|
3426
|
-
countPrintJobsByPrinter(
|
|
3427
|
-
params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
|
|
3428
|
-
options:
|
|
3429
|
-
| MethodOptions
|
|
3430
|
-
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>,
|
|
3431
|
-
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
3432
|
-
): void;
|
|
3433
|
-
countPrintJobsByPrinter(
|
|
3434
|
-
params: Params$Resource$Customers$Reports$Countprintjobsbyprinter,
|
|
3435
|
-
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
3436
|
-
): void;
|
|
3437
|
-
countPrintJobsByPrinter(
|
|
3438
|
-
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
3439
|
-
): void;
|
|
3440
|
-
countPrintJobsByPrinter(
|
|
3441
|
-
paramsOrCallback?:
|
|
3442
|
-
| Params$Resource$Customers$Reports$Countprintjobsbyprinter
|
|
3443
|
-
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
3444
|
-
| BodyResponseCallback<Readable>,
|
|
3445
|
-
optionsOrCallback?:
|
|
3446
|
-
| MethodOptions
|
|
3447
|
-
| StreamMethodOptions
|
|
3448
|
-
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
3449
|
-
| BodyResponseCallback<Readable>,
|
|
3450
|
-
callback?:
|
|
3451
|
-
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
3452
|
-
| BodyResponseCallback<Readable>
|
|
3453
|
-
):
|
|
3454
|
-
| void
|
|
3455
|
-
| GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>
|
|
3456
|
-
| GaxiosPromise<Readable> {
|
|
3457
|
-
let params = (paramsOrCallback ||
|
|
3458
|
-
{}) as Params$Resource$Customers$Reports$Countprintjobsbyprinter;
|
|
3459
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3460
|
-
|
|
3461
|
-
if (typeof paramsOrCallback === 'function') {
|
|
3462
|
-
callback = paramsOrCallback;
|
|
3463
|
-
params =
|
|
3464
|
-
{} as Params$Resource$Customers$Reports$Countprintjobsbyprinter;
|
|
3465
|
-
options = {};
|
|
3466
|
-
}
|
|
3467
|
-
|
|
3468
|
-
if (typeof optionsOrCallback === 'function') {
|
|
3469
|
-
callback = optionsOrCallback;
|
|
3470
|
-
options = {};
|
|
3471
|
-
}
|
|
3472
|
-
|
|
3473
|
-
const rootUrl =
|
|
3474
|
-
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
3475
|
-
const parameters = {
|
|
3476
|
-
options: Object.assign(
|
|
3477
|
-
{
|
|
3478
|
-
url: (
|
|
3479
|
-
rootUrl + '/v1/{+customer}/reports:countPrintJobsByPrinter'
|
|
3480
|
-
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3481
|
-
method: 'GET',
|
|
3482
|
-
},
|
|
3483
|
-
options
|
|
3484
|
-
),
|
|
3485
|
-
params,
|
|
3486
|
-
requiredParams: ['customer'],
|
|
3487
|
-
pathParams: ['customer'],
|
|
3488
|
-
context: this.context,
|
|
3489
|
-
};
|
|
3490
|
-
if (callback) {
|
|
3491
|
-
createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>(
|
|
3492
|
-
parameters,
|
|
3493
|
-
callback as BodyResponseCallback<unknown>
|
|
3494
|
-
);
|
|
3495
|
-
} else {
|
|
3496
|
-
return createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByPrinterResponse>(
|
|
3497
|
-
parameters
|
|
3498
|
-
);
|
|
3499
|
-
}
|
|
3500
|
-
}
|
|
3501
|
-
|
|
3502
|
-
/**
|
|
3503
|
-
* Get a summary of printing done by each user.
|
|
3504
|
-
* @example
|
|
3505
|
-
* ```js
|
|
3506
|
-
* // Before running the sample:
|
|
3507
|
-
* // - Enable the API at:
|
|
3508
|
-
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
3509
|
-
* // - Login into gcloud by running:
|
|
3510
|
-
* // `$ gcloud auth application-default login`
|
|
3511
|
-
* // - Install the npm module by running:
|
|
3512
|
-
* // `$ npm install googleapis`
|
|
3513
|
-
*
|
|
3514
|
-
* const {google} = require('googleapis');
|
|
3515
|
-
* const chromemanagement = google.chromemanagement('v1');
|
|
3516
|
-
*
|
|
3517
|
-
* async function main() {
|
|
3518
|
-
* const auth = new google.auth.GoogleAuth({
|
|
3519
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3520
|
-
* scopes: [
|
|
3521
|
-
* 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
|
|
3522
|
-
* ],
|
|
3523
|
-
* });
|
|
3524
|
-
*
|
|
3525
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
3526
|
-
* const authClient = await auth.getClient();
|
|
3527
|
-
* google.options({auth: authClient});
|
|
3528
|
-
*
|
|
3529
|
-
* // Do the magic
|
|
3530
|
-
* const res = await chromemanagement.customers.reports.countPrintJobsByUser({
|
|
3531
|
-
* // Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
|
|
3532
|
-
* customer: 'customers/my-customer',
|
|
3533
|
-
* // 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
|
|
3534
|
-
* filter: 'placeholder-value',
|
|
3535
|
-
* // 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
|
|
3536
|
-
* orderBy: 'placeholder-value',
|
|
3537
|
-
* // Maximum number of results to return. Maximum and default are 100.
|
|
3538
|
-
* pageSize: 'placeholder-value',
|
|
3539
|
-
* // Token to specify the page of the response to be returned.
|
|
3540
|
-
* pageToken: 'placeholder-value',
|
|
3541
|
-
* // 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.
|
|
3542
|
-
* printerOrgUnitId: 'placeholder-value',
|
|
3543
|
-
* });
|
|
3544
|
-
* console.log(res.data);
|
|
3545
|
-
*
|
|
3546
|
-
* // Example response
|
|
3547
|
-
* // {
|
|
3548
|
-
* // "nextPageToken": "my_nextPageToken",
|
|
3549
|
-
* // "totalSize": "my_totalSize",
|
|
3550
|
-
* // "userPrintReports": []
|
|
3551
|
-
* // }
|
|
3552
|
-
* }
|
|
3553
|
-
*
|
|
3554
|
-
* main().catch(e => {
|
|
3555
|
-
* console.error(e);
|
|
3556
|
-
* throw e;
|
|
3557
|
-
* });
|
|
3558
|
-
*
|
|
3559
|
-
* ```
|
|
3560
|
-
*
|
|
3561
|
-
* @param params - Parameters for request
|
|
3562
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3563
|
-
* @param callback - Optional callback that handles the response.
|
|
3564
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3565
|
-
*/
|
|
3566
|
-
countPrintJobsByUser(
|
|
3567
|
-
params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
|
|
3568
|
-
options: StreamMethodOptions
|
|
3569
|
-
): GaxiosPromise<Readable>;
|
|
3570
|
-
countPrintJobsByUser(
|
|
3571
|
-
params?: Params$Resource$Customers$Reports$Countprintjobsbyuser,
|
|
3572
|
-
options?: MethodOptions
|
|
3573
|
-
): GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>;
|
|
3574
|
-
countPrintJobsByUser(
|
|
3575
|
-
params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
|
|
3576
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3577
|
-
callback: BodyResponseCallback<Readable>
|
|
3578
|
-
): void;
|
|
3579
|
-
countPrintJobsByUser(
|
|
3580
|
-
params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
|
|
3581
|
-
options:
|
|
3582
|
-
| MethodOptions
|
|
3583
|
-
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>,
|
|
3584
|
-
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3585
|
-
): void;
|
|
3586
|
-
countPrintJobsByUser(
|
|
3587
|
-
params: Params$Resource$Customers$Reports$Countprintjobsbyuser,
|
|
3588
|
-
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3589
|
-
): void;
|
|
3590
|
-
countPrintJobsByUser(
|
|
3591
|
-
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3592
|
-
): void;
|
|
3593
|
-
countPrintJobsByUser(
|
|
3594
|
-
paramsOrCallback?:
|
|
3595
|
-
| Params$Resource$Customers$Reports$Countprintjobsbyuser
|
|
3596
|
-
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3597
|
-
| BodyResponseCallback<Readable>,
|
|
3598
|
-
optionsOrCallback?:
|
|
3599
|
-
| MethodOptions
|
|
3600
|
-
| StreamMethodOptions
|
|
3601
|
-
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3602
|
-
| BodyResponseCallback<Readable>,
|
|
3603
|
-
callback?:
|
|
3604
|
-
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3605
|
-
| BodyResponseCallback<Readable>
|
|
3606
|
-
):
|
|
3607
|
-
| void
|
|
3608
|
-
| GaxiosPromise<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>
|
|
3609
|
-
| GaxiosPromise<Readable> {
|
|
3610
|
-
let params = (paramsOrCallback ||
|
|
3611
|
-
{}) as Params$Resource$Customers$Reports$Countprintjobsbyuser;
|
|
3612
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3613
|
-
|
|
3614
|
-
if (typeof paramsOrCallback === 'function') {
|
|
3615
|
-
callback = paramsOrCallback;
|
|
3616
|
-
params = {} as Params$Resource$Customers$Reports$Countprintjobsbyuser;
|
|
3617
|
-
options = {};
|
|
3618
|
-
}
|
|
3619
|
-
|
|
3620
|
-
if (typeof optionsOrCallback === 'function') {
|
|
3621
|
-
callback = optionsOrCallback;
|
|
3622
|
-
options = {};
|
|
3623
|
-
}
|
|
3624
|
-
|
|
3625
|
-
const rootUrl =
|
|
3626
|
-
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
3627
|
-
const parameters = {
|
|
3628
|
-
options: Object.assign(
|
|
3629
|
-
{
|
|
3630
|
-
url: (
|
|
3631
|
-
rootUrl + '/v1/{+customer}/reports:countPrintJobsByUser'
|
|
3632
|
-
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3633
|
-
method: 'GET',
|
|
3634
|
-
},
|
|
3635
|
-
options
|
|
3636
|
-
),
|
|
3637
|
-
params,
|
|
3638
|
-
requiredParams: ['customer'],
|
|
3639
|
-
pathParams: ['customer'],
|
|
3640
|
-
context: this.context,
|
|
3641
|
-
};
|
|
3642
|
-
if (callback) {
|
|
3643
|
-
createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>(
|
|
3644
|
-
parameters,
|
|
3645
|
-
callback as BodyResponseCallback<unknown>
|
|
3646
|
-
);
|
|
3647
|
-
} else {
|
|
3648
|
-
return createAPIRequest<Schema$GoogleChromeManagementV1CountPrintJobsByUserResponse>(
|
|
3649
|
-
parameters
|
|
3650
|
-
);
|
|
3651
|
-
}
|
|
3652
|
-
}
|
|
3653
|
-
|
|
3654
3299
|
/**
|
|
3655
3300
|
* Generate report of managed Chrome browser devices that have a specified app installed.
|
|
3656
3301
|
* @example
|
|
@@ -3919,60 +3564,6 @@ export namespace chromemanagement_v1 {
|
|
|
3919
3564
|
*/
|
|
3920
3565
|
pageToken?: string;
|
|
3921
3566
|
}
|
|
3922
|
-
export interface Params$Resource$Customers$Reports$Countprintjobsbyprinter
|
|
3923
|
-
extends StandardParameters {
|
|
3924
|
-
/**
|
|
3925
|
-
* Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
|
|
3926
|
-
*/
|
|
3927
|
-
customer?: string;
|
|
3928
|
-
/**
|
|
3929
|
-
* 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
|
|
3930
|
-
*/
|
|
3931
|
-
filter?: string;
|
|
3932
|
-
/**
|
|
3933
|
-
* 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
|
|
3934
|
-
*/
|
|
3935
|
-
orderBy?: string;
|
|
3936
|
-
/**
|
|
3937
|
-
* Maximum number of results to return. Maximum and default are 100.
|
|
3938
|
-
*/
|
|
3939
|
-
pageSize?: number;
|
|
3940
|
-
/**
|
|
3941
|
-
* Token to specify the page of the response to be returned.
|
|
3942
|
-
*/
|
|
3943
|
-
pageToken?: string;
|
|
3944
|
-
/**
|
|
3945
|
-
* 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.
|
|
3946
|
-
*/
|
|
3947
|
-
printerOrgUnitId?: string;
|
|
3948
|
-
}
|
|
3949
|
-
export interface Params$Resource$Customers$Reports$Countprintjobsbyuser
|
|
3950
|
-
extends StandardParameters {
|
|
3951
|
-
/**
|
|
3952
|
-
* Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request.
|
|
3953
|
-
*/
|
|
3954
|
-
customer?: string;
|
|
3955
|
-
/**
|
|
3956
|
-
* 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
|
|
3957
|
-
*/
|
|
3958
|
-
filter?: string;
|
|
3959
|
-
/**
|
|
3960
|
-
* 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
|
|
3961
|
-
*/
|
|
3962
|
-
orderBy?: string;
|
|
3963
|
-
/**
|
|
3964
|
-
* Maximum number of results to return. Maximum and default are 100.
|
|
3965
|
-
*/
|
|
3966
|
-
pageSize?: number;
|
|
3967
|
-
/**
|
|
3968
|
-
* Token to specify the page of the response to be returned.
|
|
3969
|
-
*/
|
|
3970
|
-
pageToken?: string;
|
|
3971
|
-
/**
|
|
3972
|
-
* 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.
|
|
3973
|
-
*/
|
|
3974
|
-
printerOrgUnitId?: string;
|
|
3975
|
-
}
|
|
3976
3567
|
export interface Params$Resource$Customers$Reports$Findinstalledappdevices
|
|
3977
3568
|
extends StandardParameters {
|
|
3978
3569
|
/**
|
|
@@ -4076,6 +3667,8 @@ export namespace chromemanagement_v1 {
|
|
|
4076
3667
|
* // "deviceId": "my_deviceId",
|
|
4077
3668
|
* // "graphicsInfo": {},
|
|
4078
3669
|
* // "graphicsStatusReport": [],
|
|
3670
|
+
* // "heartbeatStatusReport": [],
|
|
3671
|
+
* // "kioskAppStatusReport": [],
|
|
4079
3672
|
* // "memoryInfo": {},
|
|
4080
3673
|
* // "memoryStatusReport": [],
|
|
4081
3674
|
* // "name": "my_name",
|
|
@@ -4411,7 +4004,7 @@ export namespace chromemanagement_v1 {
|
|
|
4411
4004
|
*
|
|
4412
4005
|
* // Do the magic
|
|
4413
4006
|
* const res = await chromemanagement.customers.telemetry.events.list({
|
|
4414
|
-
* // Optional. Only include resources that match the filter. Supported filter fields: - device_id - user_id - device_org_unit_id - user_org_unit_id - timestamp - event_type The "timestamp" filter accepts either the Unix Epoch milliseconds format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to nine fractional digits. Both formats should be surrounded by simple double quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z", "1679283943823".
|
|
4007
|
+
* // Optional. Only include resources that match the filter. Although this parameter is currently optional, this parameter will be required- please specify at least 1 event type. Supported filter fields: - device_id - user_id - device_org_unit_id - user_org_unit_id - timestamp - event_type The "timestamp" filter accepts either the Unix Epoch milliseconds format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to nine fractional digits. Both formats should be surrounded by simple double quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z", "1679283943823".
|
|
4415
4008
|
* filter: 'placeholder-value',
|
|
4416
4009
|
* // Optional. Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
4417
4010
|
* pageSize: 'placeholder-value',
|
|
@@ -4419,7 +4012,7 @@ export namespace chromemanagement_v1 {
|
|
|
4419
4012
|
* pageToken: 'placeholder-value',
|
|
4420
4013
|
* // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
4421
4014
|
* parent: 'customers/my-customer',
|
|
4422
|
-
* // Required. Read mask to specify which fields to return.
|
|
4015
|
+
* // Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required.
|
|
4423
4016
|
* readMask: 'placeholder-value',
|
|
4424
4017
|
* });
|
|
4425
4018
|
* console.log(res.data);
|
|
@@ -4536,7 +4129,7 @@ export namespace chromemanagement_v1 {
|
|
|
4536
4129
|
export interface Params$Resource$Customers$Telemetry$Events$List
|
|
4537
4130
|
extends StandardParameters {
|
|
4538
4131
|
/**
|
|
4539
|
-
* Optional. Only include resources that match the filter. Supported filter fields: - device_id - user_id - device_org_unit_id - user_org_unit_id - timestamp - event_type The "timestamp" filter accepts either the Unix Epoch milliseconds format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to nine fractional digits. Both formats should be surrounded by simple double quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z", "1679283943823".
|
|
4132
|
+
* Optional. Only include resources that match the filter. Although this parameter is currently optional, this parameter will be required- please specify at least 1 event type. Supported filter fields: - device_id - user_id - device_org_unit_id - user_org_unit_id - timestamp - event_type The "timestamp" filter accepts either the Unix Epoch milliseconds format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to nine fractional digits. Both formats should be surrounded by simple double quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z", "1679283943823".
|
|
4540
4133
|
*/
|
|
4541
4134
|
filter?: string;
|
|
4542
4135
|
/**
|
|
@@ -4552,7 +4145,7 @@ export namespace chromemanagement_v1 {
|
|
|
4552
4145
|
*/
|
|
4553
4146
|
parent?: string;
|
|
4554
4147
|
/**
|
|
4555
|
-
* Required. Read mask to specify which fields to return.
|
|
4148
|
+
* Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required.
|
|
4556
4149
|
*/
|
|
4557
4150
|
readMask?: string;
|
|
4558
4151
|
}
|