firebase_functions.eventarc_fn module
Cloud functions to handle Eventarc events.
Functions
on_custom_event_publishedfirebase_functions.eventarc_fn.on_custom_event_published(**kwargs) → Callable[[Callable[[CloudEvent], None]], Callable[[CloudEvent], None]] |
---|
Creates a handler for events published on the default event eventarc channel.
Example:
from firebase_functions import eventarc_fn
@eventarc_fn.on_custom_event_published(
event_type="firebase.extensions.storage-resize-images.v1.complete",
)
def onimageresize(event: eventarc_fn.CloudEvent) -> None:
pass
- Parameters:
**kwargs (as firebase_functions.options.EventarcTriggerOptions ) -- Options.
- Return type:
typing.Callable
[ [ firebase_functions.core.CloudEvent ], None ]
A function that takes a CloudEvent and returns None.
|
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-07-14 UTC.
[null,null,["Last updated 2023-07-14 UTC."],[],[]]