remoteConfig.UpdateBuilder class
Stay organized with collections
Save and categorize content based on your preferences.
Builder used to create Cloud Functions for Remote Config.
Signature:
export declare class UpdateBuilder
Methods
Method |
Modifiers |
Description |
onUpdate(handler) |
|
Handle all updates (including rollbacks) that affect a Remote Config project. |
remoteConfig.UpdateBuilder.onUpdate()
Handle all updates (including rollbacks) that affect a Remote Config project.
Signature:
onUpdate(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>
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-04-24 UTC.
[null,null,["Last updated 2023-04-24 UTC."],[],[],null,["Builder used to create Cloud Functions for Remote Config.\n\n**Signature:** \n\n export declare class UpdateBuilder \n\nMethods\n\nremoteConfig.UpdateBuilder.onUpdate()\n\nHandle all updates (including rollbacks) that affect a Remote Config project.\n\n**Signature:** \n\n onUpdate(handler: (version: TemplateVersion, context: EventContext) =\u003e PromiseLike\u003cany\u003e | any): CloudFunction\u003cTemplateVersion\u003e;\n\nParameters\n\n**Returns:**\n\n[CloudFunction](./firebase-functions.cloudfunction.md#cloudfunction_interface)\\\u003c[TemplateVersion](./firebase-functions.remoteconfig.templateversion.md#remoteconfigtemplateversion_interface)\\\u003e"]]