@googleapis/chromemanagement 1.3.0 → 2.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/v1.d.ts +246 -2
- package/build/v1.js +31 -1
- package/build/v1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +327 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v2.0.1...chromemanagement-v2.1.0) (2022-07-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **chromemanagement:** update the API ([046cc15](https://github.com/googleapis/google-api-nodejs-client/commit/046cc157a5ab5b16c6707e7148dad2481794d355))
|
|
9
|
+
|
|
10
|
+
## [2.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v2.0.0...chromemanagement-v2.0.1) (2022-06-21)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **chromemanagement:** update the API ([50f1d7d](https://github.com/googleapis/google-api-nodejs-client/commit/50f1d7d9949b4add34c554ea4776da8712b98b18))
|
|
16
|
+
|
|
17
|
+
## [2.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v1.3.1...chromemanagement-v2.0.0) (2022-06-15)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### ⚠ BREAKING CHANGES
|
|
21
|
+
|
|
22
|
+
* This release has breaking changes.
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* 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))
|
|
27
|
+
|
|
28
|
+
## [1.3.1](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v1.3.0...chromemanagement-v1.3.1) (2022-06-13)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* **chromemanagement:** update the API ([c386f9d](https://github.com/googleapis/google-api-nodejs-client/commit/c386f9d86fd4e76bf43a22cae77071f49df3d3be))
|
|
34
|
+
|
|
3
35
|
## [1.3.0](https://github.com/googleapis/google-api-nodejs-client/compare/chromemanagement-v1.2.3...chromemanagement-v1.3.0) (2022-04-11)
|
|
4
36
|
|
|
5
37
|
|
package/build/v1.d.ts
CHANGED
|
@@ -482,6 +482,14 @@ export declare namespace chromemanagement_v1 {
|
|
|
482
482
|
* Output only. The CPU architecture.
|
|
483
483
|
*/
|
|
484
484
|
architecture?: string | null;
|
|
485
|
+
/**
|
|
486
|
+
* Output only. Whether keylocker is configured.`TRUE` = Enabled; `FALSE` = disabled. Only reported if keylockerSupported = `TRUE`.
|
|
487
|
+
*/
|
|
488
|
+
keylockerConfigured?: boolean | null;
|
|
489
|
+
/**
|
|
490
|
+
* Output only. Whether keylocker is supported.
|
|
491
|
+
*/
|
|
492
|
+
keylockerSupported?: boolean | null;
|
|
485
493
|
/**
|
|
486
494
|
* Output only. The max CPU clock speed in kHz.
|
|
487
495
|
*/
|
|
@@ -676,6 +684,19 @@ export declare namespace chromemanagement_v1 {
|
|
|
676
684
|
*/
|
|
677
685
|
reportTime?: string | null;
|
|
678
686
|
}
|
|
687
|
+
/**
|
|
688
|
+
* Data that describes the result of the HTTPS latency diagnostics routine, with the HTTPS requests issued to Google websites.
|
|
689
|
+
*/
|
|
690
|
+
export interface Schema$GoogleChromeManagementV1HttpsLatencyRoutineData {
|
|
691
|
+
/**
|
|
692
|
+
* Output only. HTTPS latency if routine succeeded or failed because of HIGH_LATENCY or VERY_HIGH_LATENCY.
|
|
693
|
+
*/
|
|
694
|
+
latency?: string | null;
|
|
695
|
+
/**
|
|
696
|
+
* Output only. HTTPS latency routine problem if a problem occurred.
|
|
697
|
+
*/
|
|
698
|
+
problem?: string | null;
|
|
699
|
+
}
|
|
679
700
|
/**
|
|
680
701
|
* Describes an installed app.
|
|
681
702
|
*/
|
|
@@ -743,6 +764,10 @@ export declare namespace chromemanagement_v1 {
|
|
|
743
764
|
* Output only. Amount of available RAM in bytes.
|
|
744
765
|
*/
|
|
745
766
|
availableRamBytes?: string | null;
|
|
767
|
+
/**
|
|
768
|
+
* Output only. Total memory encryption info for the device.
|
|
769
|
+
*/
|
|
770
|
+
totalMemoryEncryption?: Schema$GoogleChromeManagementV1TotalMemoryEncryptionInfo;
|
|
746
771
|
/**
|
|
747
772
|
* Output only. Total RAM in bytes.
|
|
748
773
|
*/
|
|
@@ -769,18 +794,89 @@ export declare namespace chromemanagement_v1 {
|
|
|
769
794
|
*/
|
|
770
795
|
systemRamFreeBytes?: string | null;
|
|
771
796
|
}
|
|
797
|
+
/**
|
|
798
|
+
* Network device.
|
|
799
|
+
*/
|
|
800
|
+
export interface Schema$GoogleChromeManagementV1NetworkDevice {
|
|
801
|
+
/**
|
|
802
|
+
* Output only. The integrated circuit card ID associated with the device's sim card.
|
|
803
|
+
*/
|
|
804
|
+
iccid?: string | null;
|
|
805
|
+
/**
|
|
806
|
+
* Output only. IMEI (if applicable) of the corresponding network device.
|
|
807
|
+
*/
|
|
808
|
+
imei?: string | null;
|
|
809
|
+
/**
|
|
810
|
+
* Output only. MAC address (if applicable) of the corresponding network device.
|
|
811
|
+
*/
|
|
812
|
+
macAddress?: string | null;
|
|
813
|
+
/**
|
|
814
|
+
* Output only. The mobile directory number associated with the device's sim card.
|
|
815
|
+
*/
|
|
816
|
+
mdn?: string | null;
|
|
817
|
+
/**
|
|
818
|
+
* Output only. MEID (if applicable) of the corresponding network device.
|
|
819
|
+
*/
|
|
820
|
+
meid?: string | null;
|
|
821
|
+
/**
|
|
822
|
+
* Output only. Network device type.
|
|
823
|
+
*/
|
|
824
|
+
type?: string | null;
|
|
825
|
+
}
|
|
826
|
+
/**
|
|
827
|
+
* Network testing results to determine the health of the device's network connection, for example whether the HTTPS latency is high or normal.
|
|
828
|
+
*/
|
|
829
|
+
export interface Schema$GoogleChromeManagementV1NetworkDiagnosticsReport {
|
|
830
|
+
/**
|
|
831
|
+
* Output only. HTTPS latency test data.
|
|
832
|
+
*/
|
|
833
|
+
httpsLatencyData?: Schema$GoogleChromeManagementV1HttpsLatencyRoutineData;
|
|
834
|
+
/**
|
|
835
|
+
* Output only. Timestamp of when the diagnostics were collected.
|
|
836
|
+
*/
|
|
837
|
+
reportTime?: string | null;
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
* Network devices info.
|
|
841
|
+
*/
|
|
842
|
+
export interface Schema$GoogleChromeManagementV1NetworkInfo {
|
|
843
|
+
/**
|
|
844
|
+
* Output only. List of network devices.
|
|
845
|
+
*/
|
|
846
|
+
networkDevices?: Schema$GoogleChromeManagementV1NetworkDevice[];
|
|
847
|
+
}
|
|
772
848
|
/**
|
|
773
849
|
* State of visible/configured networks.
|
|
774
850
|
*/
|
|
775
851
|
export interface Schema$GoogleChromeManagementV1NetworkStatusReport {
|
|
852
|
+
/**
|
|
853
|
+
* Output only. Current connection state of the network.
|
|
854
|
+
*/
|
|
855
|
+
connectionState?: string | null;
|
|
856
|
+
/**
|
|
857
|
+
* Output only. Network connection type.
|
|
858
|
+
*/
|
|
859
|
+
connectionType?: string | null;
|
|
860
|
+
/**
|
|
861
|
+
* Output only. Whether the wifi encryption key is turned off.
|
|
862
|
+
*/
|
|
863
|
+
encryptionOn?: boolean | null;
|
|
776
864
|
/**
|
|
777
865
|
* Output only. Gateway IP address.
|
|
778
866
|
*/
|
|
779
867
|
gatewayIpAddress?: string | null;
|
|
868
|
+
/**
|
|
869
|
+
* Output only. Network connection guid.
|
|
870
|
+
*/
|
|
871
|
+
guid?: string | null;
|
|
780
872
|
/**
|
|
781
873
|
* Output only. LAN IP address.
|
|
782
874
|
*/
|
|
783
875
|
lanIpAddress?: string | null;
|
|
876
|
+
/**
|
|
877
|
+
* Output only. Receiving bit rate measured in megabytes per second.
|
|
878
|
+
*/
|
|
879
|
+
receivingBitRateMbps?: string | null;
|
|
784
880
|
/**
|
|
785
881
|
* Output only. Time at which the network state was reported.
|
|
786
882
|
*/
|
|
@@ -793,6 +889,22 @@ export declare namespace chromemanagement_v1 {
|
|
|
793
889
|
* Output only. Signal strength for wireless networks measured in decibels.
|
|
794
890
|
*/
|
|
795
891
|
signalStrengthDbm?: number | null;
|
|
892
|
+
/**
|
|
893
|
+
* Output only. Transmission bit rate measured in megabytes per second.
|
|
894
|
+
*/
|
|
895
|
+
transmissionBitRateMbps?: string | null;
|
|
896
|
+
/**
|
|
897
|
+
* Output only. Transmission power measured in decibels.
|
|
898
|
+
*/
|
|
899
|
+
transmissionPowerDbm?: number | null;
|
|
900
|
+
/**
|
|
901
|
+
* Output only. Wifi link quality. Value ranges from [0, 70]. 0 indicates no signal and 70 indicates a strong signal.
|
|
902
|
+
*/
|
|
903
|
+
wifiLinkQuality?: string | null;
|
|
904
|
+
/**
|
|
905
|
+
* Output only. Wifi power management enabled
|
|
906
|
+
*/
|
|
907
|
+
wifiPowerManagementEnabled?: boolean | null;
|
|
796
908
|
}
|
|
797
909
|
/**
|
|
798
910
|
* Contains information regarding the current OS update status.
|
|
@@ -922,6 +1034,14 @@ export declare namespace chromemanagement_v1 {
|
|
|
922
1034
|
* Output only. Resource name of the device.
|
|
923
1035
|
*/
|
|
924
1036
|
name?: string | null;
|
|
1037
|
+
/**
|
|
1038
|
+
* Output only. Network diagnostics collected periodically.
|
|
1039
|
+
*/
|
|
1040
|
+
networkDiagnosticsReport?: Schema$GoogleChromeManagementV1NetworkDiagnosticsReport[];
|
|
1041
|
+
/**
|
|
1042
|
+
* Output only. Network devices information.
|
|
1043
|
+
*/
|
|
1044
|
+
networkInfo?: Schema$GoogleChromeManagementV1NetworkInfo;
|
|
925
1045
|
/**
|
|
926
1046
|
* Output only. Network specs collected periodically.
|
|
927
1047
|
*/
|
|
@@ -946,6 +1066,40 @@ export declare namespace chromemanagement_v1 {
|
|
|
946
1066
|
* Output only. Storage reports collected periodically.
|
|
947
1067
|
*/
|
|
948
1068
|
storageStatusReport?: Schema$GoogleChromeManagementV1StorageStatusReport[];
|
|
1069
|
+
/**
|
|
1070
|
+
* Output only. Information on Thunderbolt bus.
|
|
1071
|
+
*/
|
|
1072
|
+
thunderboltInfo?: Schema$GoogleChromeManagementV1ThunderboltInfo[];
|
|
1073
|
+
}
|
|
1074
|
+
/**
|
|
1075
|
+
* Thunderbolt bus info.
|
|
1076
|
+
*/
|
|
1077
|
+
export interface Schema$GoogleChromeManagementV1ThunderboltInfo {
|
|
1078
|
+
/**
|
|
1079
|
+
* Security level of the Thunderbolt bus.
|
|
1080
|
+
*/
|
|
1081
|
+
securityLevel?: string | null;
|
|
1082
|
+
}
|
|
1083
|
+
/**
|
|
1084
|
+
* Memory encryption information of a device.
|
|
1085
|
+
*/
|
|
1086
|
+
export interface Schema$GoogleChromeManagementV1TotalMemoryEncryptionInfo {
|
|
1087
|
+
/**
|
|
1088
|
+
* Memory encryption algorithm.
|
|
1089
|
+
*/
|
|
1090
|
+
encryptionAlgorithm?: string | null;
|
|
1091
|
+
/**
|
|
1092
|
+
* The state of memory encryption on the device.
|
|
1093
|
+
*/
|
|
1094
|
+
encryptionState?: string | null;
|
|
1095
|
+
/**
|
|
1096
|
+
* The length of the encryption keys.
|
|
1097
|
+
*/
|
|
1098
|
+
keyLength?: string | null;
|
|
1099
|
+
/**
|
|
1100
|
+
* The maximum number of keys that can be used for encryption.
|
|
1101
|
+
*/
|
|
1102
|
+
maxKeys?: string | null;
|
|
949
1103
|
}
|
|
950
1104
|
/**
|
|
951
1105
|
* 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).
|
|
@@ -1651,6 +1805,86 @@ export declare namespace chromemanagement_v1 {
|
|
|
1651
1805
|
export class Resource$Customers$Telemetry$Devices {
|
|
1652
1806
|
context: APIRequestContext;
|
|
1653
1807
|
constructor(context: APIRequestContext);
|
|
1808
|
+
/**
|
|
1809
|
+
* Get telemetry device.
|
|
1810
|
+
* @example
|
|
1811
|
+
* ```js
|
|
1812
|
+
* // Before running the sample:
|
|
1813
|
+
* // - Enable the API at:
|
|
1814
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
1815
|
+
* // - Login into gcloud by running:
|
|
1816
|
+
* // `$ gcloud auth application-default login`
|
|
1817
|
+
* // - Install the npm module by running:
|
|
1818
|
+
* // `$ npm install googleapis`
|
|
1819
|
+
*
|
|
1820
|
+
* const {google} = require('googleapis');
|
|
1821
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
1822
|
+
*
|
|
1823
|
+
* async function main() {
|
|
1824
|
+
* const auth = new google.auth.GoogleAuth({
|
|
1825
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1826
|
+
* scopes: [
|
|
1827
|
+
* 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly',
|
|
1828
|
+
* ],
|
|
1829
|
+
* });
|
|
1830
|
+
*
|
|
1831
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
1832
|
+
* const authClient = await auth.getClient();
|
|
1833
|
+
* google.options({auth: authClient});
|
|
1834
|
+
*
|
|
1835
|
+
* // Do the magic
|
|
1836
|
+
* const res = await chromemanagement.customers.telemetry.devices.get({
|
|
1837
|
+
* // Required. Name of the `TelemetryDevice` to return.
|
|
1838
|
+
* name: 'customers/my-customer/telemetry/devices/my-device',
|
|
1839
|
+
* // Required. Read mask to specify which fields to return.
|
|
1840
|
+
* readMask: 'placeholder-value',
|
|
1841
|
+
* });
|
|
1842
|
+
* console.log(res.data);
|
|
1843
|
+
*
|
|
1844
|
+
* // Example response
|
|
1845
|
+
* // {
|
|
1846
|
+
* // "audioStatusReport": [],
|
|
1847
|
+
* // "batteryInfo": [],
|
|
1848
|
+
* // "batteryStatusReport": [],
|
|
1849
|
+
* // "cpuInfo": [],
|
|
1850
|
+
* // "cpuStatusReport": [],
|
|
1851
|
+
* // "customer": "my_customer",
|
|
1852
|
+
* // "deviceId": "my_deviceId",
|
|
1853
|
+
* // "graphicsInfo": {},
|
|
1854
|
+
* // "graphicsStatusReport": [],
|
|
1855
|
+
* // "memoryInfo": {},
|
|
1856
|
+
* // "memoryStatusReport": [],
|
|
1857
|
+
* // "name": "my_name",
|
|
1858
|
+
* // "networkDiagnosticsReport": [],
|
|
1859
|
+
* // "networkInfo": {},
|
|
1860
|
+
* // "networkStatusReport": [],
|
|
1861
|
+
* // "orgUnitId": "my_orgUnitId",
|
|
1862
|
+
* // "osUpdateStatus": [],
|
|
1863
|
+
* // "serialNumber": "my_serialNumber",
|
|
1864
|
+
* // "storageInfo": {},
|
|
1865
|
+
* // "storageStatusReport": [],
|
|
1866
|
+
* // "thunderboltInfo": []
|
|
1867
|
+
* // }
|
|
1868
|
+
* }
|
|
1869
|
+
*
|
|
1870
|
+
* main().catch(e => {
|
|
1871
|
+
* console.error(e);
|
|
1872
|
+
* throw e;
|
|
1873
|
+
* });
|
|
1874
|
+
*
|
|
1875
|
+
* ```
|
|
1876
|
+
*
|
|
1877
|
+
* @param params - Parameters for request
|
|
1878
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1879
|
+
* @param callback - Optional callback that handles the response.
|
|
1880
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1881
|
+
*/
|
|
1882
|
+
get(params: Params$Resource$Customers$Telemetry$Devices$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
1883
|
+
get(params?: Params$Resource$Customers$Telemetry$Devices$Get, options?: MethodOptions): GaxiosPromise<Schema$GoogleChromeManagementV1TelemetryDevice>;
|
|
1884
|
+
get(params: Params$Resource$Customers$Telemetry$Devices$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1885
|
+
get(params: Params$Resource$Customers$Telemetry$Devices$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>): void;
|
|
1886
|
+
get(params: Params$Resource$Customers$Telemetry$Devices$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>): void;
|
|
1887
|
+
get(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>): void;
|
|
1654
1888
|
/**
|
|
1655
1889
|
* List all telemetry devices.
|
|
1656
1890
|
* @example
|
|
@@ -1682,7 +1916,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
1682
1916
|
* const res = await chromemanagement.customers.telemetry.devices.list({
|
|
1683
1917
|
* // Optional. Only include resources that match the filter. Supported filter fields: - org_unit_id - serial_number - device_id
|
|
1684
1918
|
* filter: 'placeholder-value',
|
|
1685
|
-
* // Maximum number of results to return. Default value is 100. Maximum value is
|
|
1919
|
+
* // Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
1686
1920
|
* pageSize: 'placeholder-value',
|
|
1687
1921
|
* // Token to specify next page in the list.
|
|
1688
1922
|
* pageToken: 'placeholder-value',
|
|
@@ -1719,13 +1953,23 @@ export declare namespace chromemanagement_v1 {
|
|
|
1719
1953
|
list(params: Params$Resource$Customers$Telemetry$Devices$List, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryDevicesResponse>): void;
|
|
1720
1954
|
list(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1ListTelemetryDevicesResponse>): void;
|
|
1721
1955
|
}
|
|
1956
|
+
export interface Params$Resource$Customers$Telemetry$Devices$Get extends StandardParameters {
|
|
1957
|
+
/**
|
|
1958
|
+
* Required. Name of the `TelemetryDevice` to return.
|
|
1959
|
+
*/
|
|
1960
|
+
name?: string;
|
|
1961
|
+
/**
|
|
1962
|
+
* Required. Read mask to specify which fields to return.
|
|
1963
|
+
*/
|
|
1964
|
+
readMask?: string;
|
|
1965
|
+
}
|
|
1722
1966
|
export interface Params$Resource$Customers$Telemetry$Devices$List extends StandardParameters {
|
|
1723
1967
|
/**
|
|
1724
1968
|
* Optional. Only include resources that match the filter. Supported filter fields: - org_unit_id - serial_number - device_id
|
|
1725
1969
|
*/
|
|
1726
1970
|
filter?: string;
|
|
1727
1971
|
/**
|
|
1728
|
-
* Maximum number of results to return. Default value is 100. Maximum value is
|
|
1972
|
+
* Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
1729
1973
|
*/
|
|
1730
1974
|
pageSize?: number;
|
|
1731
1975
|
/**
|
package/build/v1.js
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
16
|
-
/* eslint-disable @typescript-eslint/class-name-casing */
|
|
17
16
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
18
17
|
/* eslint-disable @typescript-eslint/no-empty-interface */
|
|
19
18
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -313,6 +312,37 @@ var chromemanagement_v1;
|
|
|
313
312
|
constructor(context) {
|
|
314
313
|
this.context = context;
|
|
315
314
|
}
|
|
315
|
+
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
316
|
+
let params = (paramsOrCallback ||
|
|
317
|
+
{});
|
|
318
|
+
let options = (optionsOrCallback || {});
|
|
319
|
+
if (typeof paramsOrCallback === 'function') {
|
|
320
|
+
callback = paramsOrCallback;
|
|
321
|
+
params = {};
|
|
322
|
+
options = {};
|
|
323
|
+
}
|
|
324
|
+
if (typeof optionsOrCallback === 'function') {
|
|
325
|
+
callback = optionsOrCallback;
|
|
326
|
+
options = {};
|
|
327
|
+
}
|
|
328
|
+
const rootUrl = options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
329
|
+
const parameters = {
|
|
330
|
+
options: Object.assign({
|
|
331
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
332
|
+
method: 'GET',
|
|
333
|
+
}, options),
|
|
334
|
+
params,
|
|
335
|
+
requiredParams: ['name'],
|
|
336
|
+
pathParams: ['name'],
|
|
337
|
+
context: this.context,
|
|
338
|
+
};
|
|
339
|
+
if (callback) {
|
|
340
|
+
googleapis_common_1.createAPIRequest(parameters, callback);
|
|
341
|
+
}
|
|
342
|
+
else {
|
|
343
|
+
return googleapis_common_1.createAPIRequest(parameters);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
316
346
|
list(paramsOrCallback, optionsOrCallback, callback) {
|
|
317
347
|
let params = (paramsOrCallback ||
|
|
318
348
|
{});
|
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,
|
|
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,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,mBAAmB,CA2tFnC;AA3tFD,WAAiB,mBAAmB;IAgElC;;;;;;;;;;OAUG;IACH,MAAa,gBAAgB;QA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* eslint-disable @typescript-eslint/no-explicit-any */
|
|
15
|
-
/* eslint-disable @typescript-eslint/class-name-casing */
|
|
16
15
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
17
16
|
/* eslint-disable @typescript-eslint/no-empty-interface */
|
|
18
17
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -536,6 +535,14 @@ export namespace chromemanagement_v1 {
|
|
|
536
535
|
* Output only. The CPU architecture.
|
|
537
536
|
*/
|
|
538
537
|
architecture?: string | null;
|
|
538
|
+
/**
|
|
539
|
+
* Output only. Whether keylocker is configured.`TRUE` = Enabled; `FALSE` = disabled. Only reported if keylockerSupported = `TRUE`.
|
|
540
|
+
*/
|
|
541
|
+
keylockerConfigured?: boolean | null;
|
|
542
|
+
/**
|
|
543
|
+
* Output only. Whether keylocker is supported.
|
|
544
|
+
*/
|
|
545
|
+
keylockerSupported?: boolean | null;
|
|
539
546
|
/**
|
|
540
547
|
* Output only. The max CPU clock speed in kHz.
|
|
541
548
|
*/
|
|
@@ -730,6 +737,19 @@ export namespace chromemanagement_v1 {
|
|
|
730
737
|
*/
|
|
731
738
|
reportTime?: string | null;
|
|
732
739
|
}
|
|
740
|
+
/**
|
|
741
|
+
* Data that describes the result of the HTTPS latency diagnostics routine, with the HTTPS requests issued to Google websites.
|
|
742
|
+
*/
|
|
743
|
+
export interface Schema$GoogleChromeManagementV1HttpsLatencyRoutineData {
|
|
744
|
+
/**
|
|
745
|
+
* Output only. HTTPS latency if routine succeeded or failed because of HIGH_LATENCY or VERY_HIGH_LATENCY.
|
|
746
|
+
*/
|
|
747
|
+
latency?: string | null;
|
|
748
|
+
/**
|
|
749
|
+
* Output only. HTTPS latency routine problem if a problem occurred.
|
|
750
|
+
*/
|
|
751
|
+
problem?: string | null;
|
|
752
|
+
}
|
|
733
753
|
/**
|
|
734
754
|
* Describes an installed app.
|
|
735
755
|
*/
|
|
@@ -797,6 +817,10 @@ export namespace chromemanagement_v1 {
|
|
|
797
817
|
* Output only. Amount of available RAM in bytes.
|
|
798
818
|
*/
|
|
799
819
|
availableRamBytes?: string | null;
|
|
820
|
+
/**
|
|
821
|
+
* Output only. Total memory encryption info for the device.
|
|
822
|
+
*/
|
|
823
|
+
totalMemoryEncryption?: Schema$GoogleChromeManagementV1TotalMemoryEncryptionInfo;
|
|
800
824
|
/**
|
|
801
825
|
* Output only. Total RAM in bytes.
|
|
802
826
|
*/
|
|
@@ -823,18 +847,89 @@ export namespace chromemanagement_v1 {
|
|
|
823
847
|
*/
|
|
824
848
|
systemRamFreeBytes?: string | null;
|
|
825
849
|
}
|
|
850
|
+
/**
|
|
851
|
+
* Network device.
|
|
852
|
+
*/
|
|
853
|
+
export interface Schema$GoogleChromeManagementV1NetworkDevice {
|
|
854
|
+
/**
|
|
855
|
+
* Output only. The integrated circuit card ID associated with the device's sim card.
|
|
856
|
+
*/
|
|
857
|
+
iccid?: string | null;
|
|
858
|
+
/**
|
|
859
|
+
* Output only. IMEI (if applicable) of the corresponding network device.
|
|
860
|
+
*/
|
|
861
|
+
imei?: string | null;
|
|
862
|
+
/**
|
|
863
|
+
* Output only. MAC address (if applicable) of the corresponding network device.
|
|
864
|
+
*/
|
|
865
|
+
macAddress?: string | null;
|
|
866
|
+
/**
|
|
867
|
+
* Output only. The mobile directory number associated with the device's sim card.
|
|
868
|
+
*/
|
|
869
|
+
mdn?: string | null;
|
|
870
|
+
/**
|
|
871
|
+
* Output only. MEID (if applicable) of the corresponding network device.
|
|
872
|
+
*/
|
|
873
|
+
meid?: string | null;
|
|
874
|
+
/**
|
|
875
|
+
* Output only. Network device type.
|
|
876
|
+
*/
|
|
877
|
+
type?: string | null;
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* Network testing results to determine the health of the device's network connection, for example whether the HTTPS latency is high or normal.
|
|
881
|
+
*/
|
|
882
|
+
export interface Schema$GoogleChromeManagementV1NetworkDiagnosticsReport {
|
|
883
|
+
/**
|
|
884
|
+
* Output only. HTTPS latency test data.
|
|
885
|
+
*/
|
|
886
|
+
httpsLatencyData?: Schema$GoogleChromeManagementV1HttpsLatencyRoutineData;
|
|
887
|
+
/**
|
|
888
|
+
* Output only. Timestamp of when the diagnostics were collected.
|
|
889
|
+
*/
|
|
890
|
+
reportTime?: string | null;
|
|
891
|
+
}
|
|
892
|
+
/**
|
|
893
|
+
* Network devices info.
|
|
894
|
+
*/
|
|
895
|
+
export interface Schema$GoogleChromeManagementV1NetworkInfo {
|
|
896
|
+
/**
|
|
897
|
+
* Output only. List of network devices.
|
|
898
|
+
*/
|
|
899
|
+
networkDevices?: Schema$GoogleChromeManagementV1NetworkDevice[];
|
|
900
|
+
}
|
|
826
901
|
/**
|
|
827
902
|
* State of visible/configured networks.
|
|
828
903
|
*/
|
|
829
904
|
export interface Schema$GoogleChromeManagementV1NetworkStatusReport {
|
|
905
|
+
/**
|
|
906
|
+
* Output only. Current connection state of the network.
|
|
907
|
+
*/
|
|
908
|
+
connectionState?: string | null;
|
|
909
|
+
/**
|
|
910
|
+
* Output only. Network connection type.
|
|
911
|
+
*/
|
|
912
|
+
connectionType?: string | null;
|
|
913
|
+
/**
|
|
914
|
+
* Output only. Whether the wifi encryption key is turned off.
|
|
915
|
+
*/
|
|
916
|
+
encryptionOn?: boolean | null;
|
|
830
917
|
/**
|
|
831
918
|
* Output only. Gateway IP address.
|
|
832
919
|
*/
|
|
833
920
|
gatewayIpAddress?: string | null;
|
|
921
|
+
/**
|
|
922
|
+
* Output only. Network connection guid.
|
|
923
|
+
*/
|
|
924
|
+
guid?: string | null;
|
|
834
925
|
/**
|
|
835
926
|
* Output only. LAN IP address.
|
|
836
927
|
*/
|
|
837
928
|
lanIpAddress?: string | null;
|
|
929
|
+
/**
|
|
930
|
+
* Output only. Receiving bit rate measured in megabytes per second.
|
|
931
|
+
*/
|
|
932
|
+
receivingBitRateMbps?: string | null;
|
|
838
933
|
/**
|
|
839
934
|
* Output only. Time at which the network state was reported.
|
|
840
935
|
*/
|
|
@@ -847,6 +942,22 @@ export namespace chromemanagement_v1 {
|
|
|
847
942
|
* Output only. Signal strength for wireless networks measured in decibels.
|
|
848
943
|
*/
|
|
849
944
|
signalStrengthDbm?: number | null;
|
|
945
|
+
/**
|
|
946
|
+
* Output only. Transmission bit rate measured in megabytes per second.
|
|
947
|
+
*/
|
|
948
|
+
transmissionBitRateMbps?: string | null;
|
|
949
|
+
/**
|
|
950
|
+
* Output only. Transmission power measured in decibels.
|
|
951
|
+
*/
|
|
952
|
+
transmissionPowerDbm?: number | null;
|
|
953
|
+
/**
|
|
954
|
+
* Output only. Wifi link quality. Value ranges from [0, 70]. 0 indicates no signal and 70 indicates a strong signal.
|
|
955
|
+
*/
|
|
956
|
+
wifiLinkQuality?: string | null;
|
|
957
|
+
/**
|
|
958
|
+
* Output only. Wifi power management enabled
|
|
959
|
+
*/
|
|
960
|
+
wifiPowerManagementEnabled?: boolean | null;
|
|
850
961
|
}
|
|
851
962
|
/**
|
|
852
963
|
* Contains information regarding the current OS update status.
|
|
@@ -976,6 +1087,14 @@ export namespace chromemanagement_v1 {
|
|
|
976
1087
|
* Output only. Resource name of the device.
|
|
977
1088
|
*/
|
|
978
1089
|
name?: string | null;
|
|
1090
|
+
/**
|
|
1091
|
+
* Output only. Network diagnostics collected periodically.
|
|
1092
|
+
*/
|
|
1093
|
+
networkDiagnosticsReport?: Schema$GoogleChromeManagementV1NetworkDiagnosticsReport[];
|
|
1094
|
+
/**
|
|
1095
|
+
* Output only. Network devices information.
|
|
1096
|
+
*/
|
|
1097
|
+
networkInfo?: Schema$GoogleChromeManagementV1NetworkInfo;
|
|
979
1098
|
/**
|
|
980
1099
|
* Output only. Network specs collected periodically.
|
|
981
1100
|
*/
|
|
@@ -1000,6 +1119,40 @@ export namespace chromemanagement_v1 {
|
|
|
1000
1119
|
* Output only. Storage reports collected periodically.
|
|
1001
1120
|
*/
|
|
1002
1121
|
storageStatusReport?: Schema$GoogleChromeManagementV1StorageStatusReport[];
|
|
1122
|
+
/**
|
|
1123
|
+
* Output only. Information on Thunderbolt bus.
|
|
1124
|
+
*/
|
|
1125
|
+
thunderboltInfo?: Schema$GoogleChromeManagementV1ThunderboltInfo[];
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
1128
|
+
* Thunderbolt bus info.
|
|
1129
|
+
*/
|
|
1130
|
+
export interface Schema$GoogleChromeManagementV1ThunderboltInfo {
|
|
1131
|
+
/**
|
|
1132
|
+
* Security level of the Thunderbolt bus.
|
|
1133
|
+
*/
|
|
1134
|
+
securityLevel?: string | null;
|
|
1135
|
+
}
|
|
1136
|
+
/**
|
|
1137
|
+
* Memory encryption information of a device.
|
|
1138
|
+
*/
|
|
1139
|
+
export interface Schema$GoogleChromeManagementV1TotalMemoryEncryptionInfo {
|
|
1140
|
+
/**
|
|
1141
|
+
* Memory encryption algorithm.
|
|
1142
|
+
*/
|
|
1143
|
+
encryptionAlgorithm?: string | null;
|
|
1144
|
+
/**
|
|
1145
|
+
* The state of memory encryption on the device.
|
|
1146
|
+
*/
|
|
1147
|
+
encryptionState?: string | null;
|
|
1148
|
+
/**
|
|
1149
|
+
* The length of the encryption keys.
|
|
1150
|
+
*/
|
|
1151
|
+
keyLength?: string | null;
|
|
1152
|
+
/**
|
|
1153
|
+
* The maximum number of keys that can be used for encryption.
|
|
1154
|
+
*/
|
|
1155
|
+
maxKeys?: string | null;
|
|
1003
1156
|
}
|
|
1004
1157
|
/**
|
|
1005
1158
|
* 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).
|
|
@@ -2316,6 +2469,166 @@ export namespace chromemanagement_v1 {
|
|
|
2316
2469
|
this.context = context;
|
|
2317
2470
|
}
|
|
2318
2471
|
|
|
2472
|
+
/**
|
|
2473
|
+
* Get telemetry device.
|
|
2474
|
+
* @example
|
|
2475
|
+
* ```js
|
|
2476
|
+
* // Before running the sample:
|
|
2477
|
+
* // - Enable the API at:
|
|
2478
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
2479
|
+
* // - Login into gcloud by running:
|
|
2480
|
+
* // `$ gcloud auth application-default login`
|
|
2481
|
+
* // - Install the npm module by running:
|
|
2482
|
+
* // `$ npm install googleapis`
|
|
2483
|
+
*
|
|
2484
|
+
* const {google} = require('googleapis');
|
|
2485
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
2486
|
+
*
|
|
2487
|
+
* async function main() {
|
|
2488
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2489
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2490
|
+
* scopes: [
|
|
2491
|
+
* 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly',
|
|
2492
|
+
* ],
|
|
2493
|
+
* });
|
|
2494
|
+
*
|
|
2495
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2496
|
+
* const authClient = await auth.getClient();
|
|
2497
|
+
* google.options({auth: authClient});
|
|
2498
|
+
*
|
|
2499
|
+
* // Do the magic
|
|
2500
|
+
* const res = await chromemanagement.customers.telemetry.devices.get({
|
|
2501
|
+
* // Required. Name of the `TelemetryDevice` to return.
|
|
2502
|
+
* name: 'customers/my-customer/telemetry/devices/my-device',
|
|
2503
|
+
* // Required. Read mask to specify which fields to return.
|
|
2504
|
+
* readMask: 'placeholder-value',
|
|
2505
|
+
* });
|
|
2506
|
+
* console.log(res.data);
|
|
2507
|
+
*
|
|
2508
|
+
* // Example response
|
|
2509
|
+
* // {
|
|
2510
|
+
* // "audioStatusReport": [],
|
|
2511
|
+
* // "batteryInfo": [],
|
|
2512
|
+
* // "batteryStatusReport": [],
|
|
2513
|
+
* // "cpuInfo": [],
|
|
2514
|
+
* // "cpuStatusReport": [],
|
|
2515
|
+
* // "customer": "my_customer",
|
|
2516
|
+
* // "deviceId": "my_deviceId",
|
|
2517
|
+
* // "graphicsInfo": {},
|
|
2518
|
+
* // "graphicsStatusReport": [],
|
|
2519
|
+
* // "memoryInfo": {},
|
|
2520
|
+
* // "memoryStatusReport": [],
|
|
2521
|
+
* // "name": "my_name",
|
|
2522
|
+
* // "networkDiagnosticsReport": [],
|
|
2523
|
+
* // "networkInfo": {},
|
|
2524
|
+
* // "networkStatusReport": [],
|
|
2525
|
+
* // "orgUnitId": "my_orgUnitId",
|
|
2526
|
+
* // "osUpdateStatus": [],
|
|
2527
|
+
* // "serialNumber": "my_serialNumber",
|
|
2528
|
+
* // "storageInfo": {},
|
|
2529
|
+
* // "storageStatusReport": [],
|
|
2530
|
+
* // "thunderboltInfo": []
|
|
2531
|
+
* // }
|
|
2532
|
+
* }
|
|
2533
|
+
*
|
|
2534
|
+
* main().catch(e => {
|
|
2535
|
+
* console.error(e);
|
|
2536
|
+
* throw e;
|
|
2537
|
+
* });
|
|
2538
|
+
*
|
|
2539
|
+
* ```
|
|
2540
|
+
*
|
|
2541
|
+
* @param params - Parameters for request
|
|
2542
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2543
|
+
* @param callback - Optional callback that handles the response.
|
|
2544
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2545
|
+
*/
|
|
2546
|
+
get(
|
|
2547
|
+
params: Params$Resource$Customers$Telemetry$Devices$Get,
|
|
2548
|
+
options: StreamMethodOptions
|
|
2549
|
+
): GaxiosPromise<Readable>;
|
|
2550
|
+
get(
|
|
2551
|
+
params?: Params$Resource$Customers$Telemetry$Devices$Get,
|
|
2552
|
+
options?: MethodOptions
|
|
2553
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1TelemetryDevice>;
|
|
2554
|
+
get(
|
|
2555
|
+
params: Params$Resource$Customers$Telemetry$Devices$Get,
|
|
2556
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2557
|
+
callback: BodyResponseCallback<Readable>
|
|
2558
|
+
): void;
|
|
2559
|
+
get(
|
|
2560
|
+
params: Params$Resource$Customers$Telemetry$Devices$Get,
|
|
2561
|
+
options:
|
|
2562
|
+
| MethodOptions
|
|
2563
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>,
|
|
2564
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2565
|
+
): void;
|
|
2566
|
+
get(
|
|
2567
|
+
params: Params$Resource$Customers$Telemetry$Devices$Get,
|
|
2568
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2569
|
+
): void;
|
|
2570
|
+
get(
|
|
2571
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2572
|
+
): void;
|
|
2573
|
+
get(
|
|
2574
|
+
paramsOrCallback?:
|
|
2575
|
+
| Params$Resource$Customers$Telemetry$Devices$Get
|
|
2576
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2577
|
+
| BodyResponseCallback<Readable>,
|
|
2578
|
+
optionsOrCallback?:
|
|
2579
|
+
| MethodOptions
|
|
2580
|
+
| StreamMethodOptions
|
|
2581
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2582
|
+
| BodyResponseCallback<Readable>,
|
|
2583
|
+
callback?:
|
|
2584
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2585
|
+
| BodyResponseCallback<Readable>
|
|
2586
|
+
):
|
|
2587
|
+
| void
|
|
2588
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1TelemetryDevice>
|
|
2589
|
+
| GaxiosPromise<Readable> {
|
|
2590
|
+
let params = (paramsOrCallback ||
|
|
2591
|
+
{}) as Params$Resource$Customers$Telemetry$Devices$Get;
|
|
2592
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2593
|
+
|
|
2594
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2595
|
+
callback = paramsOrCallback;
|
|
2596
|
+
params = {} as Params$Resource$Customers$Telemetry$Devices$Get;
|
|
2597
|
+
options = {};
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2601
|
+
callback = optionsOrCallback;
|
|
2602
|
+
options = {};
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2605
|
+
const rootUrl =
|
|
2606
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
2607
|
+
const parameters = {
|
|
2608
|
+
options: Object.assign(
|
|
2609
|
+
{
|
|
2610
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2611
|
+
method: 'GET',
|
|
2612
|
+
},
|
|
2613
|
+
options
|
|
2614
|
+
),
|
|
2615
|
+
params,
|
|
2616
|
+
requiredParams: ['name'],
|
|
2617
|
+
pathParams: ['name'],
|
|
2618
|
+
context: this.context,
|
|
2619
|
+
};
|
|
2620
|
+
if (callback) {
|
|
2621
|
+
createAPIRequest<Schema$GoogleChromeManagementV1TelemetryDevice>(
|
|
2622
|
+
parameters,
|
|
2623
|
+
callback as BodyResponseCallback<unknown>
|
|
2624
|
+
);
|
|
2625
|
+
} else {
|
|
2626
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1TelemetryDevice>(
|
|
2627
|
+
parameters
|
|
2628
|
+
);
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
|
|
2319
2632
|
/**
|
|
2320
2633
|
* List all telemetry devices.
|
|
2321
2634
|
* @example
|
|
@@ -2347,7 +2660,7 @@ export namespace chromemanagement_v1 {
|
|
|
2347
2660
|
* const res = await chromemanagement.customers.telemetry.devices.list({
|
|
2348
2661
|
* // Optional. Only include resources that match the filter. Supported filter fields: - org_unit_id - serial_number - device_id
|
|
2349
2662
|
* filter: 'placeholder-value',
|
|
2350
|
-
* // Maximum number of results to return. Default value is 100. Maximum value is
|
|
2663
|
+
* // Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
2351
2664
|
* pageSize: 'placeholder-value',
|
|
2352
2665
|
* // Token to specify next page in the list.
|
|
2353
2666
|
* pageToken: 'placeholder-value',
|
|
@@ -2467,6 +2780,17 @@ export namespace chromemanagement_v1 {
|
|
|
2467
2780
|
}
|
|
2468
2781
|
}
|
|
2469
2782
|
|
|
2783
|
+
export interface Params$Resource$Customers$Telemetry$Devices$Get
|
|
2784
|
+
extends StandardParameters {
|
|
2785
|
+
/**
|
|
2786
|
+
* Required. Name of the `TelemetryDevice` to return.
|
|
2787
|
+
*/
|
|
2788
|
+
name?: string;
|
|
2789
|
+
/**
|
|
2790
|
+
* Required. Read mask to specify which fields to return.
|
|
2791
|
+
*/
|
|
2792
|
+
readMask?: string;
|
|
2793
|
+
}
|
|
2470
2794
|
export interface Params$Resource$Customers$Telemetry$Devices$List
|
|
2471
2795
|
extends StandardParameters {
|
|
2472
2796
|
/**
|
|
@@ -2474,7 +2798,7 @@ export namespace chromemanagement_v1 {
|
|
|
2474
2798
|
*/
|
|
2475
2799
|
filter?: string;
|
|
2476
2800
|
/**
|
|
2477
|
-
* Maximum number of results to return. Default value is 100. Maximum value is
|
|
2801
|
+
* Maximum number of results to return. Default value is 100. Maximum value is 1000.
|
|
2478
2802
|
*/
|
|
2479
2803
|
pageSize?: number;
|
|
2480
2804
|
/**
|