Package google.chat.logging.v1
ChatAppLogEntry
Payload JSON pesan error. Jika Cloud Logging API diaktifkan, pesan error ini akan dicatat ke Google Cloud Logging.
Kolom |
deployment |
string
Deployment yang menyebabkan error. Untuk aplikasi Chat yang dibuat di Apps Script, ini adalah ID deployment yang ditentukan oleh Apps Script.
|
error |
Status
Kode dan pesan error.
|
deployment_function |
string
Nama callback_method yang tidak dienkripsi yang sedang berjalan saat error terjadi.
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-02-27 UTC.
[null,null,["Terakhir diperbarui pada 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"]]