remoteConfig namespace Stay organized with collections Save and categorize content based on your preferences.
Functions
| Function | Description |
|---|---|
| onUpdate(handler) | Registers a function that triggers on Firebase Remote Config template update events. |
Classes
| Class | Description |
|---|---|
| UpdateBuilder | Builder used to create Cloud Functions for Remote Config. |
Interfaces
| Interface | Description |
|---|---|
| RemoteConfigUser | An interface representing metadata for a Remote Config account that performed the update. Contains the same fields as [RemoteConfigUser](/docs/reference/remote-config/rest/v1/Version#remoteconfiguser). |
| TemplateVersion | An interface representing a Remote Config template version metadata object emitted when a project is updated. |
remoteConfig.onUpdate()
Registers a function that triggers on Firebase Remote Config template update events.
Signature:
exportdeclarefunctiononUpdate(handler:(version:TemplateVersion,context:EventContext)=>PromiseLike<any>|any):CloudFunction<TemplateVersion>;Parameters
| Parameter | Type | Description |
|---|---|---|
| handler | (version:TemplateVersion, context:EventContext) => PromiseLike<any> | any | A function that takes the updated Remote Config template version metadata as an argument. |
Returns:
CloudFunction<TemplateVersion>
A function that you can export and deploy.
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 2023-04-24 UTC.