Package google.chat.logging.v1
ChatAppLogEntry
錯誤訊息的 JSON 酬載。如果啟用了 Cloud Logging API,這些錯誤訊息會記錄到 Google Cloud Logging。
欄位 |
deployment |
string
導致錯誤的部署作業。如果是使用 Apps Script 建構的 Chat 應用程式,則為 Apps Script 定義的部署作業 ID。
|
error |
Status
錯誤代碼和訊息。
|
deployment_function |
string
發生錯誤時正在執行的未加密 callback_method 名稱。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-27 (世界標準時間)。
[null,null,["上次更新時間:2025-02-27 (世界標準時間)。"],[[["ChatAppLogEntry provides a JSON payload containing error messages for Chat apps."],["If enabled, these error messages are sent to Google Cloud Logging for analysis and debugging."],["The payload includes information about the deployment, error code and message, and the specific function where the error occurred."]]],["The `ChatAppLogEntry` message logs error details to Google Cloud Logging when enabled. It captures the `deployment` (e.g., deployment ID for Apps Script), the associated `error` (code and message), and the `deployment_function` (callback method name) where the error occurred. This structure allows for detailed tracking and analysis of errors within a Chat app.\n"]]