Package google.chat.logging.v1
ChatAppLogEntry
Полезная нагрузка JSON сообщений об ошибках. Если API Cloud Logging включен, эти сообщения об ошибках регистрируются в Google Cloud Logging .
Поля |
---|
deployment | string Развертывание, вызвавшее ошибку. Для приложений чата, созданных с помощью Apps Script, это идентификатор развертывания, определенный Apps Script. |
error | Status Код ошибки и сообщение. |
deployment_function | string Незашифрованное имя callback_method , который выполнялся в момент возникновения ошибки. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-02-27 UTC.
[null,null,["Последнее обновление: 2025-02-27 UTC."],[[["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"]]