Package google.chat.logging.v1
ChatAppLogEntry
错误消息的 JSON 载荷。如果 Cloud Logging API 处于启用状态,系统会将这些错误消息记录到 Google Cloud Logging。
字段 |
deployment |
string
导致错误的部署。对于在 Apps 脚本中构建的 Chat 应用,此 ID 是指 Apps 脚本定义的部署 ID。
|
error |
Status
错误代码和消息。
|
deployment_function |
string
遇到错误时正在运行的未加密 callback_method 名称。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-27。
[null,null,["最后更新时间 (UTC):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"]]