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.GoogleChromeManagementV1AppReport.description
- schemas.GoogleChromeManagementV1AppReport.id
- schemas.GoogleChromeManagementV1AppReport.properties.reportTime.description
- schemas.GoogleChromeManagementV1AppReport.properties.reportTime.format
- schemas.GoogleChromeManagementV1AppReport.properties.reportTime.type
- schemas.GoogleChromeManagementV1AppReport.properties.usageData.description
- schemas.GoogleChromeManagementV1AppReport.properties.usageData.items.$ref
- schemas.GoogleChromeManagementV1AppReport.properties.usageData.type
- schemas.GoogleChromeManagementV1AppReport.type
- schemas.GoogleChromeManagementV1AppUsageData.description
- schemas.GoogleChromeManagementV1AppUsageData.id
- schemas.GoogleChromeManagementV1AppUsageData.properties.appId.description
- schemas.GoogleChromeManagementV1AppUsageData.properties.appId.type
- schemas.GoogleChromeManagementV1AppUsageData.properties.appInstanceId.description
- schemas.GoogleChromeManagementV1AppUsageData.properties.appInstanceId.type
- schemas.GoogleChromeManagementV1AppUsageData.properties.appType.description
- schemas.GoogleChromeManagementV1AppUsageData.properties.appType.enum
- schemas.GoogleChromeManagementV1AppUsageData.properties.appType.enumDescriptions
- schemas.GoogleChromeManagementV1AppUsageData.properties.appType.type
- schemas.GoogleChromeManagementV1AppUsageData.properties.runningDuration.description
- schemas.GoogleChromeManagementV1AppUsageData.properties.runningDuration.format
- schemas.GoogleChromeManagementV1AppUsageData.properties.runningDuration.type
- schemas.GoogleChromeManagementV1AppUsageData.type
- schemas.GoogleChromeManagementV1TelemetryDevice.properties.appReport.description
- schemas.GoogleChromeManagementV1TelemetryDevice.properties.appReport.items.$ref
- schemas.GoogleChromeManagementV1TelemetryDevice.properties.appReport.readOnly
- schemas.GoogleChromeManagementV1TelemetryDevice.properties.appReport.type
- schemas.GoogleChromeManagementV1TelemetryUserDevice.properties.appReport.description
- schemas.GoogleChromeManagementV1TelemetryUserDevice.properties.appReport.items.$ref
- schemas.GoogleChromeManagementV1TelemetryUserDevice.properties.appReport.readOnly
- schemas.GoogleChromeManagementV1TelemetryUserDevice.properties.appReport.type
  • Loading branch information
yoshi-automation authored and sofisl committed Jun 6, 2024
1 parent 4a1d591 commit c395939
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 1 deletion.
97 changes: 96 additions & 1 deletion discovery/chromemanagement-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@
}
}
},
"revision": "20240530",
"revision": "20240604",
"rootUrl": "https://chromemanagement.googleapis.com/",
"schemas": {
"GoogleChromeManagementV1AndroidAppInfo": {
Expand Down Expand Up @@ -1320,6 +1320,85 @@
},
"type": "object"
},
"GoogleChromeManagementV1AppReport": {
"description": "App report.",
"id": "GoogleChromeManagementV1AppReport",
"properties": {
"reportTime": {
"description": "Timestamp when the report was collected.",
"format": "google-datetime",
"type": "string"
},
"usageData": {
"description": "App usage data.",
"items": {
"$ref": "GoogleChromeManagementV1AppUsageData"
},
"type": "array"
}
},
"type": "object"
},
"GoogleChromeManagementV1AppUsageData": {
"description": "App usage data.",
"id": "GoogleChromeManagementV1AppUsageData",
"properties": {
"appId": {
"description": "App id.",
"type": "string"
},
"appInstanceId": {
"description": "Application instance id. This will be unique per window/instance.",
"type": "string"
},
"appType": {
"description": "Type of app.",
"enum": [
"TELEMETRY_APPLICATION_TYPE_UNSPECIFIED",
"APPLICATION_TYPE_ARC",
"APPLICATION_TYPE_BUILT_IN",
"APPLICATION_TYPE_CROSTINI",
"APPLICATION_TYPE_CHROME_APP",
"APPLICATION_TYPE_WEB",
"APPLICATION_TYPE_MAC_OS",
"APPLICATION_TYPE_PLUGIN_VM",
"APPLICATION_TYPE_STANDALONE_BROWSER",
"APPLICATION_TYPE_REMOTE",
"APPLICATION_TYPE_BOREALIS",
"APPLICATION_TYPE_SYSTEM_WEB",
"APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP",
"APPLICATION_TYPE_EXTENSION",
"APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION",
"APPLICATION_TYPE_BRUSCHETTA"
],
"enumDescriptions": [
"Application type unknown.",
"Application type arc (Android app).",
"Application type built-in.",
"Application type Linux (via Crostini).",
"Application type Chrome app.",
"Application type web.",
"Application type Mac OS.",
"Application type Plugin VM.",
"Application type standalone browser (Lacros browser app).",
"Application type remote.",
"Application type borealis.",
"Application type system web.",
"Application type standalone browser chrome app (hosted in Lacros).",
"Application type extension.",
"Application type standalone browser extension.",
"Application type bruschetta."
],
"type": "string"
},
"runningDuration": {
"description": "App foreground running time.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"GoogleChromeManagementV1AudioStatusReport": {
"description": "Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceAudioStatus](https://chromeenterprise.google/policies/#ReportDeviceAudioStatus) * Data Collection Frequency: 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_AUDIO_REPORT",
"id": "GoogleChromeManagementV1AudioStatusReport",
Expand Down Expand Up @@ -3771,6 +3850,14 @@
"description": "Telemetry data collected from a managed device. * Granular permission needed: TELEMETRY_API_DEVICE",
"id": "GoogleChromeManagementV1TelemetryDevice",
"properties": {
"appReport": {
"description": "Output only. App reports collected periodically sorted in a decreasing order of report_time.",
"items": {
"$ref": "GoogleChromeManagementV1AppReport"
},
"readOnly": true,
"type": "array"
},
"audioStatusReport": {
"description": "Output only. Audio reports collected periodically sorted in a decreasing order of report_time.",
"items": {
Expand Down Expand Up @@ -4302,6 +4389,14 @@
"description": "Telemetry data collected for a managed user and device. * Granular permission needed: TELEMETRY_API_DEVICE",
"id": "GoogleChromeManagementV1TelemetryUserDevice",
"properties": {
"appReport": {
"description": "Output only. App reports collected periodically sorted in a decreasing order of report_time.",
"items": {
"$ref": "GoogleChromeManagementV1AppReport"
},
"readOnly": true,
"type": "array"
},
"audioStatusReport": {
"description": "Output only. Audio reports collected periodically sorted in a decreasing order of report_time.",
"items": {
Expand Down
42 changes: 42 additions & 0 deletions src/apis/chromemanagement/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,40 @@ export namespace chromemanagement_v1 {
*/
type?: string | null;
}
/**
* App report.
*/
export interface Schema$GoogleChromeManagementV1AppReport {
/**
* Timestamp when the report was collected.
*/
reportTime?: string | null;
/**
* App usage data.
*/
usageData?: Schema$GoogleChromeManagementV1AppUsageData[];
}
/**
* App usage data.
*/
export interface Schema$GoogleChromeManagementV1AppUsageData {
/**
* App id.
*/
appId?: string | null;
/**
* Application instance id. This will be unique per window/instance.
*/
appInstanceId?: string | null;
/**
* Type of app.
*/
appType?: string | null;
/**
* App foreground running time.
*/
runningDuration?: string | null;
}
/**
* Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceAudioStatus](https://chromeenterprise.google/policies/#ReportDeviceAudioStatus) * Data Collection Frequency: 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_AUDIO_REPORT
*/
Expand Down Expand Up @@ -1641,6 +1675,10 @@ export namespace chromemanagement_v1 {
* Telemetry data collected from a managed device. * Granular permission needed: TELEMETRY_API_DEVICE
*/
export interface Schema$GoogleChromeManagementV1TelemetryDevice {
/**
* Output only. App reports collected periodically sorted in a decreasing order of report_time.
*/
appReport?: Schema$GoogleChromeManagementV1AppReport[];
/**
* Output only. Audio reports collected periodically sorted in a decreasing order of report_time.
*/
Expand Down Expand Up @@ -1960,6 +1998,10 @@ export namespace chromemanagement_v1 {
* Telemetry data collected for a managed user and device. * Granular permission needed: TELEMETRY_API_DEVICE
*/
export interface Schema$GoogleChromeManagementV1TelemetryUserDevice {
/**
* Output only. App reports collected periodically sorted in a decreasing order of report_time.
*/
appReport?: Schema$GoogleChromeManagementV1AppReport[];
/**
* Output only. Audio reports collected periodically sorted in a decreasing order of report_time.
*/
Expand Down

0 comments on commit c395939

Please sign in to comment.