@googleapis/chromemanagement 1.1.0 → 1.2.2
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 +21 -0
- package/build/v1.d.ts +601 -0
- package/build/v1.js +45 -0
- package/build/v1.js.map +1 -1
- package/package.json +2 -2
- package/v1.ts +694 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
### [1.2.2](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v1.2.1...chromemanagement-v1.2.2) (2022-03-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **chromemanagement:** update the API ([da7d160](https://github.com/googleapis/google-api-nodejs-client/commit/da7d16072496fd8058213779144a42ce1cc27d60))
|
|
9
|
+
|
|
10
|
+
### [1.2.1](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v1.2.0...chromemanagement-v1.2.1) (2022-02-04)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **chromemanagement:** update the API ([f6f6570](https://github.com/googleapis/google-api-nodejs-client/commit/f6f6570f9d53dd3b8a1368fd2895e072f51bdb54))
|
|
16
|
+
|
|
17
|
+
## [1.2.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v1.1.0...chromemanagement-v1.2.0) (2021-11-25)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **chromemanagement:** update the API ([fb221b4](https://www.github.com/googleapis/google-api-nodejs-client/commit/fb221b43b54f219af8bb881727b71da226c03487))
|
|
23
|
+
|
|
3
24
|
## [1.1.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v1.0.0...chromemanagement-v1.1.0) (2021-10-28)
|
|
4
25
|
|
|
5
26
|
|
package/build/v1.d.ts
CHANGED
|
@@ -170,6 +170,101 @@ export declare namespace chromemanagement_v1 {
|
|
|
170
170
|
*/
|
|
171
171
|
type?: string | null;
|
|
172
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
* Battery info
|
|
175
|
+
*/
|
|
176
|
+
export interface Schema$GoogleChromeManagementV1BatteryInfo {
|
|
177
|
+
/**
|
|
178
|
+
* Output only. Design capacity (mAmpere-hours).
|
|
179
|
+
*/
|
|
180
|
+
designCapacity?: string | null;
|
|
181
|
+
/**
|
|
182
|
+
* Output only. Designed minimum output voltage (mV)
|
|
183
|
+
*/
|
|
184
|
+
designMinVoltage?: number | null;
|
|
185
|
+
/**
|
|
186
|
+
* Output only. The date the battery was manufactured.
|
|
187
|
+
*/
|
|
188
|
+
manufactureDate?: Schema$GoogleTypeDate;
|
|
189
|
+
/**
|
|
190
|
+
* Output only. Battery manufacturer.
|
|
191
|
+
*/
|
|
192
|
+
manufacturer?: string | null;
|
|
193
|
+
/**
|
|
194
|
+
* Output only. Battery serial number.
|
|
195
|
+
*/
|
|
196
|
+
serialNumber?: string | null;
|
|
197
|
+
/**
|
|
198
|
+
* Output only. Technology of the battery. Example: Li-ion
|
|
199
|
+
*/
|
|
200
|
+
technology?: string | null;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Sampling data for battery.
|
|
204
|
+
*/
|
|
205
|
+
export interface Schema$GoogleChromeManagementV1BatterySampleReport {
|
|
206
|
+
/**
|
|
207
|
+
* Output only. Battery charge percentage.
|
|
208
|
+
*/
|
|
209
|
+
chargeRate?: number | null;
|
|
210
|
+
/**
|
|
211
|
+
* Output only. Battery current (mA).
|
|
212
|
+
*/
|
|
213
|
+
current?: string | null;
|
|
214
|
+
/**
|
|
215
|
+
* Output only. The battery discharge rate measured in mW. Positive if the battery is being discharged, negative if it's being charged.
|
|
216
|
+
*/
|
|
217
|
+
dischargeRate?: number | null;
|
|
218
|
+
/**
|
|
219
|
+
* Output only. Battery remaining capacity (mAmpere-hours).
|
|
220
|
+
*/
|
|
221
|
+
remainingCapacity?: string | null;
|
|
222
|
+
/**
|
|
223
|
+
* Output only. Timestamp of when the sample was collected on device
|
|
224
|
+
*/
|
|
225
|
+
reportTime?: string | null;
|
|
226
|
+
/**
|
|
227
|
+
* Output only. Battery status read from sysfs. Example: Discharging
|
|
228
|
+
*/
|
|
229
|
+
status?: string | null;
|
|
230
|
+
/**
|
|
231
|
+
* Output only. Temperature in Celsius degrees.
|
|
232
|
+
*/
|
|
233
|
+
temperature?: number | null;
|
|
234
|
+
/**
|
|
235
|
+
* Output only. Battery voltage (millivolt).
|
|
236
|
+
*/
|
|
237
|
+
voltage?: string | null;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Status data for battery.
|
|
241
|
+
*/
|
|
242
|
+
export interface Schema$GoogleChromeManagementV1BatteryStatusReport {
|
|
243
|
+
/**
|
|
244
|
+
* Output only. Battery health.
|
|
245
|
+
*/
|
|
246
|
+
batteryHealth?: string | null;
|
|
247
|
+
/**
|
|
248
|
+
* Output only. Cycle count.
|
|
249
|
+
*/
|
|
250
|
+
cycleCount?: number | null;
|
|
251
|
+
/**
|
|
252
|
+
* Output only. Full charge capacity (mAmpere-hours).
|
|
253
|
+
*/
|
|
254
|
+
fullChargeCapacity?: string | null;
|
|
255
|
+
/**
|
|
256
|
+
* Output only. Timestamp of when the sample was collected on device
|
|
257
|
+
*/
|
|
258
|
+
reportTime?: string | null;
|
|
259
|
+
/**
|
|
260
|
+
* Output only. Sampling data for the battery.
|
|
261
|
+
*/
|
|
262
|
+
sample?: Schema$GoogleChromeManagementV1BatterySampleReport[];
|
|
263
|
+
/**
|
|
264
|
+
* Output only. Battery serial number.
|
|
265
|
+
*/
|
|
266
|
+
serialNumber?: string | null;
|
|
267
|
+
}
|
|
173
268
|
/**
|
|
174
269
|
* Describes a browser version and its install count.
|
|
175
270
|
*/
|
|
@@ -338,6 +433,57 @@ export declare namespace chromemanagement_v1 {
|
|
|
338
433
|
*/
|
|
339
434
|
totalSize?: number | null;
|
|
340
435
|
}
|
|
436
|
+
/**
|
|
437
|
+
* CPU specs for a CPU.
|
|
438
|
+
*/
|
|
439
|
+
export interface Schema$GoogleChromeManagementV1CpuInfo {
|
|
440
|
+
/**
|
|
441
|
+
* Output only. The CPU architecture.
|
|
442
|
+
*/
|
|
443
|
+
architecture?: string | null;
|
|
444
|
+
/**
|
|
445
|
+
* Output only. The max CPU clock speed in kHz.
|
|
446
|
+
*/
|
|
447
|
+
maxClockSpeed?: number | null;
|
|
448
|
+
/**
|
|
449
|
+
* Output only. The CPU model name. Example: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
|
|
450
|
+
*/
|
|
451
|
+
model?: string | null;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* Contains samples of the cpu status reports.
|
|
455
|
+
*/
|
|
456
|
+
export interface Schema$GoogleChromeManagementV1CpuStatusReport {
|
|
457
|
+
/**
|
|
458
|
+
* Output only. CPU temperature sample info per CPU core in Celsius
|
|
459
|
+
*/
|
|
460
|
+
cpuTemperatureInfo?: Schema$GoogleChromeManagementV1CpuTemperatureInfo[];
|
|
461
|
+
/**
|
|
462
|
+
* Output only. Sample of CPU utilization (0-100 percent).
|
|
463
|
+
*/
|
|
464
|
+
cpuUtilizationPct?: number | null;
|
|
465
|
+
/**
|
|
466
|
+
* Output only. The timestamp in milliseconds representing time at which this report was sampled.
|
|
467
|
+
*/
|
|
468
|
+
reportTime?: string | null;
|
|
469
|
+
/**
|
|
470
|
+
* Output only. Frequency the report is sampled.
|
|
471
|
+
*/
|
|
472
|
+
sampleFrequency?: string | null;
|
|
473
|
+
}
|
|
474
|
+
/**
|
|
475
|
+
* CPU temperature of a device. Sampled per CPU core in Celsius
|
|
476
|
+
*/
|
|
477
|
+
export interface Schema$GoogleChromeManagementV1CpuTemperatureInfo {
|
|
478
|
+
/**
|
|
479
|
+
* Output only. CPU label. Example: Core 0
|
|
480
|
+
*/
|
|
481
|
+
label?: string | null;
|
|
482
|
+
/**
|
|
483
|
+
* Output only. CPU temperature in Celsius.
|
|
484
|
+
*/
|
|
485
|
+
temperatureCelsius?: number | null;
|
|
486
|
+
}
|
|
341
487
|
/**
|
|
342
488
|
* Describes a device reporting Chrome browser information.
|
|
343
489
|
*/
|
|
@@ -351,6 +497,88 @@ export declare namespace chromemanagement_v1 {
|
|
|
351
497
|
*/
|
|
352
498
|
machine?: string | null;
|
|
353
499
|
}
|
|
500
|
+
/**
|
|
501
|
+
* Status of the single storage device.
|
|
502
|
+
*/
|
|
503
|
+
export interface Schema$GoogleChromeManagementV1DiskInfo {
|
|
504
|
+
/**
|
|
505
|
+
* Output only. Number of bytes read since last boot.
|
|
506
|
+
*/
|
|
507
|
+
bytesReadThisSession?: string | null;
|
|
508
|
+
/**
|
|
509
|
+
* Output only. Number of bytes written since last boot.
|
|
510
|
+
*/
|
|
511
|
+
bytesWrittenThisSession?: string | null;
|
|
512
|
+
/**
|
|
513
|
+
* Output only. Time spent discarding since last boot. Discarding is writing to clear blocks which are no longer in use. Supported on kernels 4.18+.
|
|
514
|
+
*/
|
|
515
|
+
discardTimeThisSession?: string | null;
|
|
516
|
+
/**
|
|
517
|
+
* Output only. Disk health.
|
|
518
|
+
*/
|
|
519
|
+
health?: string | null;
|
|
520
|
+
/**
|
|
521
|
+
* Output only. Counts the time the disk and queue were busy, so unlike the fields above, parallel requests are not counted multiple times.
|
|
522
|
+
*/
|
|
523
|
+
ioTimeThisSession?: string | null;
|
|
524
|
+
/**
|
|
525
|
+
* Output only. Disk manufacturer.
|
|
526
|
+
*/
|
|
527
|
+
manufacturer?: string | null;
|
|
528
|
+
/**
|
|
529
|
+
* Output only. Disk model.
|
|
530
|
+
*/
|
|
531
|
+
model?: string | null;
|
|
532
|
+
/**
|
|
533
|
+
* Output only. Time spent reading from disk since last boot.
|
|
534
|
+
*/
|
|
535
|
+
readTimeThisSession?: string | null;
|
|
536
|
+
/**
|
|
537
|
+
* Output only. Disk serial number.
|
|
538
|
+
*/
|
|
539
|
+
serialNumber?: string | null;
|
|
540
|
+
/**
|
|
541
|
+
* Output only. Disk size.
|
|
542
|
+
*/
|
|
543
|
+
sizeBytes?: string | null;
|
|
544
|
+
/**
|
|
545
|
+
* Output only. Disk type: eMMC / NVMe / ATA / SCSI.
|
|
546
|
+
*/
|
|
547
|
+
type?: string | null;
|
|
548
|
+
/**
|
|
549
|
+
* Output only. Disk volumes.
|
|
550
|
+
*/
|
|
551
|
+
volumeIds?: string[] | null;
|
|
552
|
+
/**
|
|
553
|
+
* Output only. Time spent writing to disk since last boot.
|
|
554
|
+
*/
|
|
555
|
+
writeTimeThisSession?: string | null;
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* Information for a display.
|
|
559
|
+
*/
|
|
560
|
+
export interface Schema$GoogleChromeManagementV1DisplayInfo {
|
|
561
|
+
/**
|
|
562
|
+
* Output only. Represents the graphics card device id.
|
|
563
|
+
*/
|
|
564
|
+
deviceId?: string | null;
|
|
565
|
+
/**
|
|
566
|
+
* Output only. Indicates if display is internal or not.
|
|
567
|
+
*/
|
|
568
|
+
isInternal?: boolean | null;
|
|
569
|
+
/**
|
|
570
|
+
* Output only. Refresh rate in Hz.
|
|
571
|
+
*/
|
|
572
|
+
refreshRate?: number | null;
|
|
573
|
+
/**
|
|
574
|
+
* Output only. Resolution height in pixels.
|
|
575
|
+
*/
|
|
576
|
+
resolutionHeight?: number | null;
|
|
577
|
+
/**
|
|
578
|
+
* Output only. Resolution width in pixels.
|
|
579
|
+
*/
|
|
580
|
+
resolutionWidth?: number | null;
|
|
581
|
+
}
|
|
354
582
|
/**
|
|
355
583
|
* Response containing a list of devices with queried app installed.
|
|
356
584
|
*/
|
|
@@ -368,6 +596,45 @@ export declare namespace chromemanagement_v1 {
|
|
|
368
596
|
*/
|
|
369
597
|
totalSize?: number | null;
|
|
370
598
|
}
|
|
599
|
+
/**
|
|
600
|
+
* Information of a graphics adapter (GPU).
|
|
601
|
+
*/
|
|
602
|
+
export interface Schema$GoogleChromeManagementV1GraphicsAdapterInfo {
|
|
603
|
+
/**
|
|
604
|
+
* Output only. Adapter name. Example: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2).
|
|
605
|
+
*/
|
|
606
|
+
adapter?: string | null;
|
|
607
|
+
/**
|
|
608
|
+
* Output only. Represents the graphics card device id.
|
|
609
|
+
*/
|
|
610
|
+
deviceId?: string | null;
|
|
611
|
+
/**
|
|
612
|
+
* Output only. Version of the GPU driver.
|
|
613
|
+
*/
|
|
614
|
+
driverVersion?: string | null;
|
|
615
|
+
}
|
|
616
|
+
/**
|
|
617
|
+
* Information of the graphics subsystem.
|
|
618
|
+
*/
|
|
619
|
+
export interface Schema$GoogleChromeManagementV1GraphicsInfo {
|
|
620
|
+
/**
|
|
621
|
+
* Output only. Information about the graphics adapter (GPU).
|
|
622
|
+
*/
|
|
623
|
+
adapterInfo?: Schema$GoogleChromeManagementV1GraphicsAdapterInfo;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* Information of the graphics subsystem.
|
|
627
|
+
*/
|
|
628
|
+
export interface Schema$GoogleChromeManagementV1GraphicsStatusReport {
|
|
629
|
+
/**
|
|
630
|
+
* Output only. Information about the displays for the device.
|
|
631
|
+
*/
|
|
632
|
+
displays?: Schema$GoogleChromeManagementV1DisplayInfo[];
|
|
633
|
+
/**
|
|
634
|
+
* Output only. Time at which the graphics data was reported.
|
|
635
|
+
*/
|
|
636
|
+
reportTime?: string | null;
|
|
637
|
+
}
|
|
371
638
|
/**
|
|
372
639
|
* Describes an installed app.
|
|
373
640
|
*/
|
|
@@ -417,6 +684,224 @@ export declare namespace chromemanagement_v1 {
|
|
|
417
684
|
*/
|
|
418
685
|
permissions?: string[] | null;
|
|
419
686
|
}
|
|
687
|
+
export interface Schema$GoogleChromeManagementV1ListTelemetryDevicesResponse {
|
|
688
|
+
/**
|
|
689
|
+
* Telemetry devices returned in the response.
|
|
690
|
+
*/
|
|
691
|
+
devices?: Schema$GoogleChromeManagementV1TelemetryDevice[];
|
|
692
|
+
/**
|
|
693
|
+
* Token to specify next page in the list.
|
|
694
|
+
*/
|
|
695
|
+
nextPageToken?: string | null;
|
|
696
|
+
}
|
|
697
|
+
/**
|
|
698
|
+
* Memory information of a device.
|
|
699
|
+
*/
|
|
700
|
+
export interface Schema$GoogleChromeManagementV1MemoryInfo {
|
|
701
|
+
/**
|
|
702
|
+
* Output only. Amount of available RAM in bytes.
|
|
703
|
+
*/
|
|
704
|
+
availableRamBytes?: string | null;
|
|
705
|
+
/**
|
|
706
|
+
* Output only. Total RAM in bytes.
|
|
707
|
+
*/
|
|
708
|
+
totalRamBytes?: string | null;
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* Contains samples of memory status reports.
|
|
712
|
+
*/
|
|
713
|
+
export interface Schema$GoogleChromeManagementV1MemoryStatusReport {
|
|
714
|
+
/**
|
|
715
|
+
* Output only. Number of page faults during this collection
|
|
716
|
+
*/
|
|
717
|
+
pageFaults?: number | null;
|
|
718
|
+
/**
|
|
719
|
+
* Output only. The timestamp in milliseconds representing time at which this report was sampled.
|
|
720
|
+
*/
|
|
721
|
+
reportTime?: string | null;
|
|
722
|
+
/**
|
|
723
|
+
* Output only. Frequency the report is sampled.
|
|
724
|
+
*/
|
|
725
|
+
sampleFrequency?: string | null;
|
|
726
|
+
/**
|
|
727
|
+
* Output only. Amount of free RAM in bytes (unreliable due to Garbage Collection).
|
|
728
|
+
*/
|
|
729
|
+
systemRamFreeBytes?: string | null;
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* State of visible/configured networks.
|
|
733
|
+
*/
|
|
734
|
+
export interface Schema$GoogleChromeManagementV1NetworkStatusReport {
|
|
735
|
+
/**
|
|
736
|
+
* Output only. Gateway IP address.
|
|
737
|
+
*/
|
|
738
|
+
gatewayIpAddress?: string | null;
|
|
739
|
+
/**
|
|
740
|
+
* Output only. LAN IP address.
|
|
741
|
+
*/
|
|
742
|
+
lanIpAddress?: string | null;
|
|
743
|
+
/**
|
|
744
|
+
* Output only. Time at which the network state was reported.
|
|
745
|
+
*/
|
|
746
|
+
reportTime?: string | null;
|
|
747
|
+
/**
|
|
748
|
+
* Output only. Frequency the report is sampled.
|
|
749
|
+
*/
|
|
750
|
+
sampleFrequency?: string | null;
|
|
751
|
+
/**
|
|
752
|
+
* Output only. Signal strength for wireless networks measured in decibels.
|
|
753
|
+
*/
|
|
754
|
+
signalStrengthDbm?: number | null;
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* Contains information regarding the current OS update status.
|
|
758
|
+
*/
|
|
759
|
+
export interface Schema$GoogleChromeManagementV1OsUpdateStatus {
|
|
760
|
+
/**
|
|
761
|
+
* Output only. Timestamp of the last reboot.
|
|
762
|
+
*/
|
|
763
|
+
lastRebootTime?: string | null;
|
|
764
|
+
/**
|
|
765
|
+
* Output only. Timestamp of the last update check.
|
|
766
|
+
*/
|
|
767
|
+
lastUpdateCheckTime?: string | null;
|
|
768
|
+
/**
|
|
769
|
+
* Output only. Timestamp of the last successful update.
|
|
770
|
+
*/
|
|
771
|
+
lastUpdateTime?: string | null;
|
|
772
|
+
/**
|
|
773
|
+
* Output only. New platform version of the os image being downloaded and applied. It is only set when update status is OS_IMAGE_DOWNLOAD_IN_PROGRESS or OS_UPDATE_NEED_REBOOT. Note this could be a dummy "0.0.0.0" for OS_UPDATE_NEED_REBOOT status for some edge cases, e.g. update engine is restarted without a reboot.
|
|
774
|
+
*/
|
|
775
|
+
newPlatformVersion?: string | null;
|
|
776
|
+
/**
|
|
777
|
+
* Output only. New requested platform version from the pending updated kiosk app.
|
|
778
|
+
*/
|
|
779
|
+
newRequestedPlatformVersion?: string | null;
|
|
780
|
+
/**
|
|
781
|
+
* Output only. Current state of the os update.
|
|
782
|
+
*/
|
|
783
|
+
updateState?: string | null;
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* Status data for storage.
|
|
787
|
+
*/
|
|
788
|
+
export interface Schema$GoogleChromeManagementV1StorageInfo {
|
|
789
|
+
/**
|
|
790
|
+
* The available space for user data storage in the device in bytes.
|
|
791
|
+
*/
|
|
792
|
+
availableDiskBytes?: string | null;
|
|
793
|
+
/**
|
|
794
|
+
* The total space for user data storage in the device in bytes.
|
|
795
|
+
*/
|
|
796
|
+
totalDiskBytes?: string | null;
|
|
797
|
+
/**
|
|
798
|
+
* Information for disk volumes
|
|
799
|
+
*/
|
|
800
|
+
volume?: Schema$GoogleChromeManagementV1StorageInfoDiskVolume[];
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* Information for disk volumes
|
|
804
|
+
*/
|
|
805
|
+
export interface Schema$GoogleChromeManagementV1StorageInfoDiskVolume {
|
|
806
|
+
/**
|
|
807
|
+
* Free storage space in bytes.
|
|
808
|
+
*/
|
|
809
|
+
storageFreeBytes?: string | null;
|
|
810
|
+
/**
|
|
811
|
+
* Total storage space in bytes.
|
|
812
|
+
*/
|
|
813
|
+
storageTotalBytes?: string | null;
|
|
814
|
+
/**
|
|
815
|
+
* Disk volume id.
|
|
816
|
+
*/
|
|
817
|
+
volumeId?: string | null;
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* Status data for storage.
|
|
821
|
+
*/
|
|
822
|
+
export interface Schema$GoogleChromeManagementV1StorageStatusReport {
|
|
823
|
+
/**
|
|
824
|
+
* Output only. Reports on disk
|
|
825
|
+
*/
|
|
826
|
+
disk?: Schema$GoogleChromeManagementV1DiskInfo[];
|
|
827
|
+
/**
|
|
828
|
+
* Output only. Timestamp of when the sample was collected on device
|
|
829
|
+
*/
|
|
830
|
+
reportTime?: string | null;
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* Telemetry data collected from a managed device.
|
|
834
|
+
*/
|
|
835
|
+
export interface Schema$GoogleChromeManagementV1TelemetryDevice {
|
|
836
|
+
/**
|
|
837
|
+
* Output only. Information on battery specs for the device.
|
|
838
|
+
*/
|
|
839
|
+
batteryInfo?: Schema$GoogleChromeManagementV1BatteryInfo[];
|
|
840
|
+
/**
|
|
841
|
+
* Output only. Battery reports collected periodically.
|
|
842
|
+
*/
|
|
843
|
+
batteryStatusReport?: Schema$GoogleChromeManagementV1BatteryStatusReport[];
|
|
844
|
+
/**
|
|
845
|
+
* Output only. Information regarding CPU specs for the device.
|
|
846
|
+
*/
|
|
847
|
+
cpuInfo?: Schema$GoogleChromeManagementV1CpuInfo[];
|
|
848
|
+
/**
|
|
849
|
+
* Output only. CPU status reports collected periodically.
|
|
850
|
+
*/
|
|
851
|
+
cpuStatusReport?: Schema$GoogleChromeManagementV1CpuStatusReport[];
|
|
852
|
+
/**
|
|
853
|
+
* Output only. Google Workspace Customer whose enterprise enrolled the device.
|
|
854
|
+
*/
|
|
855
|
+
customer?: string | null;
|
|
856
|
+
/**
|
|
857
|
+
* 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 Chrome OS Devices tab
|
|
858
|
+
*/
|
|
859
|
+
deviceId?: string | null;
|
|
860
|
+
/**
|
|
861
|
+
* Output only. Contains information regarding Graphic peripherals for the device.
|
|
862
|
+
*/
|
|
863
|
+
graphicsInfo?: Schema$GoogleChromeManagementV1GraphicsInfo;
|
|
864
|
+
/**
|
|
865
|
+
* Output only. Graphics reports collected periodically.
|
|
866
|
+
*/
|
|
867
|
+
graphicsStatusReport?: Schema$GoogleChromeManagementV1GraphicsStatusReport[];
|
|
868
|
+
/**
|
|
869
|
+
* Output only. Information regarding memory specs for the device.
|
|
870
|
+
*/
|
|
871
|
+
memoryInfo?: Schema$GoogleChromeManagementV1MemoryInfo;
|
|
872
|
+
/**
|
|
873
|
+
* Output only. Memory status reports collected periodically.
|
|
874
|
+
*/
|
|
875
|
+
memoryStatusReport?: Schema$GoogleChromeManagementV1MemoryStatusReport[];
|
|
876
|
+
/**
|
|
877
|
+
* Output only. Resource name of the device.
|
|
878
|
+
*/
|
|
879
|
+
name?: string | null;
|
|
880
|
+
/**
|
|
881
|
+
* Output only. Network specs collected periodically.
|
|
882
|
+
*/
|
|
883
|
+
networkStatusReport?: Schema$GoogleChromeManagementV1NetworkStatusReport[];
|
|
884
|
+
/**
|
|
885
|
+
* Output only. Organization unit ID of the device.
|
|
886
|
+
*/
|
|
887
|
+
orgUnitId?: string | null;
|
|
888
|
+
/**
|
|
889
|
+
* Output only. Contains relevant information regarding ChromeOS update status.
|
|
890
|
+
*/
|
|
891
|
+
osUpdateStatus?: Schema$GoogleChromeManagementV1OsUpdateStatus[];
|
|
892
|
+
/**
|
|
893
|
+
* Output only. Device serial number. This value is the same as the Admin Console's Serial Number in the Chrome OS Devices tab.
|
|
894
|
+
*/
|
|
895
|
+
serialNumber?: string | null;
|
|
896
|
+
/**
|
|
897
|
+
* Output only. Information of storage specs for the device.
|
|
898
|
+
*/
|
|
899
|
+
storageInfo?: Schema$GoogleChromeManagementV1StorageInfo;
|
|
900
|
+
/**
|
|
901
|
+
* Output only. Storage reports collected periodically.
|
|
902
|
+
*/
|
|
903
|
+
storageStatusReport?: Schema$GoogleChromeManagementV1StorageStatusReport[];
|
|
904
|
+
}
|
|
420
905
|
/**
|
|
421
906
|
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
422
907
|
*/
|
|
@@ -436,10 +921,28 @@ export declare namespace chromemanagement_v1 {
|
|
|
436
921
|
*/
|
|
437
922
|
message?: string | null;
|
|
438
923
|
}
|
|
924
|
+
/**
|
|
925
|
+
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
926
|
+
*/
|
|
927
|
+
export interface Schema$GoogleTypeDate {
|
|
928
|
+
/**
|
|
929
|
+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
|
|
930
|
+
*/
|
|
931
|
+
day?: number | null;
|
|
932
|
+
/**
|
|
933
|
+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
|
|
934
|
+
*/
|
|
935
|
+
month?: number | null;
|
|
936
|
+
/**
|
|
937
|
+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
|
|
938
|
+
*/
|
|
939
|
+
year?: number | null;
|
|
940
|
+
}
|
|
439
941
|
export class Resource$Customers {
|
|
440
942
|
context: APIRequestContext;
|
|
441
943
|
apps: Resource$Customers$Apps;
|
|
442
944
|
reports: Resource$Customers$Reports;
|
|
945
|
+
telemetry: Resource$Customers$Telemetry;
|
|
443
946
|
constructor(context: APIRequestContext);
|
|
444
947
|
}
|
|
445
948
|
export class Resource$Customers$Apps {
|
|
@@ -1095,5 +1598,103 @@ export declare namespace chromemanagement_v1 {
|
|
|
1095
1598
|
*/
|
|
1096
1599
|
pageToken?: string;
|
|
1097
1600
|
}
|
|
1601
|
+
export class Resource$Customers$Telemetry {
|
|
1602
|
+
context: APIRequestContext;
|
|
1603
|
+
devices: Resource$Customers$Telemetry$Devices;
|
|
1604
|
+
constructor(context: APIRequestContext);
|
|
1605
|
+
}
|
|
1606
|
+
export class Resource$Customers$Telemetry$Devices {
|
|
1607
|
+
context: APIRequestContext;
|
|
1608
|
+
constructor(context: APIRequestContext);
|
|
1609
|
+
/**
|
|
1610
|
+
* List all telemetry devices.
|
|
1611
|
+
* @example
|
|
1612
|
+
* ```js
|
|
1613
|
+
* // Before running the sample:
|
|
1614
|
+
* // - Enable the API at:
|
|
1615
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
1616
|
+
* // - Login into gcloud by running:
|
|
1617
|
+
* // `$ gcloud auth application-default login`
|
|
1618
|
+
* // - Install the npm module by running:
|
|
1619
|
+
* // `$ npm install googleapis`
|
|
1620
|
+
*
|
|
1621
|
+
* const {google} = require('googleapis');
|
|
1622
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
1623
|
+
*
|
|
1624
|
+
* async function main() {
|
|
1625
|
+
* const auth = new google.auth.GoogleAuth({
|
|
1626
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1627
|
+
* scopes: [
|
|
1628
|
+
* 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly',
|
|
1629
|
+
* ],
|
|
1630
|
+
* });
|
|
1631
|
+
*
|
|
1632
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
1633
|
+
* const authClient = await auth.getClient();
|
|
1634
|
+
* google.options({auth: authClient});
|
|
1635
|
+
*
|
|
1636
|
+
* // Do the magic
|
|
1637
|
+
* const res = await chromemanagement.customers.telemetry.devices.list({
|
|
1638
|
+
* // Optional. Only include resources that match the filter. Supported filter fields: - org_unit_id - serial_number
|
|
1639
|
+
* filter: 'placeholder-value',
|
|
1640
|
+
* // Maximum number of results to return. Default value is 100. Maximum value is 200.
|
|
1641
|
+
* pageSize: 'placeholder-value',
|
|
1642
|
+
* // Token to specify next page in the list.
|
|
1643
|
+
* pageToken: 'placeholder-value',
|
|
1644
|
+
* // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
1645
|
+
* parent: 'customers/my-customer',
|
|
1646
|
+
* // Required. Read mask to specify which fields to return.
|
|
1647
|
+
* readMask: 'placeholder-value',
|
|
1648
|
+
* });
|
|
1649
|
+
* console.log(res.data);
|
|
1650
|
+
*
|
|
1651
|
+
* // Example response
|
|
1652
|
+
* // {
|
|
1653
|
+
* // "devices": [],
|
|
1654
|
+
* // "nextPageToken": "my_nextPageToken"
|
|
1655
|
+
* // }
|
|
1656
|
+
* }
|
|
1657
|
+
*
|
|
1658
|
+
* main().catch(e => {
|
|
1659
|
+
* console.error(e);
|
|
1660
|
+
* throw e;
|
|
1661
|
+
* });
|
|
1662
|
+
*
|
|
1663
|
+
* ```
|
|
1664
|
+
*
|
|
1665
|
+
* @param params - Parameters for request
|
|
1666
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1667
|
+
* @param callback - Optional callback that handles the response.
|
|
1668
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1669
|
+
*/
|
|
1670
|
+
list(params: Params$Resource$Customers$Telemetry$Devices$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1671
|
+
list(params?: Params$Resource$Customers$Telemetry$Devices$List, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1ListTelemetryDevicesResponse>;
|
|
1672
|
+
list(params: Params$Resource$Customers$Telemetry$Devices$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1673
|
+
list(params: Params$Resource$Customers$Telemetry$Devices$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryDevicesResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryDevicesResponse>): void;
|
|
1674
|
+
list(params: Params$Resource$Customers$Telemetry$Devices$List, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryDevicesResponse>): void;
|
|
1675
|
+
list(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryDevicesResponse>): void;
|
|
1676
|
+
}
|
|
1677
|
+
export interface Params$Resource$Customers$Telemetry$Devices$List extends StandardParameters {
|
|
1678
|
+
/**
|
|
1679
|
+
* Optional. Only include resources that match the filter. Supported filter fields: - org_unit_id - serial_number
|
|
1680
|
+
*/
|
|
1681
|
+
filter?: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* Maximum number of results to return. Default value is 100. Maximum value is 200.
|
|
1684
|
+
*/
|
|
1685
|
+
pageSize?: number;
|
|
1686
|
+
/**
|
|
1687
|
+
* Token to specify next page in the list.
|
|
1688
|
+
*/
|
|
1689
|
+
pageToken?: string;
|
|
1690
|
+
/**
|
|
1691
|
+
* Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
1692
|
+
*/
|
|
1693
|
+
parent?: string;
|
|
1694
|
+
/**
|
|
1695
|
+
* Required. Read mask to specify which fields to return.
|
|
1696
|
+
*/
|
|
1697
|
+
readMask?: string;
|
|
1698
|
+
}
|
|
1098
1699
|
export {};
|
|
1099
1700
|
}
|