@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/build/v1.d.ts
CHANGED
|
@@ -171,7 +171,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
171
171
|
type?: string | null;
|
|
172
172
|
}
|
|
173
173
|
/**
|
|
174
|
-
*
|
|
174
|
+
* 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
|
|
175
175
|
*/
|
|
176
176
|
export interface Schema$GoogleChromeManagementV1AudioStatusReport {
|
|
177
177
|
/**
|
|
@@ -204,7 +204,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
204
204
|
reportTime?: string | null;
|
|
205
205
|
}
|
|
206
206
|
/**
|
|
207
|
-
*
|
|
207
|
+
* 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
|
|
208
208
|
*/
|
|
209
209
|
export interface Schema$GoogleChromeManagementV1BatteryInfo {
|
|
210
210
|
/**
|
|
@@ -233,7 +233,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
233
233
|
technology?: string | null;
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
|
-
* Sampling data for battery.
|
|
236
|
+
* 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
|
|
237
237
|
*/
|
|
238
238
|
export interface Schema$GoogleChromeManagementV1BatterySampleReport {
|
|
239
239
|
/**
|
|
@@ -270,7 +270,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
270
270
|
voltage?: string | null;
|
|
271
271
|
}
|
|
272
272
|
/**
|
|
273
|
-
* Status data for battery.
|
|
273
|
+
* 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
|
|
274
274
|
*/
|
|
275
275
|
export interface Schema$GoogleChromeManagementV1BatteryStatusReport {
|
|
276
276
|
/**
|
|
@@ -298,6 +298,35 @@ export declare namespace chromemanagement_v1 {
|
|
|
298
298
|
*/
|
|
299
299
|
serialNumber?: string | null;
|
|
300
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* 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
|
|
303
|
+
*/
|
|
304
|
+
export interface Schema$GoogleChromeManagementV1BootPerformanceReport {
|
|
305
|
+
/**
|
|
306
|
+
* Total time to boot up.
|
|
307
|
+
*/
|
|
308
|
+
bootUpDuration?: string | null;
|
|
309
|
+
/**
|
|
310
|
+
* The timestamp when power came on.
|
|
311
|
+
*/
|
|
312
|
+
bootUpTime?: string | null;
|
|
313
|
+
/**
|
|
314
|
+
* Timestamp when the report was collected.
|
|
315
|
+
*/
|
|
316
|
+
reportTime?: string | null;
|
|
317
|
+
/**
|
|
318
|
+
* Total time since shutdown start to power off.
|
|
319
|
+
*/
|
|
320
|
+
shutdownDuration?: string | null;
|
|
321
|
+
/**
|
|
322
|
+
* The shutdown reason.
|
|
323
|
+
*/
|
|
324
|
+
shutdownReason?: string | null;
|
|
325
|
+
/**
|
|
326
|
+
* The timestamp when shutdown.
|
|
327
|
+
*/
|
|
328
|
+
shutdownTime?: string | null;
|
|
329
|
+
}
|
|
301
330
|
/**
|
|
302
331
|
* Describes a browser version and its install count.
|
|
303
332
|
*/
|
|
@@ -335,6 +364,10 @@ export declare namespace chromemanagement_v1 {
|
|
|
335
364
|
* Output only. Whether the app or extension is in a published state in the Chrome Web Store.
|
|
336
365
|
*/
|
|
337
366
|
isCwsHosted?: boolean | null;
|
|
367
|
+
/**
|
|
368
|
+
* Output only. Whether an app supports policy for extensions.
|
|
369
|
+
*/
|
|
370
|
+
isExtensionPolicySupported?: boolean | null;
|
|
338
371
|
/**
|
|
339
372
|
* Output only. Whether the app is only for Kiosk mode on ChromeOS devices
|
|
340
373
|
*/
|
|
@@ -440,6 +473,61 @@ export declare namespace chromemanagement_v1 {
|
|
|
440
473
|
*/
|
|
441
474
|
totalSize?: number | null;
|
|
442
475
|
}
|
|
476
|
+
/**
|
|
477
|
+
* 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.
|
|
478
|
+
*/
|
|
479
|
+
export interface Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse {
|
|
480
|
+
/**
|
|
481
|
+
* The list of reports sorted by auto update expiration date in ascending order.
|
|
482
|
+
*/
|
|
483
|
+
deviceAueCountReports?: Schema$GoogleChromeManagementV1DeviceAueCountReport[];
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* Response containing counts for devices that need attention.
|
|
487
|
+
*/
|
|
488
|
+
export interface Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse {
|
|
489
|
+
/**
|
|
490
|
+
* Number of ChromeOS devices have not synced policies in the past 28 days.
|
|
491
|
+
*/
|
|
492
|
+
noRecentPolicySyncCount?: string | null;
|
|
493
|
+
/**
|
|
494
|
+
* Number of ChromeOS devices that have not seen any user activity in the past 28 days.
|
|
495
|
+
*/
|
|
496
|
+
noRecentUserActivityCount?: string | null;
|
|
497
|
+
/**
|
|
498
|
+
* Number of devices whose OS version is not compliant.
|
|
499
|
+
*/
|
|
500
|
+
osVersionNotCompliantCount?: string | null;
|
|
501
|
+
/**
|
|
502
|
+
* Number of devices that are pending an OS update.
|
|
503
|
+
*/
|
|
504
|
+
pendingUpdate?: string | null;
|
|
505
|
+
/**
|
|
506
|
+
* Number of devices that are unable to apply a policy due to an OS version mismatch.
|
|
507
|
+
*/
|
|
508
|
+
unsupportedPolicyCount?: string | null;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* Response containing a list of devices with a specific type of hardware specification from the requested hardware type.
|
|
512
|
+
*/
|
|
513
|
+
export interface Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse {
|
|
514
|
+
/**
|
|
515
|
+
* The DeviceHardwareCountReport for device cpu type (for example Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz).
|
|
516
|
+
*/
|
|
517
|
+
cpuReports?: Schema$GoogleChromeManagementV1DeviceHardwareCountReport[];
|
|
518
|
+
/**
|
|
519
|
+
* The DeviceHardwareCountReport for device memory amount in gigabytes (for example 16).
|
|
520
|
+
*/
|
|
521
|
+
memoryReports?: Schema$GoogleChromeManagementV1DeviceHardwareCountReport[];
|
|
522
|
+
/**
|
|
523
|
+
* The DeviceHardwareCountReport for device model type (for example Acer C7 Chromebook).
|
|
524
|
+
*/
|
|
525
|
+
modelReports?: Schema$GoogleChromeManagementV1DeviceHardwareCountReport[];
|
|
526
|
+
/**
|
|
527
|
+
* The DeviceHardwareCountReport for device storage amount in gigabytes (for example 128).
|
|
528
|
+
*/
|
|
529
|
+
storageReports?: Schema$GoogleChromeManagementV1DeviceHardwareCountReport[];
|
|
530
|
+
}
|
|
443
531
|
/**
|
|
444
532
|
* Response containing requested browser versions details and counts.
|
|
445
533
|
*/
|
|
@@ -475,11 +563,11 @@ export declare namespace chromemanagement_v1 {
|
|
|
475
563
|
totalSize?: number | null;
|
|
476
564
|
}
|
|
477
565
|
/**
|
|
478
|
-
* CPU
|
|
566
|
+
* 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
|
|
479
567
|
*/
|
|
480
568
|
export interface Schema$GoogleChromeManagementV1CpuInfo {
|
|
481
569
|
/**
|
|
482
|
-
* Output only.
|
|
570
|
+
* 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
|
|
483
571
|
*/
|
|
484
572
|
architecture?: string | null;
|
|
485
573
|
/**
|
|
@@ -500,7 +588,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
500
588
|
model?: string | null;
|
|
501
589
|
}
|
|
502
590
|
/**
|
|
503
|
-
*
|
|
591
|
+
* 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
|
|
504
592
|
*/
|
|
505
593
|
export interface Schema$GoogleChromeManagementV1CpuStatusReport {
|
|
506
594
|
/**
|
|
@@ -521,7 +609,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
521
609
|
sampleFrequency?: string | null;
|
|
522
610
|
}
|
|
523
611
|
/**
|
|
524
|
-
* CPU temperature of a device. Sampled per CPU core in Celsius
|
|
612
|
+
* 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
|
|
525
613
|
*/
|
|
526
614
|
export interface Schema$GoogleChromeManagementV1CpuTemperatureInfo {
|
|
527
615
|
/**
|
|
@@ -546,6 +634,44 @@ export declare namespace chromemanagement_v1 {
|
|
|
546
634
|
*/
|
|
547
635
|
machine?: string | null;
|
|
548
636
|
}
|
|
637
|
+
/**
|
|
638
|
+
* Report for CountChromeDevicesPerAueDateResponse, contains the count of devices of a specific model and auto update expiration range.
|
|
639
|
+
*/
|
|
640
|
+
export interface Schema$GoogleChromeManagementV1DeviceAueCountReport {
|
|
641
|
+
/**
|
|
642
|
+
* 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.
|
|
643
|
+
*/
|
|
644
|
+
aueMonth?: string | null;
|
|
645
|
+
/**
|
|
646
|
+
* 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.
|
|
647
|
+
*/
|
|
648
|
+
aueYear?: string | null;
|
|
649
|
+
/**
|
|
650
|
+
* Count of devices of this model.
|
|
651
|
+
*/
|
|
652
|
+
count?: string | null;
|
|
653
|
+
/**
|
|
654
|
+
* Boolean value for whether or not the device has already expired.
|
|
655
|
+
*/
|
|
656
|
+
expired?: boolean | null;
|
|
657
|
+
/**
|
|
658
|
+
* Public model name of the devices.
|
|
659
|
+
*/
|
|
660
|
+
model?: string | null;
|
|
661
|
+
}
|
|
662
|
+
/**
|
|
663
|
+
* Report for CountChromeDevicesPerHardwareSpecResponse, contains the count of devices with a unique hardware specification.
|
|
664
|
+
*/
|
|
665
|
+
export interface Schema$GoogleChromeManagementV1DeviceHardwareCountReport {
|
|
666
|
+
/**
|
|
667
|
+
* Public name of the hardware specification.
|
|
668
|
+
*/
|
|
669
|
+
bucket?: string | null;
|
|
670
|
+
/**
|
|
671
|
+
* Count of devices with a unique hardware specification.
|
|
672
|
+
*/
|
|
673
|
+
count?: string | null;
|
|
674
|
+
}
|
|
549
675
|
/**
|
|
550
676
|
* Status of the single storage device.
|
|
551
677
|
*/
|
|
@@ -663,7 +789,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
663
789
|
driverVersion?: string | null;
|
|
664
790
|
}
|
|
665
791
|
/**
|
|
666
|
-
* Information of the graphics subsystem.
|
|
792
|
+
* 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
|
|
667
793
|
*/
|
|
668
794
|
export interface Schema$GoogleChromeManagementV1GraphicsInfo {
|
|
669
795
|
/**
|
|
@@ -672,7 +798,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
672
798
|
adapterInfo?: Schema$GoogleChromeManagementV1GraphicsAdapterInfo;
|
|
673
799
|
}
|
|
674
800
|
/**
|
|
675
|
-
* Information of the graphics subsystem.
|
|
801
|
+
* 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
|
|
676
802
|
*/
|
|
677
803
|
export interface Schema$GoogleChromeManagementV1GraphicsStatusReport {
|
|
678
804
|
/**
|
|
@@ -757,7 +883,20 @@ export declare namespace chromemanagement_v1 {
|
|
|
757
883
|
nextPageToken?: string | null;
|
|
758
884
|
}
|
|
759
885
|
/**
|
|
760
|
-
*
|
|
886
|
+
* Response message for listing telemetry events for a customer.
|
|
887
|
+
*/
|
|
888
|
+
export interface Schema$GoogleChromeManagementV1ListTelemetryEventsResponse {
|
|
889
|
+
/**
|
|
890
|
+
* Token to specify next page in the list.
|
|
891
|
+
*/
|
|
892
|
+
nextPageToken?: string | null;
|
|
893
|
+
/**
|
|
894
|
+
* Telemetry events returned in the response.
|
|
895
|
+
*/
|
|
896
|
+
telemetryEvents?: Schema$GoogleChromeManagementV1TelemetryEvent[];
|
|
897
|
+
}
|
|
898
|
+
/**
|
|
899
|
+
* 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
|
|
761
900
|
*/
|
|
762
901
|
export interface Schema$GoogleChromeManagementV1MemoryInfo {
|
|
763
902
|
/**
|
|
@@ -774,7 +913,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
774
913
|
totalRamBytes?: string | null;
|
|
775
914
|
}
|
|
776
915
|
/**
|
|
777
|
-
* Contains samples of memory status reports.
|
|
916
|
+
* 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
|
|
778
917
|
*/
|
|
779
918
|
export interface Schema$GoogleChromeManagementV1MemoryStatusReport {
|
|
780
919
|
/**
|
|
@@ -795,7 +934,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
795
934
|
systemRamFreeBytes?: string | null;
|
|
796
935
|
}
|
|
797
936
|
/**
|
|
798
|
-
*
|
|
937
|
+
* 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
|
|
799
938
|
*/
|
|
800
939
|
export interface Schema$GoogleChromeManagementV1NetworkDevice {
|
|
801
940
|
/**
|
|
@@ -837,7 +976,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
837
976
|
reportTime?: string | null;
|
|
838
977
|
}
|
|
839
978
|
/**
|
|
840
|
-
* Network
|
|
979
|
+
* 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
|
|
841
980
|
*/
|
|
842
981
|
export interface Schema$GoogleChromeManagementV1NetworkInfo {
|
|
843
982
|
/**
|
|
@@ -846,7 +985,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
846
985
|
networkDevices?: Schema$GoogleChromeManagementV1NetworkDevice[];
|
|
847
986
|
}
|
|
848
987
|
/**
|
|
849
|
-
* State of visible/configured networks.
|
|
988
|
+
* 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
|
|
850
989
|
*/
|
|
851
990
|
export interface Schema$GoogleChromeManagementV1NetworkStatusReport {
|
|
852
991
|
/**
|
|
@@ -874,7 +1013,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
874
1013
|
*/
|
|
875
1014
|
lanIpAddress?: string | null;
|
|
876
1015
|
/**
|
|
877
|
-
* Output only. Receiving bit rate measured in
|
|
1016
|
+
* Output only. Receiving bit rate measured in Megabits per second.
|
|
878
1017
|
*/
|
|
879
1018
|
receivingBitRateMbps?: string | null;
|
|
880
1019
|
/**
|
|
@@ -890,7 +1029,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
890
1029
|
*/
|
|
891
1030
|
signalStrengthDbm?: number | null;
|
|
892
1031
|
/**
|
|
893
|
-
* Output only. Transmission bit rate measured in
|
|
1032
|
+
* Output only. Transmission bit rate measured in Megabits per second.
|
|
894
1033
|
*/
|
|
895
1034
|
transmissionBitRateMbps?: string | null;
|
|
896
1035
|
/**
|
|
@@ -907,7 +1046,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
907
1046
|
wifiPowerManagementEnabled?: boolean | null;
|
|
908
1047
|
}
|
|
909
1048
|
/**
|
|
910
|
-
* Contains information regarding the current OS update status.
|
|
1049
|
+
* 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
|
|
911
1050
|
*/
|
|
912
1051
|
export interface Schema$GoogleChromeManagementV1OsUpdateStatus {
|
|
913
1052
|
/**
|
|
@@ -936,7 +1075,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
936
1075
|
updateState?: string | null;
|
|
937
1076
|
}
|
|
938
1077
|
/**
|
|
939
|
-
* Status data for storage.
|
|
1078
|
+
* 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
|
|
940
1079
|
*/
|
|
941
1080
|
export interface Schema$GoogleChromeManagementV1StorageInfo {
|
|
942
1081
|
/**
|
|
@@ -970,7 +1109,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
970
1109
|
volumeId?: string | null;
|
|
971
1110
|
}
|
|
972
1111
|
/**
|
|
973
|
-
* Status data for storage.
|
|
1112
|
+
* 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
|
|
974
1113
|
*/
|
|
975
1114
|
export interface Schema$GoogleChromeManagementV1StorageStatusReport {
|
|
976
1115
|
/**
|
|
@@ -982,6 +1121,11 @@ export declare namespace chromemanagement_v1 {
|
|
|
982
1121
|
*/
|
|
983
1122
|
reportTime?: string | null;
|
|
984
1123
|
}
|
|
1124
|
+
/**
|
|
1125
|
+
* `TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run out of buffer data for more than 5 seconds.
|
|
1126
|
+
*/
|
|
1127
|
+
export interface Schema$GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent {
|
|
1128
|
+
}
|
|
985
1129
|
/**
|
|
986
1130
|
* Telemetry data collected from a managed device.
|
|
987
1131
|
*/
|
|
@@ -998,6 +1142,10 @@ export declare namespace chromemanagement_v1 {
|
|
|
998
1142
|
* Output only. Battery reports collected periodically.
|
|
999
1143
|
*/
|
|
1000
1144
|
batteryStatusReport?: Schema$GoogleChromeManagementV1BatteryStatusReport[];
|
|
1145
|
+
/**
|
|
1146
|
+
* Output only. Boot performance reports of the device.
|
|
1147
|
+
*/
|
|
1148
|
+
bootPerformanceReport?: Schema$GoogleChromeManagementV1BootPerformanceReport[];
|
|
1001
1149
|
/**
|
|
1002
1150
|
* Output only. Information regarding CPU specs for the device.
|
|
1003
1151
|
*/
|
|
@@ -1072,7 +1220,96 @@ export declare namespace chromemanagement_v1 {
|
|
|
1072
1220
|
thunderboltInfo?: Schema$GoogleChromeManagementV1ThunderboltInfo[];
|
|
1073
1221
|
}
|
|
1074
1222
|
/**
|
|
1075
|
-
*
|
|
1223
|
+
* Information about a device associated with telemetry data.
|
|
1224
|
+
*/
|
|
1225
|
+
export interface Schema$GoogleChromeManagementV1TelemetryDeviceInfo {
|
|
1226
|
+
/**
|
|
1227
|
+
* 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.
|
|
1228
|
+
*/
|
|
1229
|
+
deviceId?: string | null;
|
|
1230
|
+
/**
|
|
1231
|
+
* Output only. Organization unit ID of the device.
|
|
1232
|
+
*/
|
|
1233
|
+
orgUnitId?: string | null;
|
|
1234
|
+
}
|
|
1235
|
+
/**
|
|
1236
|
+
* Telemetry data reported by a managed device.
|
|
1237
|
+
*/
|
|
1238
|
+
export interface Schema$GoogleChromeManagementV1TelemetryEvent {
|
|
1239
|
+
/**
|
|
1240
|
+
* Output only. Payload for audio severe underrun event. Present only when the `event_type` field is `AUDIO_SEVERE_UNDERRUN`.
|
|
1241
|
+
*/
|
|
1242
|
+
audioSevereUnderrunEvent?: Schema$GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent;
|
|
1243
|
+
/**
|
|
1244
|
+
* Output only. Information about the device associated with the event.
|
|
1245
|
+
*/
|
|
1246
|
+
device?: Schema$GoogleChromeManagementV1TelemetryDeviceInfo;
|
|
1247
|
+
/**
|
|
1248
|
+
* The event type of the current event.
|
|
1249
|
+
*/
|
|
1250
|
+
eventType?: string | null;
|
|
1251
|
+
/**
|
|
1252
|
+
* Output only. Payload for HTTPS latency change event. Present only when `event_type` is `NETWORK_HTTPS_LATENCY_CHANGE`.
|
|
1253
|
+
*/
|
|
1254
|
+
httpsLatencyChangeEvent?: Schema$GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent;
|
|
1255
|
+
/**
|
|
1256
|
+
* Output only. Resource name of the event.
|
|
1257
|
+
*/
|
|
1258
|
+
name?: string | null;
|
|
1259
|
+
/**
|
|
1260
|
+
* Output only. Payload for network connection state change event. Present only when `event_type` is `NETWORK_CONNECTION_STATE_CHANGE`.
|
|
1261
|
+
*/
|
|
1262
|
+
networkConnectionStateChangeEvent?: Schema$GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent;
|
|
1263
|
+
/**
|
|
1264
|
+
* Timestamp that represents when the event was reported.
|
|
1265
|
+
*/
|
|
1266
|
+
reportTime?: string | null;
|
|
1267
|
+
/**
|
|
1268
|
+
* Output only. Information about the user associated with the event.
|
|
1269
|
+
*/
|
|
1270
|
+
user?: Schema$GoogleChromeManagementV1TelemetryUserInfo;
|
|
1271
|
+
}
|
|
1272
|
+
/**
|
|
1273
|
+
* 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..
|
|
1274
|
+
*/
|
|
1275
|
+
export interface Schema$GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent {
|
|
1276
|
+
/**
|
|
1277
|
+
* HTTPS latency routine data that triggered the event.
|
|
1278
|
+
*/
|
|
1279
|
+
httpsLatencyRoutineData?: Schema$GoogleChromeManagementV1HttpsLatencyRoutineData;
|
|
1280
|
+
/**
|
|
1281
|
+
* Current HTTPS latency state.
|
|
1282
|
+
*/
|
|
1283
|
+
httpsLatencyState?: string | null;
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
* `TelemetryNetworkConnectionStateChangeEvent` is triggered on network connection state changes.
|
|
1287
|
+
*/
|
|
1288
|
+
export interface Schema$GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent {
|
|
1289
|
+
/**
|
|
1290
|
+
* Current connection state of the network.
|
|
1291
|
+
*/
|
|
1292
|
+
connectionState?: string | null;
|
|
1293
|
+
/**
|
|
1294
|
+
* Unique identifier of the network.
|
|
1295
|
+
*/
|
|
1296
|
+
guid?: string | null;
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* Information about a user associated with telemetry data.
|
|
1300
|
+
*/
|
|
1301
|
+
export interface Schema$GoogleChromeManagementV1TelemetryUserInfo {
|
|
1302
|
+
/**
|
|
1303
|
+
* Output only. User's email.
|
|
1304
|
+
*/
|
|
1305
|
+
email?: string | null;
|
|
1306
|
+
/**
|
|
1307
|
+
* Output only. Organization unit ID of the user.
|
|
1308
|
+
*/
|
|
1309
|
+
orgUnitId?: string | null;
|
|
1310
|
+
}
|
|
1311
|
+
/**
|
|
1312
|
+
* 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
|
|
1076
1313
|
*/
|
|
1077
1314
|
export interface Schema$GoogleChromeManagementV1ThunderboltInfo {
|
|
1078
1315
|
/**
|
|
@@ -1081,7 +1318,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
1081
1318
|
securityLevel?: string | null;
|
|
1082
1319
|
}
|
|
1083
1320
|
/**
|
|
1084
|
-
* Memory encryption information of a device.
|
|
1321
|
+
* 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
|
|
1085
1322
|
*/
|
|
1086
1323
|
export interface Schema$GoogleChromeManagementV1TotalMemoryEncryptionInfo {
|
|
1087
1324
|
/**
|
|
@@ -1502,6 +1739,208 @@ export declare namespace chromemanagement_v1 {
|
|
|
1502
1739
|
export class Resource$Customers$Reports {
|
|
1503
1740
|
context: APIRequestContext;
|
|
1504
1741
|
constructor(context: APIRequestContext);
|
|
1742
|
+
/**
|
|
1743
|
+
* 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).
|
|
1744
|
+
* @example
|
|
1745
|
+
* ```js
|
|
1746
|
+
* // Before running the sample:
|
|
1747
|
+
* // - Enable the API at:
|
|
1748
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
1749
|
+
* // - Login into gcloud by running:
|
|
1750
|
+
* // `$ gcloud auth application-default login`
|
|
1751
|
+
* // - Install the npm module by running:
|
|
1752
|
+
* // `$ npm install googleapis`
|
|
1753
|
+
*
|
|
1754
|
+
* const {google} = require('googleapis');
|
|
1755
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
1756
|
+
*
|
|
1757
|
+
* async function main() {
|
|
1758
|
+
* const auth = new google.auth.GoogleAuth({
|
|
1759
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1760
|
+
* scopes: [
|
|
1761
|
+
* 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
|
|
1762
|
+
* ],
|
|
1763
|
+
* });
|
|
1764
|
+
*
|
|
1765
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
1766
|
+
* const authClient = await auth.getClient();
|
|
1767
|
+
* google.options({auth: authClient});
|
|
1768
|
+
*
|
|
1769
|
+
* // Do the magic
|
|
1770
|
+
* const res =
|
|
1771
|
+
* await chromemanagement.customers.reports.countChromeDevicesReachingAutoExpirationDate(
|
|
1772
|
+
* {
|
|
1773
|
+
* // Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
1774
|
+
* customer: 'customers/my-customer',
|
|
1775
|
+
* // 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.
|
|
1776
|
+
* maxAueDate: 'placeholder-value',
|
|
1777
|
+
* // 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.
|
|
1778
|
+
* minAueDate: 'placeholder-value',
|
|
1779
|
+
* // Optional. The organizational unit ID, if omitted, will return data for all organizational units.
|
|
1780
|
+
* orgUnitId: 'placeholder-value',
|
|
1781
|
+
* }
|
|
1782
|
+
* );
|
|
1783
|
+
* console.log(res.data);
|
|
1784
|
+
*
|
|
1785
|
+
* // Example response
|
|
1786
|
+
* // {
|
|
1787
|
+
* // "deviceAueCountReports": []
|
|
1788
|
+
* // }
|
|
1789
|
+
* }
|
|
1790
|
+
*
|
|
1791
|
+
* main().catch(e => {
|
|
1792
|
+
* console.error(e);
|
|
1793
|
+
* throw e;
|
|
1794
|
+
* });
|
|
1795
|
+
*
|
|
1796
|
+
* ```
|
|
1797
|
+
*
|
|
1798
|
+
* @param params - Parameters for request
|
|
1799
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1800
|
+
* @param callback - Optional callback that handles the response.
|
|
1801
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1802
|
+
*/
|
|
1803
|
+
countChromeDevicesReachingAutoExpirationDate(params: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1804
|
+
countChromeDevicesReachingAutoExpirationDate(params?: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>;
|
|
1805
|
+
countChromeDevicesReachingAutoExpirationDate(params: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1806
|
+
countChromeDevicesReachingAutoExpirationDate(params: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>): void;
|
|
1807
|
+
countChromeDevicesReachingAutoExpirationDate(params: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>): void;
|
|
1808
|
+
countChromeDevicesReachingAutoExpirationDate(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse>): void;
|
|
1809
|
+
/**
|
|
1810
|
+
* 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
|
|
1811
|
+
* @example
|
|
1812
|
+
* ```js
|
|
1813
|
+
* // Before running the sample:
|
|
1814
|
+
* // - Enable the API at:
|
|
1815
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
1816
|
+
* // - Login into gcloud by running:
|
|
1817
|
+
* // `$ gcloud auth application-default login`
|
|
1818
|
+
* // - Install the npm module by running:
|
|
1819
|
+
* // `$ npm install googleapis`
|
|
1820
|
+
*
|
|
1821
|
+
* const {google} = require('googleapis');
|
|
1822
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
1823
|
+
*
|
|
1824
|
+
* async function main() {
|
|
1825
|
+
* const auth = new google.auth.GoogleAuth({
|
|
1826
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1827
|
+
* scopes: [
|
|
1828
|
+
* 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
|
|
1829
|
+
* ],
|
|
1830
|
+
* });
|
|
1831
|
+
*
|
|
1832
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
1833
|
+
* const authClient = await auth.getClient();
|
|
1834
|
+
* google.options({auth: authClient});
|
|
1835
|
+
*
|
|
1836
|
+
* // Do the magic
|
|
1837
|
+
* const res =
|
|
1838
|
+
* await chromemanagement.customers.reports.countChromeDevicesThatNeedAttention(
|
|
1839
|
+
* {
|
|
1840
|
+
* // Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
1841
|
+
* customer: 'customers/my-customer',
|
|
1842
|
+
* // Optional. The ID of the organizational unit. If omitted, all data will be returned.
|
|
1843
|
+
* orgUnitId: 'placeholder-value',
|
|
1844
|
+
* // Required. Mask of the fields that should be populated in the returned report.
|
|
1845
|
+
* readMask: 'placeholder-value',
|
|
1846
|
+
* }
|
|
1847
|
+
* );
|
|
1848
|
+
* console.log(res.data);
|
|
1849
|
+
*
|
|
1850
|
+
* // Example response
|
|
1851
|
+
* // {
|
|
1852
|
+
* // "noRecentPolicySyncCount": "my_noRecentPolicySyncCount",
|
|
1853
|
+
* // "noRecentUserActivityCount": "my_noRecentUserActivityCount",
|
|
1854
|
+
* // "osVersionNotCompliantCount": "my_osVersionNotCompliantCount",
|
|
1855
|
+
* // "pendingUpdate": "my_pendingUpdate",
|
|
1856
|
+
* // "unsupportedPolicyCount": "my_unsupportedPolicyCount"
|
|
1857
|
+
* // }
|
|
1858
|
+
* }
|
|
1859
|
+
*
|
|
1860
|
+
* main().catch(e => {
|
|
1861
|
+
* console.error(e);
|
|
1862
|
+
* throw e;
|
|
1863
|
+
* });
|
|
1864
|
+
*
|
|
1865
|
+
* ```
|
|
1866
|
+
*
|
|
1867
|
+
* @param params - Parameters for request
|
|
1868
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1869
|
+
* @param callback - Optional callback that handles the response.
|
|
1870
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1871
|
+
*/
|
|
1872
|
+
countChromeDevicesThatNeedAttention(params: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1873
|
+
countChromeDevicesThatNeedAttention(params?: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>;
|
|
1874
|
+
countChromeDevicesThatNeedAttention(params: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1875
|
+
countChromeDevicesThatNeedAttention(params: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>): void;
|
|
1876
|
+
countChromeDevicesThatNeedAttention(params: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>): void;
|
|
1877
|
+
countChromeDevicesThatNeedAttention(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse>): void;
|
|
1878
|
+
/**
|
|
1879
|
+
* 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
|
|
1880
|
+
* @example
|
|
1881
|
+
* ```js
|
|
1882
|
+
* // Before running the sample:
|
|
1883
|
+
* // - Enable the API at:
|
|
1884
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
1885
|
+
* // - Login into gcloud by running:
|
|
1886
|
+
* // `$ gcloud auth application-default login`
|
|
1887
|
+
* // - Install the npm module by running:
|
|
1888
|
+
* // `$ npm install googleapis`
|
|
1889
|
+
*
|
|
1890
|
+
* const {google} = require('googleapis');
|
|
1891
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
1892
|
+
*
|
|
1893
|
+
* async function main() {
|
|
1894
|
+
* const auth = new google.auth.GoogleAuth({
|
|
1895
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1896
|
+
* scopes: [
|
|
1897
|
+
* 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
|
|
1898
|
+
* ],
|
|
1899
|
+
* });
|
|
1900
|
+
*
|
|
1901
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
1902
|
+
* const authClient = await auth.getClient();
|
|
1903
|
+
* google.options({auth: authClient});
|
|
1904
|
+
*
|
|
1905
|
+
* // Do the magic
|
|
1906
|
+
* const res =
|
|
1907
|
+
* await chromemanagement.customers.reports.countChromeHardwareFleetDevices({
|
|
1908
|
+
* // Required. The customer ID or "my_customer".
|
|
1909
|
+
* customer: 'customers/my-customer',
|
|
1910
|
+
* // Optional. The ID of the organizational unit. If omitted, all data will be returned.
|
|
1911
|
+
* orgUnitId: 'placeholder-value',
|
|
1912
|
+
* // Required. Mask of the fields that should be populated in the returned report.
|
|
1913
|
+
* readMask: 'placeholder-value',
|
|
1914
|
+
* });
|
|
1915
|
+
* console.log(res.data);
|
|
1916
|
+
*
|
|
1917
|
+
* // Example response
|
|
1918
|
+
* // {
|
|
1919
|
+
* // "cpuReports": [],
|
|
1920
|
+
* // "memoryReports": [],
|
|
1921
|
+
* // "modelReports": [],
|
|
1922
|
+
* // "storageReports": []
|
|
1923
|
+
* // }
|
|
1924
|
+
* }
|
|
1925
|
+
*
|
|
1926
|
+
* main().catch(e => {
|
|
1927
|
+
* console.error(e);
|
|
1928
|
+
* throw e;
|
|
1929
|
+
* });
|
|
1930
|
+
*
|
|
1931
|
+
* ```
|
|
1932
|
+
*
|
|
1933
|
+
* @param params - Parameters for request
|
|
1934
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1935
|
+
* @param callback - Optional callback that handles the response.
|
|
1936
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1937
|
+
*/
|
|
1938
|
+
countChromeHardwareFleetDevices(params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1939
|
+
countChromeHardwareFleetDevices(params?: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>;
|
|
1940
|
+
countChromeHardwareFleetDevices(params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1941
|
+
countChromeHardwareFleetDevices(params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>): void;
|
|
1942
|
+
countChromeHardwareFleetDevices(params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>): void;
|
|
1943
|
+
countChromeHardwareFleetDevices(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>): void;
|
|
1505
1944
|
/**
|
|
1506
1945
|
* Generate report of installed Chrome versions.
|
|
1507
1946
|
* @example
|
|
@@ -1715,6 +2154,52 @@ export declare namespace chromemanagement_v1 {
|
|
|
1715
2154
|
findInstalledAppDevices(params: Params$Resource$Customers$Reports$Findinstalledappdevices, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>): void;
|
|
1716
2155
|
findInstalledAppDevices(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>): void;
|
|
1717
2156
|
}
|
|
2157
|
+
export interface Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate extends StandardParameters {
|
|
2158
|
+
/**
|
|
2159
|
+
* Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
2160
|
+
*/
|
|
2161
|
+
customer?: string;
|
|
2162
|
+
/**
|
|
2163
|
+
* 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.
|
|
2164
|
+
*/
|
|
2165
|
+
maxAueDate?: string;
|
|
2166
|
+
/**
|
|
2167
|
+
* 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.
|
|
2168
|
+
*/
|
|
2169
|
+
minAueDate?: string;
|
|
2170
|
+
/**
|
|
2171
|
+
* Optional. The organizational unit ID, if omitted, will return data for all organizational units.
|
|
2172
|
+
*/
|
|
2173
|
+
orgUnitId?: string;
|
|
2174
|
+
}
|
|
2175
|
+
export interface Params$Resource$Customers$Reports$Countchromedevicesthatneedattention extends StandardParameters {
|
|
2176
|
+
/**
|
|
2177
|
+
* Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
2178
|
+
*/
|
|
2179
|
+
customer?: string;
|
|
2180
|
+
/**
|
|
2181
|
+
* Optional. The ID of the organizational unit. If omitted, all data will be returned.
|
|
2182
|
+
*/
|
|
2183
|
+
orgUnitId?: string;
|
|
2184
|
+
/**
|
|
2185
|
+
* Required. Mask of the fields that should be populated in the returned report.
|
|
2186
|
+
*/
|
|
2187
|
+
readMask?: string;
|
|
2188
|
+
}
|
|
2189
|
+
export interface Params$Resource$Customers$Reports$Countchromehardwarefleetdevices extends StandardParameters {
|
|
2190
|
+
/**
|
|
2191
|
+
* Required. The customer ID or "my_customer".
|
|
2192
|
+
*/
|
|
2193
|
+
customer?: string;
|
|
2194
|
+
/**
|
|
2195
|
+
* Optional. The ID of the organizational unit. If omitted, all data will be returned.
|
|
2196
|
+
*/
|
|
2197
|
+
orgUnitId?: string;
|
|
2198
|
+
/**
|
|
2199
|
+
* Required. Mask of the fields that should be populated in the returned report.
|
|
2200
|
+
*/
|
|
2201
|
+
readMask?: string;
|
|
2202
|
+
}
|
|
1718
2203
|
export interface Params$Resource$Customers$Reports$Countchromeversions extends StandardParameters {
|
|
1719
2204
|
/**
|
|
1720
2205
|
* Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
@@ -1800,6 +2285,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
1800
2285
|
export class Resource$Customers$Telemetry {
|
|
1801
2286
|
context: APIRequestContext;
|
|
1802
2287
|
devices: Resource$Customers$Telemetry$Devices;
|
|
2288
|
+
events: Resource$Customers$Telemetry$Events;
|
|
1803
2289
|
constructor(context: APIRequestContext);
|
|
1804
2290
|
}
|
|
1805
2291
|
export class Resource$Customers$Telemetry$Devices {
|
|
@@ -1846,6 +2332,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
1846
2332
|
* // "audioStatusReport": [],
|
|
1847
2333
|
* // "batteryInfo": [],
|
|
1848
2334
|
* // "batteryStatusReport": [],
|
|
2335
|
+
* // "bootPerformanceReport": [],
|
|
1849
2336
|
* // "cpuInfo": [],
|
|
1850
2337
|
* // "cpuStatusReport": [],
|
|
1851
2338
|
* // "customer": "my_customer",
|
|
@@ -1985,5 +2472,98 @@ export declare namespace chromemanagement_v1 {
|
|
|
1985
2472
|
*/
|
|
1986
2473
|
readMask?: string;
|
|
1987
2474
|
}
|
|
2475
|
+
export class Resource$Customers$Telemetry$Events {
|
|
2476
|
+
context: APIRequestContext;
|
|
2477
|
+
constructor(context: APIRequestContext);
|
|
2478
|
+
/**
|
|
2479
|
+
* List telemetry events.
|
|
2480
|
+
* @example
|
|
2481
|
+
* ```js
|
|
2482
|
+
* // Before running the sample:
|
|
2483
|
+
* // - Enable the API at:
|
|
2484
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
2485
|
+
* // - Login into gcloud by running:
|
|
2486
|
+
* // `$ gcloud auth application-default login`
|
|
2487
|
+
* // - Install the npm module by running:
|
|
2488
|
+
* // `$ npm install googleapis`
|
|
2489
|
+
*
|
|
2490
|
+
* const {google} = require('googleapis');
|
|
2491
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
2492
|
+
*
|
|
2493
|
+
* async function main() {
|
|
2494
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2495
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2496
|
+
* scopes: [
|
|
2497
|
+
* 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly',
|
|
2498
|
+
* ],
|
|
2499
|
+
* });
|
|
2500
|
+
*
|
|
2501
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2502
|
+
* const authClient = await auth.getClient();
|
|
2503
|
+
* google.options({auth: authClient});
|
|
2504
|
+
*
|
|
2505
|
+
* // Do the magic
|
|
2506
|
+
* const res = await chromemanagement.customers.telemetry.events.list({
|
|
2507
|
+
* // 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
|
|
2508
|
+
* filter: 'placeholder-value',
|
|
2509
|
+
* // Optional. Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
2510
|
+
* pageSize: 'placeholder-value',
|
|
2511
|
+
* // Optional. Token to specify next page in the list.
|
|
2512
|
+
* pageToken: 'placeholder-value',
|
|
2513
|
+
* // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
2514
|
+
* parent: 'customers/my-customer',
|
|
2515
|
+
* // Required. Read mask to specify which fields to return.
|
|
2516
|
+
* readMask: 'placeholder-value',
|
|
2517
|
+
* });
|
|
2518
|
+
* console.log(res.data);
|
|
2519
|
+
*
|
|
2520
|
+
* // Example response
|
|
2521
|
+
* // {
|
|
2522
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
2523
|
+
* // "telemetryEvents": []
|
|
2524
|
+
* // }
|
|
2525
|
+
* }
|
|
2526
|
+
*
|
|
2527
|
+
* main().catch(e => {
|
|
2528
|
+
* console.error(e);
|
|
2529
|
+
* throw e;
|
|
2530
|
+
* });
|
|
2531
|
+
*
|
|
2532
|
+
* ```
|
|
2533
|
+
*
|
|
2534
|
+
* @param params - Parameters for request
|
|
2535
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2536
|
+
* @param callback - Optional callback that handles the response.
|
|
2537
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2538
|
+
*/
|
|
2539
|
+
list(params: Params$Resource$Customers$Telemetry$Events$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2540
|
+
list(params?: Params$Resource$Customers$Telemetry$Events$List, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>;
|
|
2541
|
+
list(params: Params$Resource$Customers$Telemetry$Events$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2542
|
+
list(params: Params$Resource$Customers$Telemetry$Events$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>): void;
|
|
2543
|
+
list(params: Params$Resource$Customers$Telemetry$Events$List, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>): void;
|
|
2544
|
+
list(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryEventsResponse>): void;
|
|
2545
|
+
}
|
|
2546
|
+
export interface Params$Resource$Customers$Telemetry$Events$List extends StandardParameters {
|
|
2547
|
+
/**
|
|
2548
|
+
* 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
|
|
2549
|
+
*/
|
|
2550
|
+
filter?: string;
|
|
2551
|
+
/**
|
|
2552
|
+
* Optional. Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
2553
|
+
*/
|
|
2554
|
+
pageSize?: number;
|
|
2555
|
+
/**
|
|
2556
|
+
* Optional. Token to specify next page in the list.
|
|
2557
|
+
*/
|
|
2558
|
+
pageToken?: string;
|
|
2559
|
+
/**
|
|
2560
|
+
* Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
2561
|
+
*/
|
|
2562
|
+
parent?: string;
|
|
2563
|
+
/**
|
|
2564
|
+
* Required. Read mask to specify which fields to return.
|
|
2565
|
+
*/
|
|
2566
|
+
readMask?: string;
|
|
2567
|
+
}
|
|
1988
2568
|
export {};
|
|
1989
2569
|
}
|