Le librerie client possono essere utilizzate senza dover fornire esplicitamente le credenziali.
Le funzioni Cloud Run sono configurate per utilizzare automaticamente Error Reporting. Le eccezioni non gestite verranno visualizzate in Logging e elaborate da Error Reporting senza dover utilizzare una libreria client.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-03 UTC."],[[["\u003cp\u003eCloud Run functions automatically grants the Error Reporting Writer role to your default service account.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries can be used without explicitly providing credentials in Cloud Run.\u003c/p\u003e\n"],["\u003cp\u003eError Reporting is automatically configured for Cloud Run functions.\u003c/p\u003e\n"],["\u003cp\u003eUnhandled exceptions in Cloud Run will appear in Logging and be processed by Error Reporting.\u003c/p\u003e\n"],["\u003cp\u003eLog entries containing a stack trace with a severity of ERROR or no specified log severity are automatically processed.\u003c/p\u003e\n"]]],[],null,["[Cloud Run functions](/functions/docs) grants the\n[Error Reporting Writer role](/error-reporting/docs/iam#errorreporting.writer) (`roles/errorreporting.writer`)\nto your default service account automatically.\n\nYour client libraries can be used without needing to explicitly provide\ncredentials.\n\nCloud Run functions is configured to use Error Reporting\nautomatically. Unhandled exceptions will appear in Logging and\nbe processed by Error Reporting without needing to use a client\nlibrary.\n| **Note:** Log entries are processed automatically if they contain a stack trace and they specify either no log severity or a log severity of at least `ERROR`, without needing to use a client library."]]