AppReport
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"usageData": [
{
object (AppUsageData )
}
],
"reportTime": string
} |
字段 |
usageData[] |
object (AppUsageData )
应用使用情况数据。
|
reportTime |
string (Timestamp format)
报告收集的时间戳。 采用 RFC 3339 标准,生成的输出将始终在末尾带 Z,并使用 0、3、6 或 9 个小数位。不带“Z”的偏差时间也是可以接受的。示例:"2014-10-02T15:01:23Z" 、"2014-10-02T15:01:23.045123456Z" 或 "2014-10-02T15:01:23+05:30" 。
|
AppUsageData
JSON 表示法 |
{
"runningDuration": string,
"appId": string,
"appType": enum (TelemetryApplicationType ),
"appInstanceId": string
} |
字段 |
runningDuration |
string (Duration format)
应用前台运行时间。 该时长以秒为单位,最多包含九个小数位,以“s ”结尾。示例:"3.5s" 。
|
appId |
string
应用 ID。
|
appType |
enum (TelemetryApplicationType )
应用类型。
|
appInstanceId |
string
应用实例 ID。每个窗口/实例的此值都是唯一的。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe App Report provides application usage data, including running duration and application type.\u003c/p\u003e\n"],["\u003cp\u003eIt includes the application ID, instance ID, and running duration for each application.\u003c/p\u003e\n"],["\u003cp\u003eReport data is collected and presented with a timestamp in RFC3339 UTC "Zulu" format.\u003c/p\u003e\n"],["\u003cp\u003eApp usage is represented by the AppUsageData object containing application details and running duration.\u003c/p\u003e\n"]]],[],null,["# AppReport\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [AppUsageData](#AppUsageData)\n - [JSON representation](#AppUsageData.SCHEMA_REPRESENTATION)\n\nApp report.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"usageData\": [ { object (/chrome/management/reference/rest/v1/AppReport#AppUsageData) } ], \"reportTime\": string } ``` |\n\n| Fields ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `usageData[]` | `object (`[AppUsageData](/chrome/management/reference/rest/v1/AppReport#AppUsageData)`)` App usage data. |\n| `reportTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Timestamp when the report was collected. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n\nAppUsageData\n------------\n\nApp usage data.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"runningDuration\": string, \"appId\": string, \"appType\": enum (/chrome/management/reference/rest/v1/TelemetryApplicationType), \"appInstanceId\": string } ``` |\n\n| Fields ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `runningDuration` | `string (`[Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration)` format)` App foreground running time. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `\"3.5s\"`. |\n| `appId` | `string` App id. |\n| `appType` | `enum (`[TelemetryApplicationType](/chrome/management/reference/rest/v1/TelemetryApplicationType)`)` Type of app. |\n| `appInstanceId` | `string` Application instance id. This will be unique per window/instance. |"]]