remoteConfig namespace

Functions

FunctionDescription
onUpdate(handler)Registers a function that triggers on Firebase Remote Config template update events.

Classes

ClassDescription
UpdateBuilderBuilder used to create Cloud Functions for Remote Config.

Interfaces

InterfaceDescription
RemoteConfigUserAn 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).
TemplateVersionAn 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

ParameterTypeDescription
handler(version:TemplateVersion, context:EventContext) => PromiseLike<any> | anyA 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.