# Firebase Python SDK for Cloud Functions

- [firebase_functions.core module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.core)
  - [`Change`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.core#firebase_functions.core.Change)
  - [`CloudEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.core#firebase_functions.core.CloudEvent)
  - [`init()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.core#firebase_functions.core.init)
- [firebase_functions.alerts_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts_fn)
  - [`AlertEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts_fn#firebase_functions.alerts_fn.AlertEvent)
  - [`on_alert_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts_fn#firebase_functions.alerts_fn.on_alert_published)
  - [`OnAlertPublishedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts_fn#firebase_functions.alerts_fn.OnAlertPublishedCallable)
  - [`OnAlertPublishedEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts_fn#firebase_functions.alerts_fn.OnAlertPublishedEvent)
- [firebase_functions.alerts.app_distribution_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.app_distribution_fn)
  - [`AppDistributionEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.app_distribution_fn#firebase_functions.alerts.app_distribution_fn.AppDistributionEvent)
  - [`InAppFeedbackPayload`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.app_distribution_fn#firebase_functions.alerts.app_distribution_fn.InAppFeedbackPayload)
  - [`NewTesterDevicePayload`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.app_distribution_fn#firebase_functions.alerts.app_distribution_fn.NewTesterDevicePayload)
  - [`on_in_app_feedback_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.app_distribution_fn#firebase_functions.alerts.app_distribution_fn.on_in_app_feedback_published)
  - [`on_new_tester_ios_device_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.app_distribution_fn#firebase_functions.alerts.app_distribution_fn.on_new_tester_ios_device_published)
  - [`InAppFeedbackEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.app_distribution_fn#firebase_functions.alerts.app_distribution_fn.InAppFeedbackEvent)
  - [`NewTesterDeviceEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.app_distribution_fn#firebase_functions.alerts.app_distribution_fn.NewTesterDeviceEvent)
  - [`OnInAppFeedbackPublishedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.app_distribution_fn#firebase_functions.alerts.app_distribution_fn.OnInAppFeedbackPublishedCallable)
  - [`OnNewTesterIosDevicePublishedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.app_distribution_fn#firebase_functions.alerts.app_distribution_fn.OnNewTesterIosDevicePublishedCallable)
- [firebase_functions.alerts.billing_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.billing_fn)
  - [`BillingEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.billing_fn#firebase_functions.alerts.billing_fn.BillingEvent)
  - [`PlanAutomatedUpdatePayload`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.billing_fn#firebase_functions.alerts.billing_fn.PlanAutomatedUpdatePayload)
  - [`PlanUpdatePayload`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.billing_fn#firebase_functions.alerts.billing_fn.PlanUpdatePayload)
  - [`on_plan_automated_update_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.billing_fn#firebase_functions.alerts.billing_fn.on_plan_automated_update_published)
  - [`on_plan_update_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.billing_fn#firebase_functions.alerts.billing_fn.on_plan_update_published)
  - [`BillingPlanAutomatedUpdateEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.billing_fn#firebase_functions.alerts.billing_fn.BillingPlanAutomatedUpdateEvent)
  - [`BillingPlanUpdateEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.billing_fn#firebase_functions.alerts.billing_fn.BillingPlanUpdateEvent)
  - [`OnPlanAutomatedUpdatePublishedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.billing_fn#firebase_functions.alerts.billing_fn.OnPlanAutomatedUpdatePublishedCallable)
  - [`OnPlanUpdatePublishedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.billing_fn#firebase_functions.alerts.billing_fn.OnPlanUpdatePublishedCallable)
- [firebase_functions.alerts.crashlytics_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn)
  - [`CrashlyticsEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.CrashlyticsEvent)
  - [`Issue`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.Issue)
  - [`NewAnrIssuePayload`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.NewAnrIssuePayload)
  - [`NewFatalIssuePayload`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.NewFatalIssuePayload)
  - [`NewNonfatalIssuePayload`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.NewNonfatalIssuePayload)
  - [`RegressionAlertPayload`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.RegressionAlertPayload)
  - [`StabilityDigestPayload`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.StabilityDigestPayload)
  - [`TrendingIssueDetails`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.TrendingIssueDetails)
  - [`VelocityAlertPayload`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.VelocityAlertPayload)
  - [`on_new_anr_issue_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.on_new_anr_issue_published)
  - [`on_new_fatal_issue_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.on_new_fatal_issue_published)
  - [`on_new_nonfatal_issue_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.on_new_nonfatal_issue_published)
  - [`on_regression_alert_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.on_regression_alert_published)
  - [`on_stability_digest_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.on_stability_digest_published)
  - [`on_velocity_alert_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.on_velocity_alert_published)
  - [`CrashlyticsNewAnrIssueEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.CrashlyticsNewAnrIssueEvent)
  - [`CrashlyticsNewFatalIssueEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.CrashlyticsNewFatalIssueEvent)
  - [`CrashlyticsNewNonfatalIssueEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.CrashlyticsNewNonfatalIssueEvent)
  - [`CrashlyticsRegressionAlertEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.CrashlyticsRegressionAlertEvent)
  - [`CrashlyticsStabilityDigestEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.CrashlyticsStabilityDigestEvent)
  - [`CrashlyticsVelocityAlertEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.CrashlyticsVelocityAlertEvent)
  - [`OnNewAnrIssuePublishedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.OnNewAnrIssuePublishedCallable)
  - [`OnNewFatalIssuePublishedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.OnNewFatalIssuePublishedCallable)
  - [`OnNewNonfatalIssuePublishedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.OnNewNonfatalIssuePublishedCallable)
  - [`OnRegressionAlertPublishedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.OnRegressionAlertPublishedCallable)
  - [`OnStabilityDigestPublishedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.OnStabilityDigestPublishedCallable)
  - [`OnVelocityAlertPublishedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.crashlytics_fn#firebase_functions.alerts.crashlytics_fn.OnVelocityAlertPublishedCallable)
- [firebase_functions.alerts.performance_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.performance_fn)
  - [`PerformanceEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.performance_fn#firebase_functions.alerts.performance_fn.PerformanceEvent)
  - [`ThresholdAlertPayload`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.performance_fn#firebase_functions.alerts.performance_fn.ThresholdAlertPayload)
  - [`on_threshold_alert_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.performance_fn#firebase_functions.alerts.performance_fn.on_threshold_alert_published)
  - [`OnThresholdAlertPublishedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.performance_fn#firebase_functions.alerts.performance_fn.OnThresholdAlertPublishedCallable)
  - [`PerformanceThresholdAlertEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.alerts.performance_fn#firebase_functions.alerts.performance_fn.PerformanceThresholdAlertEvent)
- [firebase_functions.dataconnect_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.dataconnect_fn)
  - [`Event`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.dataconnect_fn#firebase_functions.dataconnect_fn.Event)
  - [`GraphQLError`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.dataconnect_fn#firebase_functions.dataconnect_fn.GraphQLError)
  - [`GraphqlErrorExtensions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.dataconnect_fn#firebase_functions.dataconnect_fn.GraphqlErrorExtensions)
  - [`Mutation`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.dataconnect_fn#firebase_functions.dataconnect_fn.Mutation)
  - [`MutationEventData`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.dataconnect_fn#firebase_functions.dataconnect_fn.MutationEventData)
  - [`SourceLocation`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.dataconnect_fn#firebase_functions.dataconnect_fn.SourceLocation)
  - [`on_mutation_executed()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.dataconnect_fn#firebase_functions.dataconnect_fn.on_mutation_executed)
- [firebase_functions.db_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.db_fn)
  - [`Event`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.db_fn#firebase_functions.db_fn.Event)
  - [`on_value_created()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.db_fn#firebase_functions.db_fn.on_value_created)
  - [`on_value_deleted()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.db_fn#firebase_functions.db_fn.on_value_deleted)
  - [`on_value_updated()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.db_fn#firebase_functions.db_fn.on_value_updated)
  - [`on_value_written()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.db_fn#firebase_functions.db_fn.on_value_written)
- [firebase_functions.eventarc_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.eventarc_fn)
  - [`on_custom_event_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.eventarc_fn#firebase_functions.eventarc_fn.on_custom_event_published)
- [firebase_functions.firestore_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.firestore_fn)
  - [`AuthEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.firestore_fn#firebase_functions.firestore_fn.AuthEvent)
  - [`Event`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.firestore_fn#firebase_functions.firestore_fn.Event)
  - [`on_document_created()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.firestore_fn#firebase_functions.firestore_fn.on_document_created)
  - [`on_document_created_with_auth_context()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.firestore_fn#firebase_functions.firestore_fn.on_document_created_with_auth_context)
  - [`on_document_deleted()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.firestore_fn#firebase_functions.firestore_fn.on_document_deleted)
  - [`on_document_deleted_with_auth_context()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.firestore_fn#firebase_functions.firestore_fn.on_document_deleted_with_auth_context)
  - [`on_document_updated()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.firestore_fn#firebase_functions.firestore_fn.on_document_updated)
  - [`on_document_updated_with_auth_context()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.firestore_fn#firebase_functions.firestore_fn.on_document_updated_with_auth_context)
  - [`on_document_written()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.firestore_fn#firebase_functions.firestore_fn.on_document_written)
  - [`on_document_written_with_auth_context()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.firestore_fn#firebase_functions.firestore_fn.on_document_written_with_auth_context)
- [firebase_functions.https_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.https_fn)
  - [`HttpsError`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.https_fn#firebase_functions.https_fn.HttpsError)
  - [`AppCheckData`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.https_fn#firebase_functions.https_fn.AppCheckData)
  - [`AuthData`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.https_fn#firebase_functions.https_fn.AuthData)
  - [`CallableRequest`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.https_fn#firebase_functions.https_fn.CallableRequest)
  - [`FunctionsErrorCode`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.https_fn#firebase_functions.https_fn.FunctionsErrorCode)
  - [`on_call()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.https_fn#firebase_functions.https_fn.on_call)
  - [`on_request()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.https_fn#firebase_functions.https_fn.on_request)
- [firebase_functions.identity_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn)
  - [`AdditionalUserInfo`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.AdditionalUserInfo)
  - [`AuthBlockingEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.AuthBlockingEvent)
  - [`AuthMultiFactorInfo`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.AuthMultiFactorInfo)
  - [`AuthMultiFactorSettings`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.AuthMultiFactorSettings)
  - [`AuthUserInfo`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.AuthUserInfo)
  - [`AuthUserMetadata`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.AuthUserMetadata)
  - [`AuthUserRecord`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.AuthUserRecord)
  - [`BeforeCreateResponse`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.BeforeCreateResponse)
  - [`BeforeSignInResponse`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.BeforeSignInResponse)
  - [`Credential`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.Credential)
  - [`EmailType`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.EmailType)
  - [`SmsType`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.SmsType)
  - [`before_user_created()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.before_user_created)
  - [`before_user_signed_in()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.before_user_signed_in)
  - [`BeforeUserCreatedCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.BeforeUserCreatedCallable)
  - [`BeforeUserSignedInCallable`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.BeforeUserSignedInCallable)
  - [`RecaptchaActionOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.identity_fn#firebase_functions.identity_fn.RecaptchaActionOptions)
- [firebase_functions.logger module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.logger)
  - [`LogEntry`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.logger#firebase_functions.logger.LogEntry)
  - [`LogSeverity`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.logger#firebase_functions.logger.LogSeverity)
  - [`debug()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.logger#firebase_functions.logger.debug)
  - [`error()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.logger#firebase_functions.logger.error)
  - [`info()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.logger#firebase_functions.logger.info)
  - [`log()`](https://firebase.google.com/static/docs/reference/functions/2nd-gen/python/firebase_functions.logger#firebase_functions.logger.log)
  - [`warn()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.logger#firebase_functions.logger.warn)
  - [`write()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.logger#firebase_functions.logger.write)
- [firebase_functions.options module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options)
  - [`AlertType`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.AlertType)
  - [`AppDistributionOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.AppDistributionOptions)
  - [`BillingOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.BillingOptions)
  - [`BlockingOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.BlockingOptions)
  - [`CorsOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.CorsOptions)
  - [`CrashlyticsOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.CrashlyticsOptions)
  - [`DataConnectOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.DataConnectOptions)
  - [`DatabaseOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.DatabaseOptions)
  - [`EventHandlerOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.EventHandlerOptions)
  - [`EventarcTriggerOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.EventarcTriggerOptions)
  - [`FirebaseAlertOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.FirebaseAlertOptions)
  - [`FirestoreOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.FirestoreOptions)
  - [`HttpsOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.HttpsOptions)
  - [`IngressSetting`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.IngressSetting)
  - [`MemoryOption`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.MemoryOption)
  - [`PerformanceOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.PerformanceOptions)
  - [`PubSubOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.PubSubOptions)
  - [`RateLimits`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.RateLimits)
  - [`RetryConfig`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.RetryConfig)
  - [`RuntimeOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.RuntimeOptions)
  - [`ScheduleOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.ScheduleOptions)
  - [`StorageOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.StorageOptions)
  - [`SupportedRegion`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.SupportedRegion)
  - [`TaskQueueOptions`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.TaskQueueOptions)
  - [`Timezone`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.Timezone)
  - [`VpcEgressSetting`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.VpcEgressSetting)
  - [`set_global_options()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.set_global_options)
  - [`RESET_VALUE`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.options#firebase_functions.options.RESET_VALUE)
- [firebase_functions.params module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params)
  - [`BoolParam`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.BoolParam)
  - [`CompareExpression`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.CompareExpression)
  - [`Expression`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.Expression)
  - [`IntParam`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.IntParam)
  - [`ListParam`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.ListParam)
  - [`MultiSelectInput`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.MultiSelectInput)
  - [`Param`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.Param)
  - [`ResourceInput`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.ResourceInput)
  - [`ResourceType`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.ResourceType)
  - [`SecretParam`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.SecretParam)
  - [`SelectInput`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.SelectInput)
  - [`SelectOption`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.SelectOption)
  - [`StringParam`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.StringParam)
  - [`TernaryExpression`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.TernaryExpression)
  - [`TextInput`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.params#firebase_functions.params.TextInput)
- [firebase_functions.pubsub_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.pubsub_fn)
  - [`Message`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.pubsub_fn#firebase_functions.pubsub_fn.Message)
  - [`MessagePublishedData`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.pubsub_fn#firebase_functions.pubsub_fn.MessagePublishedData)
  - [`on_message_published()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.pubsub_fn#firebase_functions.pubsub_fn.on_message_published)
- [firebase_functions.remote_config_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.remote_config_fn)
  - [`ConfigUpdateData`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.remote_config_fn#firebase_functions.remote_config_fn.ConfigUpdateData)
  - [`ConfigUpdateOrigin`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.remote_config_fn#firebase_functions.remote_config_fn.ConfigUpdateOrigin)
  - [`ConfigUpdateType`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.remote_config_fn#firebase_functions.remote_config_fn.ConfigUpdateType)
  - [`ConfigUser`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.remote_config_fn#firebase_functions.remote_config_fn.ConfigUser)
  - [`on_config_updated()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.remote_config_fn#firebase_functions.remote_config_fn.on_config_updated)
- [firebase_functions.scheduler_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.scheduler_fn)
  - [`ScheduledEvent`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.scheduler_fn#firebase_functions.scheduler_fn.ScheduledEvent)
  - [`on_schedule()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.scheduler_fn#firebase_functions.scheduler_fn.on_schedule)
- [firebase_functions.storage_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.storage_fn)
  - [`CustomerEncryption`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.storage_fn#firebase_functions.storage_fn.CustomerEncryption)
  - [`StorageObjectData`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.storage_fn#firebase_functions.storage_fn.StorageObjectData)
  - [`on_object_archived()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.storage_fn#firebase_functions.storage_fn.on_object_archived)
  - [`on_object_deleted()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.storage_fn#firebase_functions.storage_fn.on_object_deleted)
  - [`on_object_finalized()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.storage_fn#firebase_functions.storage_fn.on_object_finalized)
  - [`on_object_metadata_updated()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.storage_fn#firebase_functions.storage_fn.on_object_metadata_updated)
- [firebase_functions.tasks_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.tasks_fn)
  - [`on_task_dispatched()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.tasks_fn#firebase_functions.tasks_fn.on_task_dispatched)
- [firebase_functions.test_lab_fn module](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.test_lab_fn)
  - [`ClientInfo`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.test_lab_fn#firebase_functions.test_lab_fn.ClientInfo)
  - [`OutcomeSummary`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.test_lab_fn#firebase_functions.test_lab_fn.OutcomeSummary)
  - [`ResultStorage`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.test_lab_fn#firebase_functions.test_lab_fn.ResultStorage)
  - [`TestMatrixCompletedData`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.test_lab_fn#firebase_functions.test_lab_fn.TestMatrixCompletedData)
  - [`TestState`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.test_lab_fn#firebase_functions.test_lab_fn.TestState)
  - [`on_test_matrix_completed()`](https://firebase.google.com/docs/reference/functions/2nd-gen/python/firebase_functions.test_lab_fn#firebase_functions.test_lab_fn.on_test_matrix_completed)