Cloud functions to handle Remote Config events.
Classes
ConfigUpdateDataclass firebase_functions.remote_config_fn.ConfigUpdateData(version_number: int, update_time: datetime, update_user: ConfigUser, description: str, update_origin: ConfigUpdateOrigin, update_type: ConfigUpdateType, rollback_source: int | None = None) |
---|
Bases: The data within Firebase Remote Config update events.
|
ConfigUpdateOriginclass firebase_functions.remote_config_fn.ConfigUpdateOrigin(value) |
---|
Bases: Where the Remote Config update action originated.
|
ConfigUpdateTypeclass firebase_functions.remote_config_fn.ConfigUpdateType(value) |
---|
Bases: What type of update was associated with the Remote Config template version.
|
ConfigUserclass firebase_functions.remote_config_fn.ConfigUser(name: str, email: str, image_url: str) |
---|
Bases: All the fields associated with the person/service account that wrote a Remote Config template.
|
Functions
on_config_updatedfirebase_functions.remote_config_fn.on_config_updated(**kwargs) Callable[[Callable[[CloudEvent[ConfigUpdateData]], None]], Callable[[CloudEvent[ConfigUpdateData]], None]] |
---|
Event handler which triggers when data is updated in a Remote Config. Example: @on_config_updated() def example(event: CloudEvent[ConfigUpdateData]) -> None: pass
|