RemoteConfigFetchResponse class
Stay organized with collections
Save and categorize content based on your preferences.
Represents a fetch response that can be used to interact with RC's client SDK.
Signature:
export declare class RemoteConfigFetchResponse
Constructors
Methods
RemoteConfigFetchResponse.(constructor)
Constructs a new instance of the RemoteConfigFetchResponse
class
Signature:
constructor(app: App, serverConfig: ServerConfig, requestEtag?: string);
Parameters
Parameter |
Type |
Description |
app |
App |
The app for this RemoteConfig service. |
serverConfig |
ServerConfig |
The server config for which to generate a fetch response. |
requestEtag |
string |
A request eTag with which to compare the current response. |
RemoteConfigFetchResponse.toJSON()
Signature:
toJSON(): FetchResponseData;
Returns:
FetchResponseData
JSON representation of the fetch response that can be consumed by the RC client SDK.
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 2025-03-05 UTC.
[null,null,["Last updated 2025-03-05 UTC."],[],[],null,["# RemoteConfigFetchResponse class\n\nRepresents a fetch response that can be used to interact with RC's client SDK.\n\n**Signature:** \n\n export declare class RemoteConfigFetchResponse \n\nConstructors\n------------\n\n| Constructor | Modifiers | Description |\n|---------------------------------------------------------------------------------------------------------------------------------------------------|-----------|--------------------------------------------------------------------|\n| [(constructor)(app, serverConfig, requestEtag)](./firebase-admin.remote-config.remoteconfigfetchresponse.md#remoteconfigfetchresponseconstructor) | | Constructs a new instance of the `RemoteConfigFetchResponse` class |\n\nMethods\n-------\n\n| Method | Modifiers | Description |\n|---------------------------------------------------------------------------------------------------------|-----------|-------------|\n| [toJSON()](./firebase-admin.remote-config.remoteconfigfetchresponse.md#remoteconfigfetchresponsetojson) | | |\n\nRemoteConfigFetchResponse.(constructor)\n---------------------------------------\n\nConstructs a new instance of the `RemoteConfigFetchResponse` class\n\n**Signature:** \n\n constructor(app: App, serverConfig: ServerConfig, requestEtag?: string);\n\n### Parameters\n\n| Parameter | Type | Description |\n|--------------|---------------------------------------------------------------------------------------|------------------------------------------------------------|\n| app | App | The app for this RemoteConfig service. |\n| serverConfig | [ServerConfig](./firebase-admin.remote-config.serverconfig.md#serverconfig_interface) | The server config for which to generate a fetch response. |\n| requestEtag | string | A request eTag with which to compare the current response. |\n\nRemoteConfigFetchResponse.toJSON()\n----------------------------------\n\n**Signature:** \n\n toJSON(): FetchResponseData;\n\n**Returns:**\n\n[FetchResponseData](./firebase-admin.remote-config.fetchresponsedata.md#fetchresponsedata_interface)\n\nJSON representation of the fetch response that can be consumed by the RC client SDK."]]