Setting up on Cloud Run functions

Cloud Run functions grants the Error Reporting Writer role (roles/errorreporting.writer) to your default service account automatically.

Your client libraries can be used without needing to explicitly provide credentials.

Cloud Run functions is configured to use Error Reporting automatically. Unhandled exceptions appear in Logging and be processed by Error Reporting without needing to use a client library.

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 2025年12月17日 UTC.