@googleapis/chromemanagement 2.1.0 → 3.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 +32 -0
- package/build/index.js +4 -3
- package/build/index.js.map +1 -1
- package/build/v1.d.ts +602 -22
- package/build/v1.js +156 -18
- package/build/v1.js.map +1 -1
- package/package.json +6 -6
- package/v1.ts +1061 -138
package/v1.ts
CHANGED
|
@@ -224,7 +224,7 @@ export namespace chromemanagement_v1 {
|
|
|
224
224
|
type?: string | null;
|
|
225
225
|
}
|
|
226
226
|
/**
|
|
227
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
|
261
261
|
*/
|
|
262
262
|
export interface Schema$GoogleChromeManagementV1BatteryInfo {
|
|
263
263
|
/**
|
|
@@ -286,7 +286,7 @@ export namespace chromemanagement_v1 {
|
|
|
286
286
|
technology?: string | null;
|
|
287
287
|
}
|
|
288
288
|
/**
|
|
289
|
-
* Sampling data for battery.
|
|
289
|
+
* Sampling 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
|
|
290
290
|
*/
|
|
291
291
|
export interface Schema$GoogleChromeManagementV1BatterySampleReport {
|
|
292
292
|
/**
|
|
@@ -323,7 +323,7 @@ export namespace chromemanagement_v1 {
|
|
|
323
323
|
voltage?: string | null;
|
|
324
324
|
}
|
|
325
325
|
/**
|
|
326
|
-
* Status data for battery.
|
|
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
|
|
327
327
|
*/
|
|
328
328
|
export interface Schema$GoogleChromeManagementV1BatteryStatusReport {
|
|
329
329
|
/**
|
|
@@ -351,6 +351,35 @@ export namespace chromemanagement_v1 {
|
|
|
351
351
|
*/
|
|
352
352
|
serialNumber?: string | null;
|
|
353
353
|
}
|
|
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
|
|
356
|
+
*/
|
|
357
|
+
export interface Schema$GoogleChromeManagementV1BootPerformanceReport {
|
|
358
|
+
/**
|
|
359
|
+
* Total time to boot up.
|
|
360
|
+
*/
|
|
361
|
+
bootUpDuration?: string | null;
|
|
362
|
+
/**
|
|
363
|
+
* The timestamp when power came on.
|
|
364
|
+
*/
|
|
365
|
+
bootUpTime?: string | null;
|
|
366
|
+
/**
|
|
367
|
+
* Timestamp when the report was collected.
|
|
368
|
+
*/
|
|
369
|
+
reportTime?: string | null;
|
|
370
|
+
/**
|
|
371
|
+
* Total time since shutdown start to power off.
|
|
372
|
+
*/
|
|
373
|
+
shutdownDuration?: string | null;
|
|
374
|
+
/**
|
|
375
|
+
* The shutdown reason.
|
|
376
|
+
*/
|
|
377
|
+
shutdownReason?: string | null;
|
|
378
|
+
/**
|
|
379
|
+
* The timestamp when shutdown.
|
|
380
|
+
*/
|
|
381
|
+
shutdownTime?: string | null;
|
|
382
|
+
}
|
|
354
383
|
/**
|
|
355
384
|
* Describes a browser version and its install count.
|
|
356
385
|
*/
|
|
@@ -388,6 +417,10 @@ export namespace chromemanagement_v1 {
|
|
|
388
417
|
* Output only. Whether the app or extension is in a published state in the Chrome Web Store.
|
|
389
418
|
*/
|
|
390
419
|
isCwsHosted?: boolean | null;
|
|
420
|
+
/**
|
|
421
|
+
* Output only. Whether an app supports policy for extensions.
|
|
422
|
+
*/
|
|
423
|
+
isExtensionPolicySupported?: boolean | null;
|
|
391
424
|
/**
|
|
392
425
|
* Output only. Whether the app is only for Kiosk mode on ChromeOS devices
|
|
393
426
|
*/
|
|
@@ -493,6 +526,61 @@ export namespace chromemanagement_v1 {
|
|
|
493
526
|
*/
|
|
494
527
|
totalSize?: number | null;
|
|
495
528
|
}
|
|
529
|
+
/**
|
|
530
|
+
* Response containing a list of devices expiring in each month of a selected time frame. Counts are grouped by model and Auto Update Expiration date.
|
|
531
|
+
*/
|
|
532
|
+
export interface Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse {
|
|
533
|
+
/**
|
|
534
|
+
* The list of reports sorted by auto update expiration date in ascending order.
|
|
535
|
+
*/
|
|
536
|
+
deviceAueCountReports?: Schema$GoogleChromeManagementV1DeviceAueCountReport[];
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* Response containing counts for devices that need attention.
|
|
540
|
+
*/
|
|
541
|
+
export interface Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse {
|
|
542
|
+
/**
|
|
543
|
+
* Number of ChromeOS devices have not synced policies in the past 28 days.
|
|
544
|
+
*/
|
|
545
|
+
noRecentPolicySyncCount?: string | null;
|
|
546
|
+
/**
|
|
547
|
+
* Number of ChromeOS devices that have not seen any user activity in the past 28 days.
|
|
548
|
+
*/
|
|
549
|
+
noRecentUserActivityCount?: string | null;
|
|
550
|
+
/**
|
|
551
|
+
* Number of devices whose OS version is not compliant.
|
|
552
|
+
*/
|
|
553
|
+
osVersionNotCompliantCount?: string | null;
|
|
554
|
+
/**
|
|
555
|
+
* Number of devices that are pending an OS update.
|
|
556
|
+
*/
|
|
557
|
+
pendingUpdate?: string | null;
|
|
558
|
+
/**
|
|
559
|
+
* Number of devices that are unable to apply a policy due to an OS version mismatch.
|
|
560
|
+
*/
|
|
561
|
+
unsupportedPolicyCount?: string | null;
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
* Response containing a list of devices with a specific type of hardware specification from the requested hardware type.
|
|
565
|
+
*/
|
|
566
|
+
export interface Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse {
|
|
567
|
+
/**
|
|
568
|
+
* The DeviceHardwareCountReport for device cpu type (for example Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz).
|
|
569
|
+
*/
|
|
570
|
+
cpuReports?: Schema$GoogleChromeManagementV1DeviceHardwareCountReport[];
|
|
571
|
+
/**
|
|
572
|
+
* The DeviceHardwareCountReport for device memory amount in gigabytes (for example 16).
|
|
573
|
+
*/
|
|
574
|
+
memoryReports?: Schema$GoogleChromeManagementV1DeviceHardwareCountReport[];
|
|
575
|
+
/**
|
|
576
|
+
* The DeviceHardwareCountReport for device model type (for example Acer C7 Chromebook).
|
|
577
|
+
*/
|
|
578
|
+
modelReports?: Schema$GoogleChromeManagementV1DeviceHardwareCountReport[];
|
|
579
|
+
/**
|
|
580
|
+
* The DeviceHardwareCountReport for device storage amount in gigabytes (for example 128).
|
|
581
|
+
*/
|
|
582
|
+
storageReports?: Schema$GoogleChromeManagementV1DeviceHardwareCountReport[];
|
|
583
|
+
}
|
|
496
584
|
/**
|
|
497
585
|
* Response containing requested browser versions details and counts.
|
|
498
586
|
*/
|
|
@@ -528,11 +616,11 @@ export namespace chromemanagement_v1 {
|
|
|
528
616
|
totalSize?: number | null;
|
|
529
617
|
}
|
|
530
618
|
/**
|
|
531
|
-
* CPU
|
|
619
|
+
* 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
|
|
532
620
|
*/
|
|
533
621
|
export interface Schema$GoogleChromeManagementV1CpuInfo {
|
|
534
622
|
/**
|
|
535
|
-
* Output only.
|
|
623
|
+
* Output only. Architecture type for the CPU. * 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
|
|
536
624
|
*/
|
|
537
625
|
architecture?: string | null;
|
|
538
626
|
/**
|
|
@@ -553,7 +641,7 @@ export namespace chromemanagement_v1 {
|
|
|
553
641
|
model?: string | null;
|
|
554
642
|
}
|
|
555
643
|
/**
|
|
556
|
-
*
|
|
644
|
+
* 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
|
|
557
645
|
*/
|
|
558
646
|
export interface Schema$GoogleChromeManagementV1CpuStatusReport {
|
|
559
647
|
/**
|
|
@@ -574,7 +662,7 @@ export namespace chromemanagement_v1 {
|
|
|
574
662
|
sampleFrequency?: string | null;
|
|
575
663
|
}
|
|
576
664
|
/**
|
|
577
|
-
* CPU temperature of a device. Sampled per CPU core in Celsius
|
|
665
|
+
* CPU temperature of a device. Sampled per CPU core in Celsius. * 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
|
|
578
666
|
*/
|
|
579
667
|
export interface Schema$GoogleChromeManagementV1CpuTemperatureInfo {
|
|
580
668
|
/**
|
|
@@ -599,6 +687,44 @@ export namespace chromemanagement_v1 {
|
|
|
599
687
|
*/
|
|
600
688
|
machine?: string | null;
|
|
601
689
|
}
|
|
690
|
+
/**
|
|
691
|
+
* Report for CountChromeDevicesPerAueDateResponse, contains the count of devices of a specific model and auto update expiration range.
|
|
692
|
+
*/
|
|
693
|
+
export interface Schema$GoogleChromeManagementV1DeviceAueCountReport {
|
|
694
|
+
/**
|
|
695
|
+
* Enum value of month corresponding to the auto update expiration date in UTC time zone. If the device is already expired, this field is empty.
|
|
696
|
+
*/
|
|
697
|
+
aueMonth?: string | null;
|
|
698
|
+
/**
|
|
699
|
+
* Int value of year corresponding to the Auto Update Expiration date in UTC time zone. If the device is already expired, this field is empty.
|
|
700
|
+
*/
|
|
701
|
+
aueYear?: string | null;
|
|
702
|
+
/**
|
|
703
|
+
* Count of devices of this model.
|
|
704
|
+
*/
|
|
705
|
+
count?: string | null;
|
|
706
|
+
/**
|
|
707
|
+
* Boolean value for whether or not the device has already expired.
|
|
708
|
+
*/
|
|
709
|
+
expired?: boolean | null;
|
|
710
|
+
/**
|
|
711
|
+
* Public model name of the devices.
|
|
712
|
+
*/
|
|
713
|
+
model?: string | null;
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* Report for CountChromeDevicesPerHardwareSpecResponse, contains the count of devices with a unique hardware specification.
|
|
717
|
+
*/
|
|
718
|
+
export interface Schema$GoogleChromeManagementV1DeviceHardwareCountReport {
|
|
719
|
+
/**
|
|
720
|
+
* Public name of the hardware specification.
|
|
721
|
+
*/
|
|
722
|
+
bucket?: string | null;
|
|
723
|
+
/**
|
|
724
|
+
* Count of devices with a unique hardware specification.
|
|
725
|
+
*/
|
|
726
|
+
count?: string | null;
|
|
727
|
+
}
|
|
602
728
|
/**
|
|
603
729
|
* Status of the single storage device.
|
|
604
730
|
*/
|
|
@@ -716,7 +842,7 @@ export namespace chromemanagement_v1 {
|
|
|
716
842
|
driverVersion?: string | null;
|
|
717
843
|
}
|
|
718
844
|
/**
|
|
719
|
-
* Information of the graphics subsystem.
|
|
845
|
+
* 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
|
|
720
846
|
*/
|
|
721
847
|
export interface Schema$GoogleChromeManagementV1GraphicsInfo {
|
|
722
848
|
/**
|
|
@@ -725,7 +851,7 @@ export namespace chromemanagement_v1 {
|
|
|
725
851
|
adapterInfo?: Schema$GoogleChromeManagementV1GraphicsAdapterInfo;
|
|
726
852
|
}
|
|
727
853
|
/**
|
|
728
|
-
* Information of the graphics subsystem.
|
|
854
|
+
* 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: 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
|
|
729
855
|
*/
|
|
730
856
|
export interface Schema$GoogleChromeManagementV1GraphicsStatusReport {
|
|
731
857
|
/**
|
|
@@ -810,7 +936,20 @@ export namespace chromemanagement_v1 {
|
|
|
810
936
|
nextPageToken?: string | null;
|
|
811
937
|
}
|
|
812
938
|
/**
|
|
813
|
-
*
|
|
939
|
+
* Response message for listing telemetry events for a customer.
|
|
940
|
+
*/
|
|
941
|
+
export interface Schema$GoogleChromeManagementV1ListTelemetryEventsResponse {
|
|
942
|
+
/**
|
|
943
|
+
* Token to specify next page in the list.
|
|
944
|
+
*/
|
|
945
|
+
nextPageToken?: string | null;
|
|
946
|
+
/**
|
|
947
|
+
* Telemetry events returned in the response.
|
|
948
|
+
*/
|
|
949
|
+
telemetryEvents?: Schema$GoogleChromeManagementV1TelemetryEvent[];
|
|
950
|
+
}
|
|
951
|
+
/**
|
|
952
|
+
* 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
|
|
814
953
|
*/
|
|
815
954
|
export interface Schema$GoogleChromeManagementV1MemoryInfo {
|
|
816
955
|
/**
|
|
@@ -827,7 +966,7 @@ export namespace chromemanagement_v1 {
|
|
|
827
966
|
totalRamBytes?: string | null;
|
|
828
967
|
}
|
|
829
968
|
/**
|
|
830
|
-
* Contains samples of memory status reports.
|
|
969
|
+
* 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
|
|
831
970
|
*/
|
|
832
971
|
export interface Schema$GoogleChromeManagementV1MemoryStatusReport {
|
|
833
972
|
/**
|
|
@@ -848,7 +987,7 @@ export namespace chromemanagement_v1 {
|
|
|
848
987
|
systemRamFreeBytes?: string | null;
|
|
849
988
|
}
|
|
850
989
|
/**
|
|
851
|
-
*
|
|
990
|
+
* Details about the network device. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportNetworkDeviceConfiguration](https://chromeenterprise.google/policies/#ReportNetworkDeviceConfiguration) * Data Collection Frequency: At device startup * Default Data Reporting Frequency: At device startup - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: N/A
|
|
852
991
|
*/
|
|
853
992
|
export interface Schema$GoogleChromeManagementV1NetworkDevice {
|
|
854
993
|
/**
|
|
@@ -890,7 +1029,7 @@ export namespace chromemanagement_v1 {
|
|
|
890
1029
|
reportTime?: string | null;
|
|
891
1030
|
}
|
|
892
1031
|
/**
|
|
893
|
-
* Network
|
|
1032
|
+
* 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
|
|
894
1033
|
*/
|
|
895
1034
|
export interface Schema$GoogleChromeManagementV1NetworkInfo {
|
|
896
1035
|
/**
|
|
@@ -899,7 +1038,7 @@ export namespace chromemanagement_v1 {
|
|
|
899
1038
|
networkDevices?: Schema$GoogleChromeManagementV1NetworkDevice[];
|
|
900
1039
|
}
|
|
901
1040
|
/**
|
|
902
|
-
* State of visible/configured networks.
|
|
1041
|
+
* 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
|
|
903
1042
|
*/
|
|
904
1043
|
export interface Schema$GoogleChromeManagementV1NetworkStatusReport {
|
|
905
1044
|
/**
|
|
@@ -927,7 +1066,7 @@ export namespace chromemanagement_v1 {
|
|
|
927
1066
|
*/
|
|
928
1067
|
lanIpAddress?: string | null;
|
|
929
1068
|
/**
|
|
930
|
-
* Output only. Receiving bit rate measured in
|
|
1069
|
+
* Output only. Receiving bit rate measured in Megabits per second.
|
|
931
1070
|
*/
|
|
932
1071
|
receivingBitRateMbps?: string | null;
|
|
933
1072
|
/**
|
|
@@ -943,7 +1082,7 @@ export namespace chromemanagement_v1 {
|
|
|
943
1082
|
*/
|
|
944
1083
|
signalStrengthDbm?: number | null;
|
|
945
1084
|
/**
|
|
946
|
-
* Output only. Transmission bit rate measured in
|
|
1085
|
+
* Output only. Transmission bit rate measured in Megabits per second.
|
|
947
1086
|
*/
|
|
948
1087
|
transmissionBitRateMbps?: string | null;
|
|
949
1088
|
/**
|
|
@@ -960,7 +1099,7 @@ export namespace chromemanagement_v1 {
|
|
|
960
1099
|
wifiPowerManagementEnabled?: boolean | null;
|
|
961
1100
|
}
|
|
962
1101
|
/**
|
|
963
|
-
* Contains information regarding the current OS update status.
|
|
1102
|
+
* 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
|
|
964
1103
|
*/
|
|
965
1104
|
export interface Schema$GoogleChromeManagementV1OsUpdateStatus {
|
|
966
1105
|
/**
|
|
@@ -989,7 +1128,7 @@ export namespace chromemanagement_v1 {
|
|
|
989
1128
|
updateState?: string | null;
|
|
990
1129
|
}
|
|
991
1130
|
/**
|
|
992
|
-
* Status data for storage.
|
|
1131
|
+
* 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
|
|
993
1132
|
*/
|
|
994
1133
|
export interface Schema$GoogleChromeManagementV1StorageInfo {
|
|
995
1134
|
/**
|
|
@@ -1023,7 +1162,7 @@ export namespace chromemanagement_v1 {
|
|
|
1023
1162
|
volumeId?: string | null;
|
|
1024
1163
|
}
|
|
1025
1164
|
/**
|
|
1026
|
-
* Status data for storage.
|
|
1165
|
+
* 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
|
|
1027
1166
|
*/
|
|
1028
1167
|
export interface Schema$GoogleChromeManagementV1StorageStatusReport {
|
|
1029
1168
|
/**
|
|
@@ -1035,6 +1174,10 @@ export namespace chromemanagement_v1 {
|
|
|
1035
1174
|
*/
|
|
1036
1175
|
reportTime?: string | null;
|
|
1037
1176
|
}
|
|
1177
|
+
/**
|
|
1178
|
+
* `TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run out of buffer data for more than 5 seconds.
|
|
1179
|
+
*/
|
|
1180
|
+
export interface Schema$GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent {}
|
|
1038
1181
|
/**
|
|
1039
1182
|
* Telemetry data collected from a managed device.
|
|
1040
1183
|
*/
|
|
@@ -1051,6 +1194,10 @@ export namespace chromemanagement_v1 {
|
|
|
1051
1194
|
* Output only. Battery reports collected periodically.
|
|
1052
1195
|
*/
|
|
1053
1196
|
batteryStatusReport?: Schema$GoogleChromeManagementV1BatteryStatusReport[];
|
|
1197
|
+
/**
|
|
1198
|
+
* Output only. Boot performance reports of the device.
|
|
1199
|
+
*/
|
|
1200
|
+
bootPerformanceReport?: Schema$GoogleChromeManagementV1BootPerformanceReport[];
|
|
1054
1201
|
/**
|
|
1055
1202
|
* Output only. Information regarding CPU specs for the device.
|
|
1056
1203
|
*/
|
|
@@ -1125,7 +1272,96 @@ export namespace chromemanagement_v1 {
|
|
|
1125
1272
|
thunderboltInfo?: Schema$GoogleChromeManagementV1ThunderboltInfo[];
|
|
1126
1273
|
}
|
|
1127
1274
|
/**
|
|
1128
|
-
*
|
|
1275
|
+
* Information about a device associated with telemetry data.
|
|
1276
|
+
*/
|
|
1277
|
+
export interface Schema$GoogleChromeManagementV1TelemetryDeviceInfo {
|
|
1278
|
+
/**
|
|
1279
|
+
* Output only. 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.
|
|
1280
|
+
*/
|
|
1281
|
+
deviceId?: string | null;
|
|
1282
|
+
/**
|
|
1283
|
+
* Output only. Organization unit ID of the device.
|
|
1284
|
+
*/
|
|
1285
|
+
orgUnitId?: string | null;
|
|
1286
|
+
}
|
|
1287
|
+
/**
|
|
1288
|
+
* Telemetry data reported by a managed device.
|
|
1289
|
+
*/
|
|
1290
|
+
export interface Schema$GoogleChromeManagementV1TelemetryEvent {
|
|
1291
|
+
/**
|
|
1292
|
+
* Output only. Payload for audio severe underrun event. Present only when the `event_type` field is `AUDIO_SEVERE_UNDERRUN`.
|
|
1293
|
+
*/
|
|
1294
|
+
audioSevereUnderrunEvent?: Schema$GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent;
|
|
1295
|
+
/**
|
|
1296
|
+
* Output only. Information about the device associated with the event.
|
|
1297
|
+
*/
|
|
1298
|
+
device?: Schema$GoogleChromeManagementV1TelemetryDeviceInfo;
|
|
1299
|
+
/**
|
|
1300
|
+
* The event type of the current event.
|
|
1301
|
+
*/
|
|
1302
|
+
eventType?: string | null;
|
|
1303
|
+
/**
|
|
1304
|
+
* Output only. Payload for HTTPS latency change event. Present only when `event_type` is `NETWORK_HTTPS_LATENCY_CHANGE`.
|
|
1305
|
+
*/
|
|
1306
|
+
httpsLatencyChangeEvent?: Schema$GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent;
|
|
1307
|
+
/**
|
|
1308
|
+
* Output only. Resource name of the event.
|
|
1309
|
+
*/
|
|
1310
|
+
name?: string | null;
|
|
1311
|
+
/**
|
|
1312
|
+
* Output only. Payload for network connection state change event. Present only when `event_type` is `NETWORK_CONNECTION_STATE_CHANGE`.
|
|
1313
|
+
*/
|
|
1314
|
+
networkConnectionStateChangeEvent?: Schema$GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent;
|
|
1315
|
+
/**
|
|
1316
|
+
* Timestamp that represents when the event was reported.
|
|
1317
|
+
*/
|
|
1318
|
+
reportTime?: string | null;
|
|
1319
|
+
/**
|
|
1320
|
+
* Output only. Information about the user associated with the event.
|
|
1321
|
+
*/
|
|
1322
|
+
user?: Schema$GoogleChromeManagementV1TelemetryUserInfo;
|
|
1323
|
+
}
|
|
1324
|
+
/**
|
|
1325
|
+
* 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..
|
|
1326
|
+
*/
|
|
1327
|
+
export interface Schema$GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent {
|
|
1328
|
+
/**
|
|
1329
|
+
* HTTPS latency routine data that triggered the event.
|
|
1330
|
+
*/
|
|
1331
|
+
httpsLatencyRoutineData?: Schema$GoogleChromeManagementV1HttpsLatencyRoutineData;
|
|
1332
|
+
/**
|
|
1333
|
+
* Current HTTPS latency state.
|
|
1334
|
+
*/
|
|
1335
|
+
httpsLatencyState?: string | null;
|
|
1336
|
+
}
|
|
1337
|
+
/**
|
|
1338
|
+
* `TelemetryNetworkConnectionStateChangeEvent` is triggered on network connection state changes.
|
|
1339
|
+
*/
|
|
1340
|
+
export interface Schema$GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent {
|
|
1341
|
+
/**
|
|
1342
|
+
* Current connection state of the network.
|
|
1343
|
+
*/
|
|
1344
|
+
connectionState?: string | null;
|
|
1345
|
+
/**
|
|
1346
|
+
* Unique identifier of the network.
|
|
1347
|
+
*/
|
|
1348
|
+
guid?: string | null;
|
|
1349
|
+
}
|
|
1350
|
+
/**
|
|
1351
|
+
* Information about a user associated with telemetry data.
|
|
1352
|
+
*/
|
|
1353
|
+
export interface Schema$GoogleChromeManagementV1TelemetryUserInfo {
|
|
1354
|
+
/**
|
|
1355
|
+
* Output only. User's email.
|
|
1356
|
+
*/
|
|
1357
|
+
email?: string | null;
|
|
1358
|
+
/**
|
|
1359
|
+
* Output only. Organization unit ID of the user.
|
|
1360
|
+
*/
|
|
1361
|
+
orgUnitId?: string | null;
|
|
1362
|
+
}
|
|
1363
|
+
/**
|
|
1364
|
+
* 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
|
|
1129
1365
|
*/
|
|
1130
1366
|
export interface Schema$GoogleChromeManagementV1ThunderboltInfo {
|
|
1131
1367
|
/**
|
|
@@ -1134,7 +1370,7 @@ export namespace chromemanagement_v1 {
|
|
|
1134
1370
|
securityLevel?: string | null;
|
|
1135
1371
|
}
|
|
1136
1372
|
/**
|
|
1137
|
-
* Memory encryption information of a device.
|
|
1373
|
+
* Memory encryption information of a device. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDeviceMemoryInfo](https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * 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
|
|
1138
1374
|
*/
|
|
1139
1375
|
export interface Schema$GoogleChromeManagementV1TotalMemoryEncryptionInfo {
|
|
1140
1376
|
/**
|
|
@@ -1909,7 +2145,7 @@ export namespace chromemanagement_v1 {
|
|
|
1909
2145
|
}
|
|
1910
2146
|
|
|
1911
2147
|
/**
|
|
1912
|
-
* Generate report of
|
|
2148
|
+
* Generate report of the number of devices expiring in each month of the selected time frame. Devices are grouped by auto update expiration date and model. Further information can be found [here](https://support.google.com/chrome/a/answer/10564947).
|
|
1913
2149
|
* @example
|
|
1914
2150
|
* ```js
|
|
1915
2151
|
* // Before running the sample:
|
|
@@ -1936,25 +2172,24 @@ export namespace chromemanagement_v1 {
|
|
|
1936
2172
|
* google.options({auth: authClient});
|
|
1937
2173
|
*
|
|
1938
2174
|
* // Do the magic
|
|
1939
|
-
* const res =
|
|
1940
|
-
*
|
|
1941
|
-
*
|
|
1942
|
-
*
|
|
1943
|
-
*
|
|
1944
|
-
*
|
|
1945
|
-
*
|
|
1946
|
-
*
|
|
1947
|
-
*
|
|
1948
|
-
*
|
|
1949
|
-
*
|
|
1950
|
-
*
|
|
2175
|
+
* const res =
|
|
2176
|
+
* await chromemanagement.customers.reports.countChromeDevicesReachingAutoExpirationDate(
|
|
2177
|
+
* {
|
|
2178
|
+
* // Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
2179
|
+
* customer: 'customers/my-customer',
|
|
2180
|
+
* // 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.
|
|
2181
|
+
* maxAueDate: 'placeholder-value',
|
|
2182
|
+
* // 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.
|
|
2183
|
+
* minAueDate: 'placeholder-value',
|
|
2184
|
+
* // Optional. The organizational unit ID, if omitted, will return data for all organizational units.
|
|
2185
|
+
* orgUnitId: 'placeholder-value',
|
|
2186
|
+
* }
|
|
2187
|
+
* );
|
|
1951
2188
|
* console.log(res.data);
|
|
1952
2189
|
*
|
|
1953
2190
|
* // Example response
|
|
1954
2191
|
* // {
|
|
1955
|
-
* // "
|
|
1956
|
-
* // "nextPageToken": "my_nextPageToken",
|
|
1957
|
-
* // "totalSize": 0
|
|
2192
|
+
* // "deviceAueCountReports": []
|
|
1958
2193
|
* // }
|
|
1959
2194
|
* }
|
|
1960
2195
|
*
|
|
@@ -1970,57 +2205,58 @@ export namespace chromemanagement_v1 {
|
|
|
1970
2205
|
* @param callback - Optional callback that handles the response.
|
|
1971
2206
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1972
2207
|
*/
|
|
1973
|
-
|
|
1974
|
-
params: Params$Resource$Customers$Reports$
|
|
2208
|
+
countChromeDevicesReachingAutoExpirationDate(
|
|
2209
|
+
params: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate,
|
|
1975
2210
|
options: StreamMethodOptions
|
|
1976
2211
|
): GaxiosPromise<Readable>;
|
|
1977
|
-
|
|
1978
|
-
params?: Params$Resource$Customers$Reports$
|
|
2212
|
+
countChromeDevicesReachingAutoExpirationDate(
|
|
2213
|
+
params?: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate,
|
|
1979
2214
|
options?: MethodOptions
|
|
1980
|
-
): GaxiosPromise<Schema$
|
|
1981
|
-
|
|
1982
|
-
params: Params$Resource$Customers$Reports$
|
|
2215
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>;
|
|
2216
|
+
countChromeDevicesReachingAutoExpirationDate(
|
|
2217
|
+
params: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate,
|
|
1983
2218
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
1984
2219
|
callback: BodyResponseCallback<Readable>
|
|
1985
2220
|
): void;
|
|
1986
|
-
|
|
1987
|
-
params: Params$Resource$Customers$Reports$
|
|
2221
|
+
countChromeDevicesReachingAutoExpirationDate(
|
|
2222
|
+
params: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate,
|
|
1988
2223
|
options:
|
|
1989
2224
|
| MethodOptions
|
|
1990
|
-
| BodyResponseCallback<Schema$
|
|
1991
|
-
callback: BodyResponseCallback<Schema$
|
|
2225
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>,
|
|
2226
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>
|
|
1992
2227
|
): void;
|
|
1993
|
-
|
|
1994
|
-
params: Params$Resource$Customers$Reports$
|
|
1995
|
-
callback: BodyResponseCallback<Schema$
|
|
2228
|
+
countChromeDevicesReachingAutoExpirationDate(
|
|
2229
|
+
params: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate,
|
|
2230
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>
|
|
1996
2231
|
): void;
|
|
1997
|
-
|
|
1998
|
-
callback: BodyResponseCallback<Schema$
|
|
2232
|
+
countChromeDevicesReachingAutoExpirationDate(
|
|
2233
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>
|
|
1999
2234
|
): void;
|
|
2000
|
-
|
|
2235
|
+
countChromeDevicesReachingAutoExpirationDate(
|
|
2001
2236
|
paramsOrCallback?:
|
|
2002
|
-
| Params$Resource$Customers$Reports$
|
|
2003
|
-
| BodyResponseCallback<Schema$
|
|
2237
|
+
| Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate
|
|
2238
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>
|
|
2004
2239
|
| BodyResponseCallback<Readable>,
|
|
2005
2240
|
optionsOrCallback?:
|
|
2006
2241
|
| MethodOptions
|
|
2007
2242
|
| StreamMethodOptions
|
|
2008
|
-
| BodyResponseCallback<Schema$
|
|
2243
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>
|
|
2009
2244
|
| BodyResponseCallback<Readable>,
|
|
2010
2245
|
callback?:
|
|
2011
|
-
| BodyResponseCallback<Schema$
|
|
2246
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>
|
|
2012
2247
|
| BodyResponseCallback<Readable>
|
|
2013
2248
|
):
|
|
2014
2249
|
| void
|
|
2015
|
-
| GaxiosPromise<Schema$
|
|
2250
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>
|
|
2016
2251
|
| GaxiosPromise<Readable> {
|
|
2017
2252
|
let params = (paramsOrCallback ||
|
|
2018
|
-
{}) as Params$Resource$Customers$Reports$
|
|
2253
|
+
{}) as Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate;
|
|
2019
2254
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2020
2255
|
|
|
2021
2256
|
if (typeof paramsOrCallback === 'function') {
|
|
2022
2257
|
callback = paramsOrCallback;
|
|
2023
|
-
params =
|
|
2258
|
+
params =
|
|
2259
|
+
{} as Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate;
|
|
2024
2260
|
options = {};
|
|
2025
2261
|
}
|
|
2026
2262
|
|
|
@@ -2035,7 +2271,8 @@ export namespace chromemanagement_v1 {
|
|
|
2035
2271
|
options: Object.assign(
|
|
2036
2272
|
{
|
|
2037
2273
|
url: (
|
|
2038
|
-
rootUrl +
|
|
2274
|
+
rootUrl +
|
|
2275
|
+
'/v1/{+customer}/reports:countChromeDevicesReachingAutoExpirationDate'
|
|
2039
2276
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2040
2277
|
method: 'GET',
|
|
2041
2278
|
},
|
|
@@ -2047,19 +2284,19 @@ export namespace chromemanagement_v1 {
|
|
|
2047
2284
|
context: this.context,
|
|
2048
2285
|
};
|
|
2049
2286
|
if (callback) {
|
|
2050
|
-
createAPIRequest<Schema$
|
|
2287
|
+
createAPIRequest<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>(
|
|
2051
2288
|
parameters,
|
|
2052
2289
|
callback as BodyResponseCallback<unknown>
|
|
2053
2290
|
);
|
|
2054
2291
|
} else {
|
|
2055
|
-
return createAPIRequest<Schema$
|
|
2292
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>(
|
|
2056
2293
|
parameters
|
|
2057
2294
|
);
|
|
2058
2295
|
}
|
|
2059
2296
|
}
|
|
2060
2297
|
|
|
2061
2298
|
/**
|
|
2062
|
-
*
|
|
2299
|
+
* Counts of ChromeOS devices that have not synced policies or have lacked user activity in the past 28 days, are out of date, or are not complaint. Further information can be found here https://support.google.com/chrome/a/answer/10564947
|
|
2063
2300
|
* @example
|
|
2064
2301
|
* ```js
|
|
2065
2302
|
* // Before running the sample:
|
|
@@ -2086,27 +2323,26 @@ export namespace chromemanagement_v1 {
|
|
|
2086
2323
|
* google.options({auth: authClient});
|
|
2087
2324
|
*
|
|
2088
2325
|
* // Do the magic
|
|
2089
|
-
* const res =
|
|
2090
|
-
*
|
|
2091
|
-
*
|
|
2092
|
-
*
|
|
2093
|
-
*
|
|
2094
|
-
*
|
|
2095
|
-
*
|
|
2096
|
-
*
|
|
2097
|
-
*
|
|
2098
|
-
*
|
|
2099
|
-
*
|
|
2100
|
-
* // Token to specify the page of the request to be returned.
|
|
2101
|
-
* pageToken: 'placeholder-value',
|
|
2102
|
-
* });
|
|
2326
|
+
* const res =
|
|
2327
|
+
* await chromemanagement.customers.reports.countChromeDevicesThatNeedAttention(
|
|
2328
|
+
* {
|
|
2329
|
+
* // Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
2330
|
+
* customer: 'customers/my-customer',
|
|
2331
|
+
* // Optional. The ID of the organizational unit. If omitted, all data will be returned.
|
|
2332
|
+
* orgUnitId: 'placeholder-value',
|
|
2333
|
+
* // Required. Mask of the fields that should be populated in the returned report.
|
|
2334
|
+
* readMask: 'placeholder-value',
|
|
2335
|
+
* }
|
|
2336
|
+
* );
|
|
2103
2337
|
* console.log(res.data);
|
|
2104
2338
|
*
|
|
2105
2339
|
* // Example response
|
|
2106
2340
|
* // {
|
|
2107
|
-
* // "
|
|
2108
|
-
* // "
|
|
2109
|
-
* // "
|
|
2341
|
+
* // "noRecentPolicySyncCount": "my_noRecentPolicySyncCount",
|
|
2342
|
+
* // "noRecentUserActivityCount": "my_noRecentUserActivityCount",
|
|
2343
|
+
* // "osVersionNotCompliantCount": "my_osVersionNotCompliantCount",
|
|
2344
|
+
* // "pendingUpdate": "my_pendingUpdate",
|
|
2345
|
+
* // "unsupportedPolicyCount": "my_unsupportedPolicyCount"
|
|
2110
2346
|
* // }
|
|
2111
2347
|
* }
|
|
2112
2348
|
*
|
|
@@ -2122,57 +2358,58 @@ export namespace chromemanagement_v1 {
|
|
|
2122
2358
|
* @param callback - Optional callback that handles the response.
|
|
2123
2359
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2124
2360
|
*/
|
|
2125
|
-
|
|
2126
|
-
params: Params$Resource$Customers$Reports$
|
|
2361
|
+
countChromeDevicesThatNeedAttention(
|
|
2362
|
+
params: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention,
|
|
2127
2363
|
options: StreamMethodOptions
|
|
2128
2364
|
): GaxiosPromise<Readable>;
|
|
2129
|
-
|
|
2130
|
-
params?: Params$Resource$Customers$Reports$
|
|
2365
|
+
countChromeDevicesThatNeedAttention(
|
|
2366
|
+
params?: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention,
|
|
2131
2367
|
options?: MethodOptions
|
|
2132
|
-
): GaxiosPromise<Schema$
|
|
2133
|
-
|
|
2134
|
-
params: Params$Resource$Customers$Reports$
|
|
2368
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>;
|
|
2369
|
+
countChromeDevicesThatNeedAttention(
|
|
2370
|
+
params: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention,
|
|
2135
2371
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2136
2372
|
callback: BodyResponseCallback<Readable>
|
|
2137
2373
|
): void;
|
|
2138
|
-
|
|
2139
|
-
params: Params$Resource$Customers$Reports$
|
|
2374
|
+
countChromeDevicesThatNeedAttention(
|
|
2375
|
+
params: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention,
|
|
2140
2376
|
options:
|
|
2141
2377
|
| MethodOptions
|
|
2142
|
-
| BodyResponseCallback<Schema$
|
|
2143
|
-
callback: BodyResponseCallback<Schema$
|
|
2378
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>,
|
|
2379
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>
|
|
2144
2380
|
): void;
|
|
2145
|
-
|
|
2146
|
-
params: Params$Resource$Customers$Reports$
|
|
2147
|
-
callback: BodyResponseCallback<Schema$
|
|
2381
|
+
countChromeDevicesThatNeedAttention(
|
|
2382
|
+
params: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention,
|
|
2383
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>
|
|
2148
2384
|
): void;
|
|
2149
|
-
|
|
2150
|
-
callback: BodyResponseCallback<Schema$
|
|
2385
|
+
countChromeDevicesThatNeedAttention(
|
|
2386
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>
|
|
2151
2387
|
): void;
|
|
2152
|
-
|
|
2388
|
+
countChromeDevicesThatNeedAttention(
|
|
2153
2389
|
paramsOrCallback?:
|
|
2154
|
-
| Params$Resource$Customers$Reports$
|
|
2155
|
-
| BodyResponseCallback<Schema$
|
|
2390
|
+
| Params$Resource$Customers$Reports$Countchromedevicesthatneedattention
|
|
2391
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>
|
|
2156
2392
|
| BodyResponseCallback<Readable>,
|
|
2157
2393
|
optionsOrCallback?:
|
|
2158
2394
|
| MethodOptions
|
|
2159
2395
|
| StreamMethodOptions
|
|
2160
|
-
| BodyResponseCallback<Schema$
|
|
2396
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>
|
|
2161
2397
|
| BodyResponseCallback<Readable>,
|
|
2162
2398
|
callback?:
|
|
2163
|
-
| BodyResponseCallback<Schema$
|
|
2399
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>
|
|
2164
2400
|
| BodyResponseCallback<Readable>
|
|
2165
2401
|
):
|
|
2166
2402
|
| void
|
|
2167
|
-
| GaxiosPromise<Schema$
|
|
2403
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>
|
|
2168
2404
|
| GaxiosPromise<Readable> {
|
|
2169
2405
|
let params = (paramsOrCallback ||
|
|
2170
|
-
{}) as Params$Resource$Customers$Reports$
|
|
2406
|
+
{}) as Params$Resource$Customers$Reports$Countchromedevicesthatneedattention;
|
|
2171
2407
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2172
2408
|
|
|
2173
2409
|
if (typeof paramsOrCallback === 'function') {
|
|
2174
2410
|
callback = paramsOrCallback;
|
|
2175
|
-
params =
|
|
2411
|
+
params =
|
|
2412
|
+
{} as Params$Resource$Customers$Reports$Countchromedevicesthatneedattention;
|
|
2176
2413
|
options = {};
|
|
2177
2414
|
}
|
|
2178
2415
|
|
|
@@ -2187,7 +2424,8 @@ export namespace chromemanagement_v1 {
|
|
|
2187
2424
|
options: Object.assign(
|
|
2188
2425
|
{
|
|
2189
2426
|
url: (
|
|
2190
|
-
rootUrl +
|
|
2427
|
+
rootUrl +
|
|
2428
|
+
'/v1/{+customer}/reports:countChromeDevicesThatNeedAttention'
|
|
2191
2429
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2192
2430
|
method: 'GET',
|
|
2193
2431
|
},
|
|
@@ -2199,19 +2437,19 @@ export namespace chromemanagement_v1 {
|
|
|
2199
2437
|
context: this.context,
|
|
2200
2438
|
};
|
|
2201
2439
|
if (callback) {
|
|
2202
|
-
createAPIRequest<Schema$
|
|
2440
|
+
createAPIRequest<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>(
|
|
2203
2441
|
parameters,
|
|
2204
2442
|
callback as BodyResponseCallback<unknown>
|
|
2205
2443
|
);
|
|
2206
2444
|
} else {
|
|
2207
|
-
return createAPIRequest<Schema$
|
|
2445
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>(
|
|
2208
2446
|
parameters
|
|
2209
2447
|
);
|
|
2210
2448
|
}
|
|
2211
2449
|
}
|
|
2212
2450
|
|
|
2213
2451
|
/**
|
|
2214
|
-
*
|
|
2452
|
+
* Counts of devices with a specific hardware specification from the requested hardware type (for example model name, processor type). Further information can be found here https://support.google.com/chrome/a/answer/10564947
|
|
2215
2453
|
* @example
|
|
2216
2454
|
* ```js
|
|
2217
2455
|
* // Before running the sample:
|
|
@@ -2238,31 +2476,23 @@ export namespace chromemanagement_v1 {
|
|
|
2238
2476
|
* google.options({auth: authClient});
|
|
2239
2477
|
*
|
|
2240
2478
|
* // Do the magic
|
|
2241
|
-
* const res =
|
|
2242
|
-
*
|
|
2243
|
-
*
|
|
2244
|
-
*
|
|
2245
|
-
*
|
|
2246
|
-
*
|
|
2247
|
-
*
|
|
2248
|
-
*
|
|
2249
|
-
*
|
|
2250
|
-
* // Field used to order results. Supported order by fields: * machine * device_id
|
|
2251
|
-
* orderBy: 'placeholder-value',
|
|
2252
|
-
* // The ID of the organizational unit.
|
|
2253
|
-
* orgUnitId: 'placeholder-value',
|
|
2254
|
-
* // Maximum number of results to return. Maximum and default are 100.
|
|
2255
|
-
* pageSize: 'placeholder-value',
|
|
2256
|
-
* // Token to specify the page of the request to be returned.
|
|
2257
|
-
* pageToken: 'placeholder-value',
|
|
2258
|
-
* });
|
|
2479
|
+
* const res =
|
|
2480
|
+
* await chromemanagement.customers.reports.countChromeHardwareFleetDevices({
|
|
2481
|
+
* // Required. The customer ID or "my_customer".
|
|
2482
|
+
* customer: 'customers/my-customer',
|
|
2483
|
+
* // Optional. The ID of the organizational unit. If omitted, all data will be returned.
|
|
2484
|
+
* orgUnitId: 'placeholder-value',
|
|
2485
|
+
* // Required. Mask of the fields that should be populated in the returned report.
|
|
2486
|
+
* readMask: 'placeholder-value',
|
|
2487
|
+
* });
|
|
2259
2488
|
* console.log(res.data);
|
|
2260
2489
|
*
|
|
2261
2490
|
* // Example response
|
|
2262
2491
|
* // {
|
|
2263
|
-
* // "
|
|
2264
|
-
* // "
|
|
2265
|
-
* // "
|
|
2492
|
+
* // "cpuReports": [],
|
|
2493
|
+
* // "memoryReports": [],
|
|
2494
|
+
* // "modelReports": [],
|
|
2495
|
+
* // "storageReports": []
|
|
2266
2496
|
* // }
|
|
2267
2497
|
* }
|
|
2268
2498
|
*
|
|
@@ -2278,15 +2508,475 @@ export namespace chromemanagement_v1 {
|
|
|
2278
2508
|
* @param callback - Optional callback that handles the response.
|
|
2279
2509
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2280
2510
|
*/
|
|
2281
|
-
|
|
2282
|
-
params: Params$Resource$Customers$Reports$
|
|
2511
|
+
countChromeHardwareFleetDevices(
|
|
2512
|
+
params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices,
|
|
2283
2513
|
options: StreamMethodOptions
|
|
2284
2514
|
): GaxiosPromise<Readable>;
|
|
2285
|
-
|
|
2286
|
-
params?: Params$Resource$Customers$Reports$
|
|
2515
|
+
countChromeHardwareFleetDevices(
|
|
2516
|
+
params?: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices,
|
|
2287
2517
|
options?: MethodOptions
|
|
2288
|
-
): GaxiosPromise<Schema$
|
|
2289
|
-
|
|
2518
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>;
|
|
2519
|
+
countChromeHardwareFleetDevices(
|
|
2520
|
+
params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices,
|
|
2521
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2522
|
+
callback: BodyResponseCallback<Readable>
|
|
2523
|
+
): void;
|
|
2524
|
+
countChromeHardwareFleetDevices(
|
|
2525
|
+
params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices,
|
|
2526
|
+
options:
|
|
2527
|
+
| MethodOptions
|
|
2528
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>,
|
|
2529
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>
|
|
2530
|
+
): void;
|
|
2531
|
+
countChromeHardwareFleetDevices(
|
|
2532
|
+
params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices,
|
|
2533
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>
|
|
2534
|
+
): void;
|
|
2535
|
+
countChromeHardwareFleetDevices(
|
|
2536
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>
|
|
2537
|
+
): void;
|
|
2538
|
+
countChromeHardwareFleetDevices(
|
|
2539
|
+
paramsOrCallback?:
|
|
2540
|
+
| Params$Resource$Customers$Reports$Countchromehardwarefleetdevices
|
|
2541
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>
|
|
2542
|
+
| BodyResponseCallback<Readable>,
|
|
2543
|
+
optionsOrCallback?:
|
|
2544
|
+
| MethodOptions
|
|
2545
|
+
| StreamMethodOptions
|
|
2546
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>
|
|
2547
|
+
| BodyResponseCallback<Readable>,
|
|
2548
|
+
callback?:
|
|
2549
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>
|
|
2550
|
+
| BodyResponseCallback<Readable>
|
|
2551
|
+
):
|
|
2552
|
+
| void
|
|
2553
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>
|
|
2554
|
+
| GaxiosPromise<Readable> {
|
|
2555
|
+
let params = (paramsOrCallback ||
|
|
2556
|
+
{}) as Params$Resource$Customers$Reports$Countchromehardwarefleetdevices;
|
|
2557
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2558
|
+
|
|
2559
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2560
|
+
callback = paramsOrCallback;
|
|
2561
|
+
params =
|
|
2562
|
+
{} as Params$Resource$Customers$Reports$Countchromehardwarefleetdevices;
|
|
2563
|
+
options = {};
|
|
2564
|
+
}
|
|
2565
|
+
|
|
2566
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2567
|
+
callback = optionsOrCallback;
|
|
2568
|
+
options = {};
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
const rootUrl =
|
|
2572
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
2573
|
+
const parameters = {
|
|
2574
|
+
options: Object.assign(
|
|
2575
|
+
{
|
|
2576
|
+
url: (
|
|
2577
|
+
rootUrl +
|
|
2578
|
+
'/v1/{+customer}/reports:countChromeHardwareFleetDevices'
|
|
2579
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2580
|
+
method: 'GET',
|
|
2581
|
+
},
|
|
2582
|
+
options
|
|
2583
|
+
),
|
|
2584
|
+
params,
|
|
2585
|
+
requiredParams: ['customer'],
|
|
2586
|
+
pathParams: ['customer'],
|
|
2587
|
+
context: this.context,
|
|
2588
|
+
};
|
|
2589
|
+
if (callback) {
|
|
2590
|
+
createAPIRequest<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>(
|
|
2591
|
+
parameters,
|
|
2592
|
+
callback as BodyResponseCallback<unknown>
|
|
2593
|
+
);
|
|
2594
|
+
} else {
|
|
2595
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>(
|
|
2596
|
+
parameters
|
|
2597
|
+
);
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2601
|
+
/**
|
|
2602
|
+
* Generate report of installed Chrome versions.
|
|
2603
|
+
* @example
|
|
2604
|
+
* ```js
|
|
2605
|
+
* // Before running the sample:
|
|
2606
|
+
* // - Enable the API at:
|
|
2607
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
2608
|
+
* // - Login into gcloud by running:
|
|
2609
|
+
* // `$ gcloud auth application-default login`
|
|
2610
|
+
* // - Install the npm module by running:
|
|
2611
|
+
* // `$ npm install googleapis`
|
|
2612
|
+
*
|
|
2613
|
+
* const {google} = require('googleapis');
|
|
2614
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
2615
|
+
*
|
|
2616
|
+
* async function main() {
|
|
2617
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2618
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2619
|
+
* scopes: [
|
|
2620
|
+
* 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
|
|
2621
|
+
* ],
|
|
2622
|
+
* });
|
|
2623
|
+
*
|
|
2624
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2625
|
+
* const authClient = await auth.getClient();
|
|
2626
|
+
* google.options({auth: authClient});
|
|
2627
|
+
*
|
|
2628
|
+
* // Do the magic
|
|
2629
|
+
* const res = await chromemanagement.customers.reports.countChromeVersions({
|
|
2630
|
+
* // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
2631
|
+
* customer: 'customers/my-customer',
|
|
2632
|
+
* // 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
|
|
2633
|
+
* filter: 'placeholder-value',
|
|
2634
|
+
* // The ID of the organizational unit.
|
|
2635
|
+
* orgUnitId: 'placeholder-value',
|
|
2636
|
+
* // Maximum number of results to return. Maximum and default are 100.
|
|
2637
|
+
* pageSize: 'placeholder-value',
|
|
2638
|
+
* // Token to specify the page of the request to be returned.
|
|
2639
|
+
* pageToken: 'placeholder-value',
|
|
2640
|
+
* });
|
|
2641
|
+
* console.log(res.data);
|
|
2642
|
+
*
|
|
2643
|
+
* // Example response
|
|
2644
|
+
* // {
|
|
2645
|
+
* // "browserVersions": [],
|
|
2646
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
2647
|
+
* // "totalSize": 0
|
|
2648
|
+
* // }
|
|
2649
|
+
* }
|
|
2650
|
+
*
|
|
2651
|
+
* main().catch(e => {
|
|
2652
|
+
* console.error(e);
|
|
2653
|
+
* throw e;
|
|
2654
|
+
* });
|
|
2655
|
+
*
|
|
2656
|
+
* ```
|
|
2657
|
+
*
|
|
2658
|
+
* @param params - Parameters for request
|
|
2659
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2660
|
+
* @param callback - Optional callback that handles the response.
|
|
2661
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2662
|
+
*/
|
|
2663
|
+
countChromeVersions(
|
|
2664
|
+
params: Params$Resource$Customers$Reports$Countchromeversions,
|
|
2665
|
+
options: StreamMethodOptions
|
|
2666
|
+
): GaxiosPromise<Readable>;
|
|
2667
|
+
countChromeVersions(
|
|
2668
|
+
params?: Params$Resource$Customers$Reports$Countchromeversions,
|
|
2669
|
+
options?: MethodOptions
|
|
2670
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>;
|
|
2671
|
+
countChromeVersions(
|
|
2672
|
+
params: Params$Resource$Customers$Reports$Countchromeversions,
|
|
2673
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2674
|
+
callback: BodyResponseCallback<Readable>
|
|
2675
|
+
): void;
|
|
2676
|
+
countChromeVersions(
|
|
2677
|
+
params: Params$Resource$Customers$Reports$Countchromeversions,
|
|
2678
|
+
options:
|
|
2679
|
+
| MethodOptions
|
|
2680
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>,
|
|
2681
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>
|
|
2682
|
+
): void;
|
|
2683
|
+
countChromeVersions(
|
|
2684
|
+
params: Params$Resource$Customers$Reports$Countchromeversions,
|
|
2685
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>
|
|
2686
|
+
): void;
|
|
2687
|
+
countChromeVersions(
|
|
2688
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>
|
|
2689
|
+
): void;
|
|
2690
|
+
countChromeVersions(
|
|
2691
|
+
paramsOrCallback?:
|
|
2692
|
+
| Params$Resource$Customers$Reports$Countchromeversions
|
|
2693
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>
|
|
2694
|
+
| BodyResponseCallback<Readable>,
|
|
2695
|
+
optionsOrCallback?:
|
|
2696
|
+
| MethodOptions
|
|
2697
|
+
| StreamMethodOptions
|
|
2698
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>
|
|
2699
|
+
| BodyResponseCallback<Readable>,
|
|
2700
|
+
callback?:
|
|
2701
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>
|
|
2702
|
+
| BodyResponseCallback<Readable>
|
|
2703
|
+
):
|
|
2704
|
+
| void
|
|
2705
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>
|
|
2706
|
+
| GaxiosPromise<Readable> {
|
|
2707
|
+
let params = (paramsOrCallback ||
|
|
2708
|
+
{}) as Params$Resource$Customers$Reports$Countchromeversions;
|
|
2709
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2710
|
+
|
|
2711
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2712
|
+
callback = paramsOrCallback;
|
|
2713
|
+
params = {} as Params$Resource$Customers$Reports$Countchromeversions;
|
|
2714
|
+
options = {};
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2717
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2718
|
+
callback = optionsOrCallback;
|
|
2719
|
+
options = {};
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
const rootUrl =
|
|
2723
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
2724
|
+
const parameters = {
|
|
2725
|
+
options: Object.assign(
|
|
2726
|
+
{
|
|
2727
|
+
url: (
|
|
2728
|
+
rootUrl + '/v1/{+customer}/reports:countChromeVersions'
|
|
2729
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2730
|
+
method: 'GET',
|
|
2731
|
+
},
|
|
2732
|
+
options
|
|
2733
|
+
),
|
|
2734
|
+
params,
|
|
2735
|
+
requiredParams: ['customer'],
|
|
2736
|
+
pathParams: ['customer'],
|
|
2737
|
+
context: this.context,
|
|
2738
|
+
};
|
|
2739
|
+
if (callback) {
|
|
2740
|
+
createAPIRequest<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>(
|
|
2741
|
+
parameters,
|
|
2742
|
+
callback as BodyResponseCallback<unknown>
|
|
2743
|
+
);
|
|
2744
|
+
} else {
|
|
2745
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>(
|
|
2746
|
+
parameters
|
|
2747
|
+
);
|
|
2748
|
+
}
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* Generate report of app installations.
|
|
2753
|
+
* @example
|
|
2754
|
+
* ```js
|
|
2755
|
+
* // Before running the sample:
|
|
2756
|
+
* // - Enable the API at:
|
|
2757
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
2758
|
+
* // - Login into gcloud by running:
|
|
2759
|
+
* // `$ gcloud auth application-default login`
|
|
2760
|
+
* // - Install the npm module by running:
|
|
2761
|
+
* // `$ npm install googleapis`
|
|
2762
|
+
*
|
|
2763
|
+
* const {google} = require('googleapis');
|
|
2764
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
2765
|
+
*
|
|
2766
|
+
* async function main() {
|
|
2767
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2768
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2769
|
+
* scopes: [
|
|
2770
|
+
* 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
|
|
2771
|
+
* ],
|
|
2772
|
+
* });
|
|
2773
|
+
*
|
|
2774
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2775
|
+
* const authClient = await auth.getClient();
|
|
2776
|
+
* google.options({auth: authClient});
|
|
2777
|
+
*
|
|
2778
|
+
* // Do the magic
|
|
2779
|
+
* const res = await chromemanagement.customers.reports.countInstalledApps({
|
|
2780
|
+
* // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
2781
|
+
* customer: 'customers/my-customer',
|
|
2782
|
+
* // 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
|
|
2783
|
+
* filter: 'placeholder-value',
|
|
2784
|
+
* // Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count
|
|
2785
|
+
* orderBy: 'placeholder-value',
|
|
2786
|
+
* // The ID of the organizational unit.
|
|
2787
|
+
* orgUnitId: 'placeholder-value',
|
|
2788
|
+
* // Maximum number of results to return. Maximum and default are 100.
|
|
2789
|
+
* pageSize: 'placeholder-value',
|
|
2790
|
+
* // Token to specify the page of the request to be returned.
|
|
2791
|
+
* pageToken: 'placeholder-value',
|
|
2792
|
+
* });
|
|
2793
|
+
* console.log(res.data);
|
|
2794
|
+
*
|
|
2795
|
+
* // Example response
|
|
2796
|
+
* // {
|
|
2797
|
+
* // "installedApps": [],
|
|
2798
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
2799
|
+
* // "totalSize": 0
|
|
2800
|
+
* // }
|
|
2801
|
+
* }
|
|
2802
|
+
*
|
|
2803
|
+
* main().catch(e => {
|
|
2804
|
+
* console.error(e);
|
|
2805
|
+
* throw e;
|
|
2806
|
+
* });
|
|
2807
|
+
*
|
|
2808
|
+
* ```
|
|
2809
|
+
*
|
|
2810
|
+
* @param params - Parameters for request
|
|
2811
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2812
|
+
* @param callback - Optional callback that handles the response.
|
|
2813
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2814
|
+
*/
|
|
2815
|
+
countInstalledApps(
|
|
2816
|
+
params: Params$Resource$Customers$Reports$Countinstalledapps,
|
|
2817
|
+
options: StreamMethodOptions
|
|
2818
|
+
): GaxiosPromise<Readable>;
|
|
2819
|
+
countInstalledApps(
|
|
2820
|
+
params?: Params$Resource$Customers$Reports$Countinstalledapps,
|
|
2821
|
+
options?: MethodOptions
|
|
2822
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>;
|
|
2823
|
+
countInstalledApps(
|
|
2824
|
+
params: Params$Resource$Customers$Reports$Countinstalledapps,
|
|
2825
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2826
|
+
callback: BodyResponseCallback<Readable>
|
|
2827
|
+
): void;
|
|
2828
|
+
countInstalledApps(
|
|
2829
|
+
params: Params$Resource$Customers$Reports$Countinstalledapps,
|
|
2830
|
+
options:
|
|
2831
|
+
| MethodOptions
|
|
2832
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>,
|
|
2833
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>
|
|
2834
|
+
): void;
|
|
2835
|
+
countInstalledApps(
|
|
2836
|
+
params: Params$Resource$Customers$Reports$Countinstalledapps,
|
|
2837
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>
|
|
2838
|
+
): void;
|
|
2839
|
+
countInstalledApps(
|
|
2840
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>
|
|
2841
|
+
): void;
|
|
2842
|
+
countInstalledApps(
|
|
2843
|
+
paramsOrCallback?:
|
|
2844
|
+
| Params$Resource$Customers$Reports$Countinstalledapps
|
|
2845
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>
|
|
2846
|
+
| BodyResponseCallback<Readable>,
|
|
2847
|
+
optionsOrCallback?:
|
|
2848
|
+
| MethodOptions
|
|
2849
|
+
| StreamMethodOptions
|
|
2850
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>
|
|
2851
|
+
| BodyResponseCallback<Readable>,
|
|
2852
|
+
callback?:
|
|
2853
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>
|
|
2854
|
+
| BodyResponseCallback<Readable>
|
|
2855
|
+
):
|
|
2856
|
+
| void
|
|
2857
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>
|
|
2858
|
+
| GaxiosPromise<Readable> {
|
|
2859
|
+
let params = (paramsOrCallback ||
|
|
2860
|
+
{}) as Params$Resource$Customers$Reports$Countinstalledapps;
|
|
2861
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2862
|
+
|
|
2863
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2864
|
+
callback = paramsOrCallback;
|
|
2865
|
+
params = {} as Params$Resource$Customers$Reports$Countinstalledapps;
|
|
2866
|
+
options = {};
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2869
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2870
|
+
callback = optionsOrCallback;
|
|
2871
|
+
options = {};
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2874
|
+
const rootUrl =
|
|
2875
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
2876
|
+
const parameters = {
|
|
2877
|
+
options: Object.assign(
|
|
2878
|
+
{
|
|
2879
|
+
url: (
|
|
2880
|
+
rootUrl + '/v1/{+customer}/reports:countInstalledApps'
|
|
2881
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2882
|
+
method: 'GET',
|
|
2883
|
+
},
|
|
2884
|
+
options
|
|
2885
|
+
),
|
|
2886
|
+
params,
|
|
2887
|
+
requiredParams: ['customer'],
|
|
2888
|
+
pathParams: ['customer'],
|
|
2889
|
+
context: this.context,
|
|
2890
|
+
};
|
|
2891
|
+
if (callback) {
|
|
2892
|
+
createAPIRequest<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>(
|
|
2893
|
+
parameters,
|
|
2894
|
+
callback as BodyResponseCallback<unknown>
|
|
2895
|
+
);
|
|
2896
|
+
} else {
|
|
2897
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1CountInstalledAppsResponse>(
|
|
2898
|
+
parameters
|
|
2899
|
+
);
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
|
|
2903
|
+
/**
|
|
2904
|
+
* Generate report of devices that have a specified app installed.
|
|
2905
|
+
* @example
|
|
2906
|
+
* ```js
|
|
2907
|
+
* // Before running the sample:
|
|
2908
|
+
* // - Enable the API at:
|
|
2909
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
2910
|
+
* // - Login into gcloud by running:
|
|
2911
|
+
* // `$ gcloud auth application-default login`
|
|
2912
|
+
* // - Install the npm module by running:
|
|
2913
|
+
* // `$ npm install googleapis`
|
|
2914
|
+
*
|
|
2915
|
+
* const {google} = require('googleapis');
|
|
2916
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
2917
|
+
*
|
|
2918
|
+
* async function main() {
|
|
2919
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2920
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2921
|
+
* scopes: [
|
|
2922
|
+
* 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
|
|
2923
|
+
* ],
|
|
2924
|
+
* });
|
|
2925
|
+
*
|
|
2926
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2927
|
+
* const authClient = await auth.getClient();
|
|
2928
|
+
* google.options({auth: authClient});
|
|
2929
|
+
*
|
|
2930
|
+
* // Do the magic
|
|
2931
|
+
* const res = await chromemanagement.customers.reports.findInstalledAppDevices({
|
|
2932
|
+
* // Unique identifier of the app. For Chrome apps and extensions, the 32-character id (e.g. ehoadneljpdggcbbknedodolkkjodefl). For Android apps, the package name (e.g. com.evernote).
|
|
2933
|
+
* appId: 'placeholder-value',
|
|
2934
|
+
* // Type of the app.
|
|
2935
|
+
* appType: 'placeholder-value',
|
|
2936
|
+
* // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
2937
|
+
* customer: 'customers/my-customer',
|
|
2938
|
+
* // 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
|
|
2939
|
+
* filter: 'placeholder-value',
|
|
2940
|
+
* // Field used to order results. Supported order by fields: * machine * device_id
|
|
2941
|
+
* orderBy: 'placeholder-value',
|
|
2942
|
+
* // The ID of the organizational unit.
|
|
2943
|
+
* orgUnitId: 'placeholder-value',
|
|
2944
|
+
* // Maximum number of results to return. Maximum and default are 100.
|
|
2945
|
+
* pageSize: 'placeholder-value',
|
|
2946
|
+
* // Token to specify the page of the request to be returned.
|
|
2947
|
+
* pageToken: 'placeholder-value',
|
|
2948
|
+
* });
|
|
2949
|
+
* console.log(res.data);
|
|
2950
|
+
*
|
|
2951
|
+
* // Example response
|
|
2952
|
+
* // {
|
|
2953
|
+
* // "devices": [],
|
|
2954
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
2955
|
+
* // "totalSize": 0
|
|
2956
|
+
* // }
|
|
2957
|
+
* }
|
|
2958
|
+
*
|
|
2959
|
+
* main().catch(e => {
|
|
2960
|
+
* console.error(e);
|
|
2961
|
+
* throw e;
|
|
2962
|
+
* });
|
|
2963
|
+
*
|
|
2964
|
+
* ```
|
|
2965
|
+
*
|
|
2966
|
+
* @param params - Parameters for request
|
|
2967
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2968
|
+
* @param callback - Optional callback that handles the response.
|
|
2969
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2970
|
+
*/
|
|
2971
|
+
findInstalledAppDevices(
|
|
2972
|
+
params: Params$Resource$Customers$Reports$Findinstalledappdevices,
|
|
2973
|
+
options: StreamMethodOptions
|
|
2974
|
+
): GaxiosPromise<Readable>;
|
|
2975
|
+
findInstalledAppDevices(
|
|
2976
|
+
params?: Params$Resource$Customers$Reports$Findinstalledappdevices,
|
|
2977
|
+
options?: MethodOptions
|
|
2978
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>;
|
|
2979
|
+
findInstalledAppDevices(
|
|
2290
2980
|
params: Params$Resource$Customers$Reports$Findinstalledappdevices,
|
|
2291
2981
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2292
2982
|
callback: BodyResponseCallback<Readable>
|
|
@@ -2368,6 +3058,55 @@ export namespace chromemanagement_v1 {
|
|
|
2368
3058
|
}
|
|
2369
3059
|
}
|
|
2370
3060
|
|
|
3061
|
+
export interface Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate
|
|
3062
|
+
extends StandardParameters {
|
|
3063
|
+
/**
|
|
3064
|
+
* Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
3065
|
+
*/
|
|
3066
|
+
customer?: string;
|
|
3067
|
+
/**
|
|
3068
|
+
* 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.
|
|
3069
|
+
*/
|
|
3070
|
+
maxAueDate?: string;
|
|
3071
|
+
/**
|
|
3072
|
+
* 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.
|
|
3073
|
+
*/
|
|
3074
|
+
minAueDate?: string;
|
|
3075
|
+
/**
|
|
3076
|
+
* Optional. The organizational unit ID, if omitted, will return data for all organizational units.
|
|
3077
|
+
*/
|
|
3078
|
+
orgUnitId?: string;
|
|
3079
|
+
}
|
|
3080
|
+
export interface Params$Resource$Customers$Reports$Countchromedevicesthatneedattention
|
|
3081
|
+
extends StandardParameters {
|
|
3082
|
+
/**
|
|
3083
|
+
* Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
3084
|
+
*/
|
|
3085
|
+
customer?: string;
|
|
3086
|
+
/**
|
|
3087
|
+
* Optional. The ID of the organizational unit. If omitted, all data will be returned.
|
|
3088
|
+
*/
|
|
3089
|
+
orgUnitId?: string;
|
|
3090
|
+
/**
|
|
3091
|
+
* Required. Mask of the fields that should be populated in the returned report.
|
|
3092
|
+
*/
|
|
3093
|
+
readMask?: string;
|
|
3094
|
+
}
|
|
3095
|
+
export interface Params$Resource$Customers$Reports$Countchromehardwarefleetdevices
|
|
3096
|
+
extends StandardParameters {
|
|
3097
|
+
/**
|
|
3098
|
+
* Required. The customer ID or "my_customer".
|
|
3099
|
+
*/
|
|
3100
|
+
customer?: string;
|
|
3101
|
+
/**
|
|
3102
|
+
* Optional. The ID of the organizational unit. If omitted, all data will be returned.
|
|
3103
|
+
*/
|
|
3104
|
+
orgUnitId?: string;
|
|
3105
|
+
/**
|
|
3106
|
+
* Required. Mask of the fields that should be populated in the returned report.
|
|
3107
|
+
*/
|
|
3108
|
+
readMask?: string;
|
|
3109
|
+
}
|
|
2371
3110
|
export interface Params$Resource$Customers$Reports$Countchromeversions
|
|
2372
3111
|
extends StandardParameters {
|
|
2373
3112
|
/**
|
|
@@ -2457,9 +3196,11 @@ export namespace chromemanagement_v1 {
|
|
|
2457
3196
|
export class Resource$Customers$Telemetry {
|
|
2458
3197
|
context: APIRequestContext;
|
|
2459
3198
|
devices: Resource$Customers$Telemetry$Devices;
|
|
3199
|
+
events: Resource$Customers$Telemetry$Events;
|
|
2460
3200
|
constructor(context: APIRequestContext) {
|
|
2461
3201
|
this.context = context;
|
|
2462
3202
|
this.devices = new Resource$Customers$Telemetry$Devices(this.context);
|
|
3203
|
+
this.events = new Resource$Customers$Telemetry$Events(this.context);
|
|
2463
3204
|
}
|
|
2464
3205
|
}
|
|
2465
3206
|
|
|
@@ -2510,6 +3251,7 @@ export namespace chromemanagement_v1 {
|
|
|
2510
3251
|
* // "audioStatusReport": [],
|
|
2511
3252
|
* // "batteryInfo": [],
|
|
2512
3253
|
* // "batteryStatusReport": [],
|
|
3254
|
+
* // "bootPerformanceReport": [],
|
|
2513
3255
|
* // "cpuInfo": [],
|
|
2514
3256
|
* // "cpuStatusReport": [],
|
|
2515
3257
|
* // "customer": "my_customer",
|
|
@@ -2814,4 +3556,185 @@ export namespace chromemanagement_v1 {
|
|
|
2814
3556
|
*/
|
|
2815
3557
|
readMask?: string;
|
|
2816
3558
|
}
|
|
3559
|
+
|
|
3560
|
+
export class Resource$Customers$Telemetry$Events {
|
|
3561
|
+
context: APIRequestContext;
|
|
3562
|
+
constructor(context: APIRequestContext) {
|
|
3563
|
+
this.context = context;
|
|
3564
|
+
}
|
|
3565
|
+
|
|
3566
|
+
/**
|
|
3567
|
+
* List telemetry events.
|
|
3568
|
+
* @example
|
|
3569
|
+
* ```js
|
|
3570
|
+
* // Before running the sample:
|
|
3571
|
+
* // - Enable the API at:
|
|
3572
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
3573
|
+
* // - Login into gcloud by running:
|
|
3574
|
+
* // `$ gcloud auth application-default login`
|
|
3575
|
+
* // - Install the npm module by running:
|
|
3576
|
+
* // `$ npm install googleapis`
|
|
3577
|
+
*
|
|
3578
|
+
* const {google} = require('googleapis');
|
|
3579
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
3580
|
+
*
|
|
3581
|
+
* async function main() {
|
|
3582
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3583
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3584
|
+
* scopes: [
|
|
3585
|
+
* 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly',
|
|
3586
|
+
* ],
|
|
3587
|
+
* });
|
|
3588
|
+
*
|
|
3589
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3590
|
+
* const authClient = await auth.getClient();
|
|
3591
|
+
* google.options({auth: authClient});
|
|
3592
|
+
*
|
|
3593
|
+
* // Do the magic
|
|
3594
|
+
* const res = await chromemanagement.customers.telemetry.events.list({
|
|
3595
|
+
* // 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
|
|
3596
|
+
* filter: 'placeholder-value',
|
|
3597
|
+
* // Optional. Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
3598
|
+
* pageSize: 'placeholder-value',
|
|
3599
|
+
* // Optional. Token to specify next page in the list.
|
|
3600
|
+
* pageToken: 'placeholder-value',
|
|
3601
|
+
* // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
3602
|
+
* parent: 'customers/my-customer',
|
|
3603
|
+
* // Required. Read mask to specify which fields to return.
|
|
3604
|
+
* readMask: 'placeholder-value',
|
|
3605
|
+
* });
|
|
3606
|
+
* console.log(res.data);
|
|
3607
|
+
*
|
|
3608
|
+
* // Example response
|
|
3609
|
+
* // {
|
|
3610
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
3611
|
+
* // "telemetryEvents": []
|
|
3612
|
+
* // }
|
|
3613
|
+
* }
|
|
3614
|
+
*
|
|
3615
|
+
* main().catch(e => {
|
|
3616
|
+
* console.error(e);
|
|
3617
|
+
* throw e;
|
|
3618
|
+
* });
|
|
3619
|
+
*
|
|
3620
|
+
* ```
|
|
3621
|
+
*
|
|
3622
|
+
* @param params - Parameters for request
|
|
3623
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3624
|
+
* @param callback - Optional callback that handles the response.
|
|
3625
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3626
|
+
*/
|
|
3627
|
+
list(
|
|
3628
|
+
params: Params$Resource$Customers$Telemetry$Events$List,
|
|
3629
|
+
options: StreamMethodOptions
|
|
3630
|
+
): GaxiosPromise<Readable>;
|
|
3631
|
+
list(
|
|
3632
|
+
params?: Params$Resource$Customers$Telemetry$Events$List,
|
|
3633
|
+
options?: MethodOptions
|
|
3634
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>;
|
|
3635
|
+
list(
|
|
3636
|
+
params: Params$Resource$Customers$Telemetry$Events$List,
|
|
3637
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3638
|
+
callback: BodyResponseCallback<Readable>
|
|
3639
|
+
): void;
|
|
3640
|
+
list(
|
|
3641
|
+
params: Params$Resource$Customers$Telemetry$Events$List,
|
|
3642
|
+
options:
|
|
3643
|
+
| MethodOptions
|
|
3644
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>,
|
|
3645
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>
|
|
3646
|
+
): void;
|
|
3647
|
+
list(
|
|
3648
|
+
params: Params$Resource$Customers$Telemetry$Events$List,
|
|
3649
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>
|
|
3650
|
+
): void;
|
|
3651
|
+
list(
|
|
3652
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>
|
|
3653
|
+
): void;
|
|
3654
|
+
list(
|
|
3655
|
+
paramsOrCallback?:
|
|
3656
|
+
| Params$Resource$Customers$Telemetry$Events$List
|
|
3657
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>
|
|
3658
|
+
| BodyResponseCallback<Readable>,
|
|
3659
|
+
optionsOrCallback?:
|
|
3660
|
+
| MethodOptions
|
|
3661
|
+
| StreamMethodOptions
|
|
3662
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>
|
|
3663
|
+
| BodyResponseCallback<Readable>,
|
|
3664
|
+
callback?:
|
|
3665
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>
|
|
3666
|
+
| BodyResponseCallback<Readable>
|
|
3667
|
+
):
|
|
3668
|
+
| void
|
|
3669
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>
|
|
3670
|
+
| GaxiosPromise<Readable> {
|
|
3671
|
+
let params = (paramsOrCallback ||
|
|
3672
|
+
{}) as Params$Resource$Customers$Telemetry$Events$List;
|
|
3673
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3674
|
+
|
|
3675
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3676
|
+
callback = paramsOrCallback;
|
|
3677
|
+
params = {} as Params$Resource$Customers$Telemetry$Events$List;
|
|
3678
|
+
options = {};
|
|
3679
|
+
}
|
|
3680
|
+
|
|
3681
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3682
|
+
callback = optionsOrCallback;
|
|
3683
|
+
options = {};
|
|
3684
|
+
}
|
|
3685
|
+
|
|
3686
|
+
const rootUrl =
|
|
3687
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
3688
|
+
const parameters = {
|
|
3689
|
+
options: Object.assign(
|
|
3690
|
+
{
|
|
3691
|
+
url: (rootUrl + '/v1/{+parent}/telemetry/events').replace(
|
|
3692
|
+
/([^:]\/)\/+/g,
|
|
3693
|
+
'$1'
|
|
3694
|
+
),
|
|
3695
|
+
method: 'GET',
|
|
3696
|
+
},
|
|
3697
|
+
options
|
|
3698
|
+
),
|
|
3699
|
+
params,
|
|
3700
|
+
requiredParams: ['parent'],
|
|
3701
|
+
pathParams: ['parent'],
|
|
3702
|
+
context: this.context,
|
|
3703
|
+
};
|
|
3704
|
+
if (callback) {
|
|
3705
|
+
createAPIRequest<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>(
|
|
3706
|
+
parameters,
|
|
3707
|
+
callback as BodyResponseCallback<unknown>
|
|
3708
|
+
);
|
|
3709
|
+
} else {
|
|
3710
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>(
|
|
3711
|
+
parameters
|
|
3712
|
+
);
|
|
3713
|
+
}
|
|
3714
|
+
}
|
|
3715
|
+
}
|
|
3716
|
+
|
|
3717
|
+
export interface Params$Resource$Customers$Telemetry$Events$List
|
|
3718
|
+
extends StandardParameters {
|
|
3719
|
+
/**
|
|
3720
|
+
* 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
|
|
3721
|
+
*/
|
|
3722
|
+
filter?: string;
|
|
3723
|
+
/**
|
|
3724
|
+
* Optional. Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
3725
|
+
*/
|
|
3726
|
+
pageSize?: number;
|
|
3727
|
+
/**
|
|
3728
|
+
* Optional. Token to specify next page in the list.
|
|
3729
|
+
*/
|
|
3730
|
+
pageToken?: string;
|
|
3731
|
+
/**
|
|
3732
|
+
* Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
3733
|
+
*/
|
|
3734
|
+
parent?: string;
|
|
3735
|
+
/**
|
|
3736
|
+
* Required. Read mask to specify which fields to return.
|
|
3737
|
+
*/
|
|
3738
|
+
readMask?: string;
|
|
3739
|
+
}
|
|
2817
3740
|
}
|