Package google.chat.logging.v1
ChatAppLogEntry
Hata mesajlarının JSON yükü. Cloud Logging API etkinse bu hata mesajları Google Cloud Logging'a kaydedilir.
Alanlar |
deployment |
string
Hataya neden olan dağıtım. Apps Komut Dosyası'nda oluşturulan Chat uygulamaları için bu, Apps Komut Dosyası tarafından tanımlanan dağıtım kimliğidir.
|
error |
Status
Hata kodu ve mesajı.
|
deployment_function |
string
Hatayla karşılaşıldığında çalışan şifrelenmemiş callback_method adı.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-02-27 UTC.
[null,null,["Son güncelleme tarihi: 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"]]