Package google.chat.logging.v1
ChatAppLogEntry
Ładunek JSON komunikatów o błędach. Jeśli interfejs Cloud Logging API jest włączony, te komunikaty o błędach są rejestrowane w Google Cloud Logging.
Pola |
deployment |
string
Wdrożenie, które spowodowało błąd. W przypadku aplikacji Google Chat utworzonych w Apps Script jest to identyfikator wdrożenia zdefiniowany przez Apps Script.
|
error |
Status
Kod błędu i komunikat.
|
deployment_function |
string
Niezaszyfrowana nazwa callback_method , która była uruchomiona w momencie wystąpienia błędu.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-02-27 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]