Cloud Run functions lets you monitor and diagnose runtime errors by automatically writing unhandled exceptions to Cloud Logging. Error Reporting evaluates these logged stack traces without requiring a client library, and Cloud Run functions automatically grants default credentials if you use a client library.
Setting up on Cloud Run functions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-09-25 UTC.