@googleapis/chromemanagement 1.2.3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/build/v1.d.ts +140 -8
- package/build/v1.js +31 -0
- package/build/v1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +221 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v1.3.1...chromemanagement-v2.0.0) (2022-06-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* This release has breaking changes.
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* run the generator ([#2971](https://github.com/googleapis/google-api-nodejs-client/issues/2971)) ([adddf01](https://github.com/googleapis/google-api-nodejs-client/commit/adddf018e7cb73adab7341053dd80d72c5a6248d))
|
|
13
|
+
|
|
14
|
+
## [1.3.1](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v1.3.0...chromemanagement-v1.3.1) (2022-06-13)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **chromemanagement:** update the API ([c386f9d](https://github.com/googleapis/google-api-nodejs-client/commit/c386f9d86fd4e76bf43a22cae77071f49df3d3be))
|
|
20
|
+
|
|
21
|
+
## [1.3.0](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v1.2.3...chromemanagement-v1.3.0) (2022-04-11)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* **chromemanagement:** update the API ([4860bd2](https://github.com/googleapis/google-api-nodejs-client/commit/4860bd2e7f4cd6fee48294b8f213d61620309f83))
|
|
27
|
+
|
|
3
28
|
### [1.2.3](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v1.2.2...chromemanagement-v1.2.3) (2022-04-01)
|
|
4
29
|
|
|
5
30
|
|
package/build/v1.d.ts
CHANGED
|
@@ -170,6 +170,39 @@ export declare namespace chromemanagement_v1 {
|
|
|
170
170
|
*/
|
|
171
171
|
type?: string | null;
|
|
172
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
* Audio report.
|
|
175
|
+
*/
|
|
176
|
+
export interface Schema$GoogleChromeManagementV1AudioStatusReport {
|
|
177
|
+
/**
|
|
178
|
+
* Output only. Active input device's name.
|
|
179
|
+
*/
|
|
180
|
+
inputDevice?: string | null;
|
|
181
|
+
/**
|
|
182
|
+
* Output only. Active input device's gain in [0, 100].
|
|
183
|
+
*/
|
|
184
|
+
inputGain?: number | null;
|
|
185
|
+
/**
|
|
186
|
+
* Output only. Is active input device mute or not.
|
|
187
|
+
*/
|
|
188
|
+
inputMute?: boolean | null;
|
|
189
|
+
/**
|
|
190
|
+
* Output only. Active output device's name.
|
|
191
|
+
*/
|
|
192
|
+
outputDevice?: string | null;
|
|
193
|
+
/**
|
|
194
|
+
* Output only. Is active output device mute or not.
|
|
195
|
+
*/
|
|
196
|
+
outputMute?: boolean | null;
|
|
197
|
+
/**
|
|
198
|
+
* Output only. Active output device's volume in [0, 100].
|
|
199
|
+
*/
|
|
200
|
+
outputVolume?: number | null;
|
|
201
|
+
/**
|
|
202
|
+
* Output only. Timestamp of when the sample was collected on device.
|
|
203
|
+
*/
|
|
204
|
+
reportTime?: string | null;
|
|
205
|
+
}
|
|
173
206
|
/**
|
|
174
207
|
* Battery info
|
|
175
208
|
*/
|
|
@@ -257,7 +290,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
257
290
|
*/
|
|
258
291
|
reportTime?: string | null;
|
|
259
292
|
/**
|
|
260
|
-
* Output only. Sampling data for the battery.
|
|
293
|
+
* Output only. Sampling data for the battery sorted in a decreasing order of report_time.
|
|
261
294
|
*/
|
|
262
295
|
sample?: Schema$GoogleChromeManagementV1BatterySampleReport[];
|
|
263
296
|
/**
|
|
@@ -302,10 +335,18 @@ export declare namespace chromemanagement_v1 {
|
|
|
302
335
|
* Output only. Whether the app or extension is in a published state in the Chrome Web Store.
|
|
303
336
|
*/
|
|
304
337
|
isCwsHosted?: boolean | null;
|
|
338
|
+
/**
|
|
339
|
+
* Output only. Whether the app is only for Kiosk mode on ChromeOS devices
|
|
340
|
+
*/
|
|
341
|
+
isKioskOnly?: boolean | null;
|
|
305
342
|
/**
|
|
306
343
|
* Output only. Whether the app or extension is a theme.
|
|
307
344
|
*/
|
|
308
345
|
isTheme?: boolean | null;
|
|
346
|
+
/**
|
|
347
|
+
* Output only. Whether this app is enabled for Kiosk mode on ChromeOS devices
|
|
348
|
+
*/
|
|
349
|
+
kioskEnabled?: boolean | null;
|
|
309
350
|
/**
|
|
310
351
|
* Output only. The minimum number of users using this app.
|
|
311
352
|
*/
|
|
@@ -821,7 +862,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
821
862
|
*/
|
|
822
863
|
export interface Schema$GoogleChromeManagementV1StorageStatusReport {
|
|
823
864
|
/**
|
|
824
|
-
* Output only. Reports on disk
|
|
865
|
+
* Output only. Reports on disk.
|
|
825
866
|
*/
|
|
826
867
|
disk?: Schema$GoogleChromeManagementV1DiskInfo[];
|
|
827
868
|
/**
|
|
@@ -833,6 +874,10 @@ export declare namespace chromemanagement_v1 {
|
|
|
833
874
|
* Telemetry data collected from a managed device.
|
|
834
875
|
*/
|
|
835
876
|
export interface Schema$GoogleChromeManagementV1TelemetryDevice {
|
|
877
|
+
/**
|
|
878
|
+
* Output only. Audio reports collected periodically sorted in a decreasing order of report_time.
|
|
879
|
+
*/
|
|
880
|
+
audioStatusReport?: Schema$GoogleChromeManagementV1AudioStatusReport[];
|
|
836
881
|
/**
|
|
837
882
|
* Output only. Information on battery specs for the device.
|
|
838
883
|
*/
|
|
@@ -846,7 +891,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
846
891
|
*/
|
|
847
892
|
cpuInfo?: Schema$GoogleChromeManagementV1CpuInfo[];
|
|
848
893
|
/**
|
|
849
|
-
* Output only. CPU status reports collected periodically.
|
|
894
|
+
* Output only. CPU status reports collected periodically sorted in a decreasing order of report_time.
|
|
850
895
|
*/
|
|
851
896
|
cpuStatusReport?: Schema$GoogleChromeManagementV1CpuStatusReport[];
|
|
852
897
|
/**
|
|
@@ -854,7 +899,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
854
899
|
*/
|
|
855
900
|
customer?: string | null;
|
|
856
901
|
/**
|
|
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
|
|
902
|
+
* 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
|
|
858
903
|
*/
|
|
859
904
|
deviceId?: string | null;
|
|
860
905
|
/**
|
|
@@ -870,7 +915,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
870
915
|
*/
|
|
871
916
|
memoryInfo?: Schema$GoogleChromeManagementV1MemoryInfo;
|
|
872
917
|
/**
|
|
873
|
-
* Output only. Memory status reports collected periodically.
|
|
918
|
+
* Output only. Memory status reports collected periodically sorted decreasing by report_time.
|
|
874
919
|
*/
|
|
875
920
|
memoryStatusReport?: Schema$GoogleChromeManagementV1MemoryStatusReport[];
|
|
876
921
|
/**
|
|
@@ -890,7 +935,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
890
935
|
*/
|
|
891
936
|
osUpdateStatus?: Schema$GoogleChromeManagementV1OsUpdateStatus[];
|
|
892
937
|
/**
|
|
893
|
-
* Output only. Device serial number. This value is the same as the Admin Console's Serial Number in the
|
|
938
|
+
* Output only. Device serial number. This value is the same as the Admin Console's Serial Number in the ChromeOS Devices tab.
|
|
894
939
|
*/
|
|
895
940
|
serialNumber?: string | null;
|
|
896
941
|
/**
|
|
@@ -1606,6 +1651,83 @@ export declare namespace chromemanagement_v1 {
|
|
|
1606
1651
|
export class Resource$Customers$Telemetry$Devices {
|
|
1607
1652
|
context: APIRequestContext;
|
|
1608
1653
|
constructor(context: APIRequestContext);
|
|
1654
|
+
/**
|
|
1655
|
+
* Get telemetry device.
|
|
1656
|
+
* @example
|
|
1657
|
+
* ```js
|
|
1658
|
+
* // Before running the sample:
|
|
1659
|
+
* // - Enable the API at:
|
|
1660
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
1661
|
+
* // - Login into gcloud by running:
|
|
1662
|
+
* // `$ gcloud auth application-default login`
|
|
1663
|
+
* // - Install the npm module by running:
|
|
1664
|
+
* // `$ npm install googleapis`
|
|
1665
|
+
*
|
|
1666
|
+
* const {google} = require('googleapis');
|
|
1667
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
1668
|
+
*
|
|
1669
|
+
* async function main() {
|
|
1670
|
+
* const auth = new google.auth.GoogleAuth({
|
|
1671
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1672
|
+
* scopes: [
|
|
1673
|
+
* 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly',
|
|
1674
|
+
* ],
|
|
1675
|
+
* });
|
|
1676
|
+
*
|
|
1677
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
1678
|
+
* const authClient = await auth.getClient();
|
|
1679
|
+
* google.options({auth: authClient});
|
|
1680
|
+
*
|
|
1681
|
+
* // Do the magic
|
|
1682
|
+
* const res = await chromemanagement.customers.telemetry.devices.get({
|
|
1683
|
+
* // Required. Name of the `TelemetryDevice` to return.
|
|
1684
|
+
* name: 'customers/my-customer/telemetry/devices/my-device',
|
|
1685
|
+
* // Required. Read mask to specify which fields to return.
|
|
1686
|
+
* readMask: 'placeholder-value',
|
|
1687
|
+
* });
|
|
1688
|
+
* console.log(res.data);
|
|
1689
|
+
*
|
|
1690
|
+
* // Example response
|
|
1691
|
+
* // {
|
|
1692
|
+
* // "audioStatusReport": [],
|
|
1693
|
+
* // "batteryInfo": [],
|
|
1694
|
+
* // "batteryStatusReport": [],
|
|
1695
|
+
* // "cpuInfo": [],
|
|
1696
|
+
* // "cpuStatusReport": [],
|
|
1697
|
+
* // "customer": "my_customer",
|
|
1698
|
+
* // "deviceId": "my_deviceId",
|
|
1699
|
+
* // "graphicsInfo": {},
|
|
1700
|
+
* // "graphicsStatusReport": [],
|
|
1701
|
+
* // "memoryInfo": {},
|
|
1702
|
+
* // "memoryStatusReport": [],
|
|
1703
|
+
* // "name": "my_name",
|
|
1704
|
+
* // "networkStatusReport": [],
|
|
1705
|
+
* // "orgUnitId": "my_orgUnitId",
|
|
1706
|
+
* // "osUpdateStatus": [],
|
|
1707
|
+
* // "serialNumber": "my_serialNumber",
|
|
1708
|
+
* // "storageInfo": {},
|
|
1709
|
+
* // "storageStatusReport": []
|
|
1710
|
+
* // }
|
|
1711
|
+
* }
|
|
1712
|
+
*
|
|
1713
|
+
* main().catch(e => {
|
|
1714
|
+
* console.error(e);
|
|
1715
|
+
* throw e;
|
|
1716
|
+
* });
|
|
1717
|
+
*
|
|
1718
|
+
* ```
|
|
1719
|
+
*
|
|
1720
|
+
* @param params - Parameters for request
|
|
1721
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1722
|
+
* @param callback - Optional callback that handles the response.
|
|
1723
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1724
|
+
*/
|
|
1725
|
+
get(params: Params$Resource$Customers$Telemetry$Devices$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1726
|
+
get(params?: Params$Resource$Customers$Telemetry$Devices$Get, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1TelemetryDevice>;
|
|
1727
|
+
get(params: Params$Resource$Customers$Telemetry$Devices$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1728
|
+
get(params: Params$Resource$Customers$Telemetry$Devices$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>): void;
|
|
1729
|
+
get(params: Params$Resource$Customers$Telemetry$Devices$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>): void;
|
|
1730
|
+
get(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>): void;
|
|
1609
1731
|
/**
|
|
1610
1732
|
* List all telemetry devices.
|
|
1611
1733
|
* @example
|
|
@@ -1637,7 +1759,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
1637
1759
|
* const res = await chromemanagement.customers.telemetry.devices.list({
|
|
1638
1760
|
* // Optional. Only include resources that match the filter. Supported filter fields: - org_unit_id - serial_number - device_id
|
|
1639
1761
|
* filter: 'placeholder-value',
|
|
1640
|
-
* // Maximum number of results to return. Default value is 100. Maximum value is
|
|
1762
|
+
* // Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
1641
1763
|
* pageSize: 'placeholder-value',
|
|
1642
1764
|
* // Token to specify next page in the list.
|
|
1643
1765
|
* pageToken: 'placeholder-value',
|
|
@@ -1674,13 +1796,23 @@ export declare namespace chromemanagement_v1 {
|
|
|
1674
1796
|
list(params: Params$Resource$Customers$Telemetry$Devices$List, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryDevicesResponse>): void;
|
|
1675
1797
|
list(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryDevicesResponse>): void;
|
|
1676
1798
|
}
|
|
1799
|
+
export interface Params$Resource$Customers$Telemetry$Devices$Get extends StandardParameters {
|
|
1800
|
+
/**
|
|
1801
|
+
* Required. Name of the `TelemetryDevice` to return.
|
|
1802
|
+
*/
|
|
1803
|
+
name?: string;
|
|
1804
|
+
/**
|
|
1805
|
+
* Required. Read mask to specify which fields to return.
|
|
1806
|
+
*/
|
|
1807
|
+
readMask?: string;
|
|
1808
|
+
}
|
|
1677
1809
|
export interface Params$Resource$Customers$Telemetry$Devices$List extends StandardParameters {
|
|
1678
1810
|
/**
|
|
1679
1811
|
* Optional. Only include resources that match the filter. Supported filter fields: - org_unit_id - serial_number - device_id
|
|
1680
1812
|
*/
|
|
1681
1813
|
filter?: string;
|
|
1682
1814
|
/**
|
|
1683
|
-
* Maximum number of results to return. Default value is 100. Maximum value is
|
|
1815
|
+
* Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
1684
1816
|
*/
|
|
1685
1817
|
pageSize?: number;
|
|
1686
1818
|
/**
|
package/build/v1.js
CHANGED
|
@@ -313,6 +313,37 @@ var chromemanagement_v1;
|
|
|
313
313
|
constructor(context) {
|
|
314
314
|
this.context = context;
|
|
315
315
|
}
|
|
316
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
317
|
+
let params = (paramsOrCallback ||
|
|
318
|
+
{});
|
|
319
|
+
let options = (optionsOrCallback || {});
|
|
320
|
+
if (typeof paramsOrCallback === 'function') {
|
|
321
|
+
callback = paramsOrCallback;
|
|
322
|
+
params = {};
|
|
323
|
+
options = {};
|
|
324
|
+
}
|
|
325
|
+
if (typeof optionsOrCallback === 'function') {
|
|
326
|
+
callback = optionsOrCallback;
|
|
327
|
+
options = {};
|
|
328
|
+
}
|
|
329
|
+
const rootUrl = options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
330
|
+
const parameters = {
|
|
331
|
+
options: Object.assign({
|
|
332
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
333
|
+
method: 'GET',
|
|
334
|
+
}, options),
|
|
335
|
+
params,
|
|
336
|
+
requiredParams: ['name'],
|
|
337
|
+
pathParams: ['name'],
|
|
338
|
+
context: this.context,
|
|
339
|
+
};
|
|
340
|
+
if (callback) {
|
|
341
|
+
googleapis_common_1.createAPIRequest(parameters, callback);
|
|
342
|
+
}
|
|
343
|
+
else {
|
|
344
|
+
return googleapis_common_1.createAPIRequest(parameters);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
316
347
|
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
317
348
|
let params = (paramsOrCallback ||
|
|
318
349
|
{});
|
package/build/v1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,uDAAuD;AACvD,yDAAyD;AACzD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,uDAAuD;AACvD,yDAAyD;AACzD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,mBAAmB,CA8jFnC;AA9jFD,WAAiB,mBAAmB;IAgElC;;;;;;;;;;OAUG;IACH,MAAa,gBAAgB;QAI3B,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,SAAS,GAAG,IAAI,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxD,CAAC;KACF;IAZY,oCAAgB,mBAY5B,CAAA;IAi5BD,MAAa,kBAAkB;QAK7B,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;YACvB,IAAI,CAAC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ED,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GACX,OAAO,CAAC,OAAO,IAAI,0CAA0C,CAAC;YAChE,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,iCAAiC,CAAC,CAAC,OAAO,CACxD,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,KAAK;iBACd,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,QAAQ,CAAC;gBAC1B,UAAU,EAAE,CAAC,QAAQ,CAAC;gBACtB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,oCAAgB,CACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,oCAAgB,CACrB,UAAU,CACX,CAAC;aACH;QACH,CAAC;KACF;IAxTY,wDAAoC,uCAwThD,CAAA;AAoCH,CAAC,EA9jFgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA8jFnC"}
|
package/package.json
CHANGED
package/v1.ts
CHANGED
|
@@ -224,6 +224,39 @@ export namespace chromemanagement_v1 {
|
|
|
224
224
|
*/
|
|
225
225
|
type?: string | null;
|
|
226
226
|
}
|
|
227
|
+
/**
|
|
228
|
+
* Audio report.
|
|
229
|
+
*/
|
|
230
|
+
export interface Schema$GoogleChromeManagementV1AudioStatusReport {
|
|
231
|
+
/**
|
|
232
|
+
* Output only. Active input device's name.
|
|
233
|
+
*/
|
|
234
|
+
inputDevice?: string | null;
|
|
235
|
+
/**
|
|
236
|
+
* Output only. Active input device's gain in [0, 100].
|
|
237
|
+
*/
|
|
238
|
+
inputGain?: number | null;
|
|
239
|
+
/**
|
|
240
|
+
* Output only. Is active input device mute or not.
|
|
241
|
+
*/
|
|
242
|
+
inputMute?: boolean | null;
|
|
243
|
+
/**
|
|
244
|
+
* Output only. Active output device's name.
|
|
245
|
+
*/
|
|
246
|
+
outputDevice?: string | null;
|
|
247
|
+
/**
|
|
248
|
+
* Output only. Is active output device mute or not.
|
|
249
|
+
*/
|
|
250
|
+
outputMute?: boolean | null;
|
|
251
|
+
/**
|
|
252
|
+
* Output only. Active output device's volume in [0, 100].
|
|
253
|
+
*/
|
|
254
|
+
outputVolume?: number | null;
|
|
255
|
+
/**
|
|
256
|
+
* Output only. Timestamp of when the sample was collected on device.
|
|
257
|
+
*/
|
|
258
|
+
reportTime?: string | null;
|
|
259
|
+
}
|
|
227
260
|
/**
|
|
228
261
|
* Battery info
|
|
229
262
|
*/
|
|
@@ -311,7 +344,7 @@ export namespace chromemanagement_v1 {
|
|
|
311
344
|
*/
|
|
312
345
|
reportTime?: string | null;
|
|
313
346
|
/**
|
|
314
|
-
* Output only. Sampling data for the battery.
|
|
347
|
+
* Output only. Sampling data for the battery sorted in a decreasing order of report_time.
|
|
315
348
|
*/
|
|
316
349
|
sample?: Schema$GoogleChromeManagementV1BatterySampleReport[];
|
|
317
350
|
/**
|
|
@@ -356,10 +389,18 @@ export namespace chromemanagement_v1 {
|
|
|
356
389
|
* Output only. Whether the app or extension is in a published state in the Chrome Web Store.
|
|
357
390
|
*/
|
|
358
391
|
isCwsHosted?: boolean | null;
|
|
392
|
+
/**
|
|
393
|
+
* Output only. Whether the app is only for Kiosk mode on ChromeOS devices
|
|
394
|
+
*/
|
|
395
|
+
isKioskOnly?: boolean | null;
|
|
359
396
|
/**
|
|
360
397
|
* Output only. Whether the app or extension is a theme.
|
|
361
398
|
*/
|
|
362
399
|
isTheme?: boolean | null;
|
|
400
|
+
/**
|
|
401
|
+
* Output only. Whether this app is enabled for Kiosk mode on ChromeOS devices
|
|
402
|
+
*/
|
|
403
|
+
kioskEnabled?: boolean | null;
|
|
363
404
|
/**
|
|
364
405
|
* Output only. The minimum number of users using this app.
|
|
365
406
|
*/
|
|
@@ -875,7 +916,7 @@ export namespace chromemanagement_v1 {
|
|
|
875
916
|
*/
|
|
876
917
|
export interface Schema$GoogleChromeManagementV1StorageStatusReport {
|
|
877
918
|
/**
|
|
878
|
-
* Output only. Reports on disk
|
|
919
|
+
* Output only. Reports on disk.
|
|
879
920
|
*/
|
|
880
921
|
disk?: Schema$GoogleChromeManagementV1DiskInfo[];
|
|
881
922
|
/**
|
|
@@ -887,6 +928,10 @@ export namespace chromemanagement_v1 {
|
|
|
887
928
|
* Telemetry data collected from a managed device.
|
|
888
929
|
*/
|
|
889
930
|
export interface Schema$GoogleChromeManagementV1TelemetryDevice {
|
|
931
|
+
/**
|
|
932
|
+
* Output only. Audio reports collected periodically sorted in a decreasing order of report_time.
|
|
933
|
+
*/
|
|
934
|
+
audioStatusReport?: Schema$GoogleChromeManagementV1AudioStatusReport[];
|
|
890
935
|
/**
|
|
891
936
|
* Output only. Information on battery specs for the device.
|
|
892
937
|
*/
|
|
@@ -900,7 +945,7 @@ export namespace chromemanagement_v1 {
|
|
|
900
945
|
*/
|
|
901
946
|
cpuInfo?: Schema$GoogleChromeManagementV1CpuInfo[];
|
|
902
947
|
/**
|
|
903
|
-
* Output only. CPU status reports collected periodically.
|
|
948
|
+
* Output only. CPU status reports collected periodically sorted in a decreasing order of report_time.
|
|
904
949
|
*/
|
|
905
950
|
cpuStatusReport?: Schema$GoogleChromeManagementV1CpuStatusReport[];
|
|
906
951
|
/**
|
|
@@ -908,7 +953,7 @@ export namespace chromemanagement_v1 {
|
|
|
908
953
|
*/
|
|
909
954
|
customer?: string | null;
|
|
910
955
|
/**
|
|
911
|
-
* 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
|
|
956
|
+
* 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
|
|
912
957
|
*/
|
|
913
958
|
deviceId?: string | null;
|
|
914
959
|
/**
|
|
@@ -924,7 +969,7 @@ export namespace chromemanagement_v1 {
|
|
|
924
969
|
*/
|
|
925
970
|
memoryInfo?: Schema$GoogleChromeManagementV1MemoryInfo;
|
|
926
971
|
/**
|
|
927
|
-
* Output only. Memory status reports collected periodically.
|
|
972
|
+
* Output only. Memory status reports collected periodically sorted decreasing by report_time.
|
|
928
973
|
*/
|
|
929
974
|
memoryStatusReport?: Schema$GoogleChromeManagementV1MemoryStatusReport[];
|
|
930
975
|
/**
|
|
@@ -944,7 +989,7 @@ export namespace chromemanagement_v1 {
|
|
|
944
989
|
*/
|
|
945
990
|
osUpdateStatus?: Schema$GoogleChromeManagementV1OsUpdateStatus[];
|
|
946
991
|
/**
|
|
947
|
-
* Output only. Device serial number. This value is the same as the Admin Console's Serial Number in the
|
|
992
|
+
* Output only. Device serial number. This value is the same as the Admin Console's Serial Number in the ChromeOS Devices tab.
|
|
948
993
|
*/
|
|
949
994
|
serialNumber?: string | null;
|
|
950
995
|
/**
|
|
@@ -2271,6 +2316,163 @@ export namespace chromemanagement_v1 {
|
|
|
2271
2316
|
this.context = context;
|
|
2272
2317
|
}
|
|
2273
2318
|
|
|
2319
|
+
/**
|
|
2320
|
+
* Get telemetry device.
|
|
2321
|
+
* @example
|
|
2322
|
+
* ```js
|
|
2323
|
+
* // Before running the sample:
|
|
2324
|
+
* // - Enable the API at:
|
|
2325
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
2326
|
+
* // - Login into gcloud by running:
|
|
2327
|
+
* // `$ gcloud auth application-default login`
|
|
2328
|
+
* // - Install the npm module by running:
|
|
2329
|
+
* // `$ npm install googleapis`
|
|
2330
|
+
*
|
|
2331
|
+
* const {google} = require('googleapis');
|
|
2332
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
2333
|
+
*
|
|
2334
|
+
* async function main() {
|
|
2335
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2336
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2337
|
+
* scopes: [
|
|
2338
|
+
* 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly',
|
|
2339
|
+
* ],
|
|
2340
|
+
* });
|
|
2341
|
+
*
|
|
2342
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2343
|
+
* const authClient = await auth.getClient();
|
|
2344
|
+
* google.options({auth: authClient});
|
|
2345
|
+
*
|
|
2346
|
+
* // Do the magic
|
|
2347
|
+
* const res = await chromemanagement.customers.telemetry.devices.get({
|
|
2348
|
+
* // Required. Name of the `TelemetryDevice` to return.
|
|
2349
|
+
* name: 'customers/my-customer/telemetry/devices/my-device',
|
|
2350
|
+
* // Required. Read mask to specify which fields to return.
|
|
2351
|
+
* readMask: 'placeholder-value',
|
|
2352
|
+
* });
|
|
2353
|
+
* console.log(res.data);
|
|
2354
|
+
*
|
|
2355
|
+
* // Example response
|
|
2356
|
+
* // {
|
|
2357
|
+
* // "audioStatusReport": [],
|
|
2358
|
+
* // "batteryInfo": [],
|
|
2359
|
+
* // "batteryStatusReport": [],
|
|
2360
|
+
* // "cpuInfo": [],
|
|
2361
|
+
* // "cpuStatusReport": [],
|
|
2362
|
+
* // "customer": "my_customer",
|
|
2363
|
+
* // "deviceId": "my_deviceId",
|
|
2364
|
+
* // "graphicsInfo": {},
|
|
2365
|
+
* // "graphicsStatusReport": [],
|
|
2366
|
+
* // "memoryInfo": {},
|
|
2367
|
+
* // "memoryStatusReport": [],
|
|
2368
|
+
* // "name": "my_name",
|
|
2369
|
+
* // "networkStatusReport": [],
|
|
2370
|
+
* // "orgUnitId": "my_orgUnitId",
|
|
2371
|
+
* // "osUpdateStatus": [],
|
|
2372
|
+
* // "serialNumber": "my_serialNumber",
|
|
2373
|
+
* // "storageInfo": {},
|
|
2374
|
+
* // "storageStatusReport": []
|
|
2375
|
+
* // }
|
|
2376
|
+
* }
|
|
2377
|
+
*
|
|
2378
|
+
* main().catch(e => {
|
|
2379
|
+
* console.error(e);
|
|
2380
|
+
* throw e;
|
|
2381
|
+
* });
|
|
2382
|
+
*
|
|
2383
|
+
* ```
|
|
2384
|
+
*
|
|
2385
|
+
* @param params - Parameters for request
|
|
2386
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2387
|
+
* @param callback - Optional callback that handles the response.
|
|
2388
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2389
|
+
*/
|
|
2390
|
+
get(
|
|
2391
|
+
params: Params$Resource$Customers$Telemetry$Devices$Get,
|
|
2392
|
+
options: StreamMethodOptions
|
|
2393
|
+
): GaxiosPromise<Readable>;
|
|
2394
|
+
get(
|
|
2395
|
+
params?: Params$Resource$Customers$Telemetry$Devices$Get,
|
|
2396
|
+
options?: MethodOptions
|
|
2397
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1TelemetryDevice>;
|
|
2398
|
+
get(
|
|
2399
|
+
params: Params$Resource$Customers$Telemetry$Devices$Get,
|
|
2400
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2401
|
+
callback: BodyResponseCallback<Readable>
|
|
2402
|
+
): void;
|
|
2403
|
+
get(
|
|
2404
|
+
params: Params$Resource$Customers$Telemetry$Devices$Get,
|
|
2405
|
+
options:
|
|
2406
|
+
| MethodOptions
|
|
2407
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>,
|
|
2408
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2409
|
+
): void;
|
|
2410
|
+
get(
|
|
2411
|
+
params: Params$Resource$Customers$Telemetry$Devices$Get,
|
|
2412
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2413
|
+
): void;
|
|
2414
|
+
get(
|
|
2415
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2416
|
+
): void;
|
|
2417
|
+
get(
|
|
2418
|
+
paramsOrCallback?:
|
|
2419
|
+
| Params$Resource$Customers$Telemetry$Devices$Get
|
|
2420
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2421
|
+
| BodyResponseCallback<Readable>,
|
|
2422
|
+
optionsOrCallback?:
|
|
2423
|
+
| MethodOptions
|
|
2424
|
+
| StreamMethodOptions
|
|
2425
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2426
|
+
| BodyResponseCallback<Readable>,
|
|
2427
|
+
callback?:
|
|
2428
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2429
|
+
| BodyResponseCallback<Readable>
|
|
2430
|
+
):
|
|
2431
|
+
| void
|
|
2432
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2433
|
+
| GaxiosPromise<Readable> {
|
|
2434
|
+
let params = (paramsOrCallback ||
|
|
2435
|
+
{}) as Params$Resource$Customers$Telemetry$Devices$Get;
|
|
2436
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2437
|
+
|
|
2438
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2439
|
+
callback = paramsOrCallback;
|
|
2440
|
+
params = {} as Params$Resource$Customers$Telemetry$Devices$Get;
|
|
2441
|
+
options = {};
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2445
|
+
callback = optionsOrCallback;
|
|
2446
|
+
options = {};
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
const rootUrl =
|
|
2450
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
2451
|
+
const parameters = {
|
|
2452
|
+
options: Object.assign(
|
|
2453
|
+
{
|
|
2454
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2455
|
+
method: 'GET',
|
|
2456
|
+
},
|
|
2457
|
+
options
|
|
2458
|
+
),
|
|
2459
|
+
params,
|
|
2460
|
+
requiredParams: ['name'],
|
|
2461
|
+
pathParams: ['name'],
|
|
2462
|
+
context: this.context,
|
|
2463
|
+
};
|
|
2464
|
+
if (callback) {
|
|
2465
|
+
createAPIRequest<Schema$GoogleChromeManagementV1TelemetryDevice>(
|
|
2466
|
+
parameters,
|
|
2467
|
+
callback as BodyResponseCallback<unknown>
|
|
2468
|
+
);
|
|
2469
|
+
} else {
|
|
2470
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1TelemetryDevice>(
|
|
2471
|
+
parameters
|
|
2472
|
+
);
|
|
2473
|
+
}
|
|
2474
|
+
}
|
|
2475
|
+
|
|
2274
2476
|
/**
|
|
2275
2477
|
* List all telemetry devices.
|
|
2276
2478
|
* @example
|
|
@@ -2302,7 +2504,7 @@ export namespace chromemanagement_v1 {
|
|
|
2302
2504
|
* const res = await chromemanagement.customers.telemetry.devices.list({
|
|
2303
2505
|
* // Optional. Only include resources that match the filter. Supported filter fields: - org_unit_id - serial_number - device_id
|
|
2304
2506
|
* filter: 'placeholder-value',
|
|
2305
|
-
* // Maximum number of results to return. Default value is 100. Maximum value is
|
|
2507
|
+
* // Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
2306
2508
|
* pageSize: 'placeholder-value',
|
|
2307
2509
|
* // Token to specify next page in the list.
|
|
2308
2510
|
* pageToken: 'placeholder-value',
|
|
@@ -2422,6 +2624,17 @@ export namespace chromemanagement_v1 {
|
|
|
2422
2624
|
}
|
|
2423
2625
|
}
|
|
2424
2626
|
|
|
2627
|
+
export interface Params$Resource$Customers$Telemetry$Devices$Get
|
|
2628
|
+
extends StandardParameters {
|
|
2629
|
+
/**
|
|
2630
|
+
* Required. Name of the `TelemetryDevice` to return.
|
|
2631
|
+
*/
|
|
2632
|
+
name?: string;
|
|
2633
|
+
/**
|
|
2634
|
+
* Required. Read mask to specify which fields to return.
|
|
2635
|
+
*/
|
|
2636
|
+
readMask?: string;
|
|
2637
|
+
}
|
|
2425
2638
|
export interface Params$Resource$Customers$Telemetry$Devices$List
|
|
2426
2639
|
extends StandardParameters {
|
|
2427
2640
|
/**
|
|
@@ -2429,7 +2642,7 @@ export namespace chromemanagement_v1 {
|
|
|
2429
2642
|
*/
|
|
2430
2643
|
filter?: string;
|
|
2431
2644
|
/**
|
|
2432
|
-
* Maximum number of results to return. Default value is 100. Maximum value is
|
|
2645
|
+
* Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
2433
2646
|
*/
|
|
2434
2647
|
pageSize?: number;
|
|
2435
2648
|
/**
|