remoteConfig.UpdateBuilder class

Builder used to create Cloud Functions for Remote Config.

Signature:

exportdeclareclassUpdateBuilder

Methods

MethodModifiersDescription
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

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>

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.