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)
應用程式前景執行時間。 以秒為單位的時間長度,最多可有 9 個小數位數,結尾為「s 」,例如:"3.5s" 。
|
appId |
string
應用程式 ID。
|
appType |
enum (TelemetryApplicationType )
應用程式類型。
|
appInstanceId |
string
應用程式執行個體 ID。每個視窗/例項的 ID 皆不相同。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]