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 will appear in Logging and be processed by Error Reporting without needing to use a client library.