Package google.chat.logging.v1
ChatAppLogEntry
Payload JSON dei messaggi di errore. Se l'API Cloud Logging è abilitata, questi messaggi di errore vengono registrati in Google Cloud Logging.
Campi |
deployment |
string
Il deployment che ha causato l'errore. Per le app di Chat create in Apps Script, si tratta dell'ID deployment definito da Apps Script.
|
error |
Status
Il codice e il messaggio di errore.
|
deployment_function |
string
Il nome non criptato di callback_method in esecuzione quando si è verificato l'errore.
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-02-27 UTC.
[null,null,["Ultimo aggiornamento 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"]]