23
23
import { CloudFunction , EventContext , makeCloudFunction } from "../cloud-functions" ;
24
24
import { DeploymentOptions } from "../function-configuration" ;
25
25
26
- /** @hidden */
26
+ /** @internal */
27
27
export const provider = "google.firebase.remoteconfig" ;
28
- /** @hidden */
28
+ /** @internal */
29
29
export const service = "firebaseremoteconfig.googleapis.com" ;
30
30
31
31
/**
@@ -35,15 +35,15 @@ export const service = "firebaseremoteconfig.googleapis.com";
35
35
* @param handler A function that takes the updated Remote Config
36
36
* template version metadata as an argument.
37
37
*
38
- * @return A Cloud Function that you can export and deploy.
38
+ * @returns A Cloud Function that you can export and deploy.
39
39
*/
40
40
export function onUpdate (
41
41
handler : ( version : TemplateVersion , context : EventContext ) => PromiseLike < any > | any
42
42
) : CloudFunction < TemplateVersion > {
43
43
return _onUpdateWithOptions ( handler , { } ) ;
44
44
}
45
45
46
- /** @hidden */
46
+ /** @internal */
47
47
export function _onUpdateWithOptions (
48
48
handler : ( version : TemplateVersion , context : EventContext ) => PromiseLike < any > | any ,
49
49
options : DeploymentOptions
@@ -59,7 +59,7 @@ export function _onUpdateWithOptions(
59
59
60
60
/** Builder used to create Cloud Functions for Remote Config. */
61
61
export class UpdateBuilder {
62
- /** @hidden */
62
+ /** @internal */
63
63
constructor ( private triggerResource : ( ) => string , private options : DeploymentOptions ) { }
64
64
65
65
/**
0 commit comments