firebase_functions.core module Stay organized with collections Save and categorize content based on your preferences.
Public code that is shared across modules.
Classes
Changeclassfirebase_functions.core.Change(before:T,after:T) |
---|
Bases: The Cloud Functions interface for events that change state, such asRealtime Databaseon_value_written.
|
CloudEventclassfirebase_functions.core.CloudEvent(specversion:str,id:str,source:str,type:str,time:datetime,data:T,subject:str|None) |
---|
Bases: A CloudEvent is the base of a cross-platform format for encoding a serverless event.More information can be found athttps://github.com/cloudevents/spec.
|
Functions
initfirebase_functions.core.init(callback:Callable[[],Any])→None |
---|
Registers a function that should be run when in a production environmentbefore executing any functions code.Calling this decorator more than once leads to undefined behavior. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-20 UTC.