Send feedback
firebase_functions.core module
Stay organized with collections
Save and categorize content based on your preferences.
Public code that is shared across modules.
Classes
Change class firebase_functions.core. Change ( before : T , after : T )
Bases: Generic
[T
]
The Cloud Functions interface for events that change state, such as
Realtime Database on_value_written .
after : T
The state of data after the change.
before : T
The state of data before the change.
CloudEvent class firebase_functions.core. CloudEvent ( specversion : str , id : str , source : str , type : str , time : datetime , data : T , subject : str | None )
Bases: Generic
[T
]
A CloudEvent is the base of a cross-platform format for encoding a serverless event.
More information can be found at https://github.com/cloudevents/spec .
data : T
Information about this specific event.
id : str
A globally unique ID for this event.
source : str
The resource which published this event.
specversion : str
Version of the CloudEvents spec for this event.
subject : str | None
The resource, provided by source, that this event relates to.
time : datetime
When this event occurred.
type : str
The type of event that this represents.
Send feedback
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 2023-11-06 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2023-11-06 UTC."}