Skip to content

Commit

Permalink
feat(chromemanagement): update the API
Browse files Browse the repository at this point in the history
#### chromemanagement:v1

The following keys were added:
- schemas.GoogleChromeManagementV1AudioStatusReport.description
- schemas.GoogleChromeManagementV1AudioStatusReport.id
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.inputDevice.description
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.inputDevice.readOnly
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.inputDevice.type
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.inputGain.description
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.inputGain.format
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.inputGain.readOnly
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.inputGain.type
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.inputMute.description
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.inputMute.readOnly
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.inputMute.type
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.outputDevice.description
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.outputDevice.readOnly
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.outputDevice.type
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.outputMute.description
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.outputMute.readOnly
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.outputMute.type
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.outputVolume.description
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.outputVolume.format
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.outputVolume.readOnly
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.outputVolume.type
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.reportTime.description
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.reportTime.format
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.reportTime.readOnly
- schemas.GoogleChromeManagementV1AudioStatusReport.properties.reportTime.type
- schemas.GoogleChromeManagementV1AudioStatusReport.type
- schemas.GoogleChromeManagementV1ChromeAppInfo.properties.isKioskOnly.description
- schemas.GoogleChromeManagementV1ChromeAppInfo.properties.isKioskOnly.readOnly
- schemas.GoogleChromeManagementV1ChromeAppInfo.properties.isKioskOnly.type
- schemas.GoogleChromeManagementV1ChromeAppInfo.properties.kioskEnabled.description
- schemas.GoogleChromeManagementV1ChromeAppInfo.properties.kioskEnabled.readOnly
- schemas.GoogleChromeManagementV1ChromeAppInfo.properties.kioskEnabled.type
- schemas.GoogleChromeManagementV1TelemetryDevice.properties.audioStatusReport.description
- schemas.GoogleChromeManagementV1TelemetryDevice.properties.audioStatusReport.items.$ref
- schemas.GoogleChromeManagementV1TelemetryDevice.properties.audioStatusReport.readOnly
- schemas.GoogleChromeManagementV1TelemetryDevice.properties.audioStatusReport.type

The following keys were changed:
- schemas.GoogleChromeManagementV1BatteryStatusReport.properties.sample.description
- schemas.GoogleChromeManagementV1TelemetryDevice.properties.cpuStatusReport.description
- schemas.GoogleChromeManagementV1TelemetryDevice.properties.memoryStatusReport.description
  • Loading branch information
yoshi-automation authored and bcoe committed Apr 11, 2022
1 parent 318ea6e commit 4860bd2
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 7 deletions.
71 changes: 67 additions & 4 deletions discovery/chromemanagement-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@
}
}
},
"revision": "20220328",
"revision": "20220406",
"rootUrl": "https://chromemanagement.googleapis.com/",
"schemas": {
"GoogleChromeManagementV1AndroidAppInfo": {
Expand Down Expand Up @@ -636,6 +636,51 @@
},
"type": "object"
},
"GoogleChromeManagementV1AudioStatusReport": {
"description": "Audio report.",
"id": "GoogleChromeManagementV1AudioStatusReport",
"properties": {
"inputDevice": {
"description": "Output only. Active input device's name.",
"readOnly": true,
"type": "string"
},
"inputGain": {
"description": "Output only. Active input device's gain in [0, 100].",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"inputMute": {
"description": "Output only. Is active input device mute or not.",
"readOnly": true,
"type": "boolean"
},
"outputDevice": {
"description": "Output only. Active output device's name.",
"readOnly": true,
"type": "string"
},
"outputMute": {
"description": "Output only. Is active output device mute or not.",
"readOnly": true,
"type": "boolean"
},
"outputVolume": {
"description": "Output only. Active output device's volume in [0, 100].",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"reportTime": {
"description": "Output only. Timestamp of when the sample was collected on device.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleChromeManagementV1BatteryInfo": {
"description": "Battery info",
"id": "GoogleChromeManagementV1BatteryInfo",
Expand Down Expand Up @@ -769,7 +814,7 @@
"type": "string"
},
"sample": {
"description": "Output only. Sampling data for the battery.",
"description": "Output only. Sampling data for the battery sorted in a decreasing order of report_time.",
"items": {
"$ref": "GoogleChromeManagementV1BatterySampleReport"
},
Expand Down Expand Up @@ -865,11 +910,21 @@
"readOnly": true,
"type": "boolean"
},
"isKioskOnly": {
"description": "Output only. Whether the app is only for Kiosk mode on Chrome OS devices",
"readOnly": true,
"type": "boolean"
},
"isTheme": {
"description": "Output only. Whether the app or extension is a theme.",
"readOnly": true,
"type": "boolean"
},
"kioskEnabled": {
"description": "Output only. Whether this app is enabled for Kiosk mode on Chrome OS devices",
"readOnly": true,
"type": "boolean"
},
"minUserCount": {
"description": "Output only. The minimum number of users using this app.",
"format": "int32",
Expand Down Expand Up @@ -1678,6 +1733,14 @@
"description": "Telemetry data collected from a managed device.",
"id": "GoogleChromeManagementV1TelemetryDevice",
"properties": {
"audioStatusReport": {
"description": "Output only. Audio reports collected periodically sorted in a decreasing order of report_time.",
"items": {
"$ref": "GoogleChromeManagementV1AudioStatusReport"
},
"readOnly": true,
"type": "array"
},
"batteryInfo": {
"description": "Output only. Information on battery specs for the device.",
"items": {
Expand All @@ -1703,7 +1766,7 @@
"type": "array"
},
"cpuStatusReport": {
"description": "Output only. CPU status reports collected periodically.",
"description": "Output only. CPU status reports collected periodically sorted in a decreasing order of report_time.",
"items": {
"$ref": "GoogleChromeManagementV1CpuStatusReport"
},
Expand Down Expand Up @@ -1739,7 +1802,7 @@
"readOnly": true
},
"memoryStatusReport": {
"description": "Output only. Memory status reports collected periodically.",
"description": "Output only. Memory status reports collected periodically sorted decreasing by report_time.",
"items": {
"$ref": "GoogleChromeManagementV1MemoryStatusReport"
},
Expand Down
51 changes: 48 additions & 3 deletions src/apis/chromemanagement/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,39 @@ export namespace chromemanagement_v1 {
*/
type?: string | null;
}
/**
* Audio report.
*/
export interface Schema$GoogleChromeManagementV1AudioStatusReport {
/**
* Output only. Active input device's name.
*/
inputDevice?: string | null;
/**
* Output only. Active input device's gain in [0, 100].
*/
inputGain?: number | null;
/**
* Output only. Is active input device mute or not.
*/
inputMute?: boolean | null;
/**
* Output only. Active output device's name.
*/
outputDevice?: string | null;
/**
* Output only. Is active output device mute or not.
*/
outputMute?: boolean | null;
/**
* Output only. Active output device's volume in [0, 100].
*/
outputVolume?: number | null;
/**
* Output only. Timestamp of when the sample was collected on device.
*/
reportTime?: string | null;
}
/**
* Battery info
*/
Expand Down Expand Up @@ -311,7 +344,7 @@ export namespace chromemanagement_v1 {
*/
reportTime?: string | null;
/**
* Output only. Sampling data for the battery.
* Output only. Sampling data for the battery sorted in a decreasing order of report_time.
*/
sample?: Schema$GoogleChromeManagementV1BatterySampleReport[];
/**
Expand Down Expand Up @@ -356,10 +389,18 @@ export namespace chromemanagement_v1 {
* Output only. Whether the app or extension is in a published state in the Chrome Web Store.
*/
isCwsHosted?: boolean | null;
/**
* Output only. Whether the app is only for Kiosk mode on Chrome OS devices
*/
isKioskOnly?: boolean | null;
/**
* Output only. Whether the app or extension is a theme.
*/
isTheme?: boolean | null;
/**
* Output only. Whether this app is enabled for Kiosk mode on Chrome OS devices
*/
kioskEnabled?: boolean | null;
/**
* Output only. The minimum number of users using this app.
*/
Expand Down Expand Up @@ -887,6 +928,10 @@ export namespace chromemanagement_v1 {
* Telemetry data collected from a managed device.
*/
export interface Schema$GoogleChromeManagementV1TelemetryDevice {
/**
* Output only. Audio reports collected periodically sorted in a decreasing order of report_time.
*/
audioStatusReport?: Schema$GoogleChromeManagementV1AudioStatusReport[];
/**
* Output only. Information on battery specs for the device.
*/
Expand All @@ -900,7 +945,7 @@ export namespace chromemanagement_v1 {
*/
cpuInfo?: Schema$GoogleChromeManagementV1CpuInfo[];
/**
* Output only. CPU status reports collected periodically.
* Output only. CPU status reports collected periodically sorted in a decreasing order of report_time.
*/
cpuStatusReport?: Schema$GoogleChromeManagementV1CpuStatusReport[];
/**
Expand All @@ -924,7 +969,7 @@ export namespace chromemanagement_v1 {
*/
memoryInfo?: Schema$GoogleChromeManagementV1MemoryInfo;
/**
* Output only. Memory status reports collected periodically.
* Output only. Memory status reports collected periodically sorted decreasing by report_time.
*/
memoryStatusReport?: Schema$GoogleChromeManagementV1MemoryStatusReport[];
/**
Expand Down

0 comments on commit 4860bd2

Please sign in to comment.