[null,null,["Last updated 2024-01-23 UTC."],[],[],null,["# firebase::remote_config::ConfigKeyValueVariant Struct Reference\n\nfirebase::remote_config::ConfigKeyValueVariant\n==============================================\n\n\n`#include \u003cremote_config.h\u003e`\n\nDescribes a mapping of a key to a value of any type.\n\nSummary\n-------\n\nUsed to set default values.\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [key](#structfirebase_1_1remote__config_1_1_config_key_value_variant_1adf662c70b581975139c77964dabe7073) | `const char *` The lookup key string. |\n| [value](#structfirebase_1_1remote__config_1_1_config_key_value_variant_1a706397e732b5f14be5927b01c7b2092e) | [Variant](/docs/reference/cpp/class/firebase/variant#classfirebase_1_1_variant) The value to be stored. |\n\nPublic attributes\n-----------------\n\n### key\n\n```c++\nconst char * firebase::remote_config::ConfigKeyValueVariant::key\n``` \nThe lookup key string.\n\n\n| **Note:** Ensure this string stays valid for the duration of the call to SetDefaults.\n\n\u003cbr /\u003e\n\n### value\n\n```c++\nVariant firebase::remote_config::ConfigKeyValueVariant::value\n``` \nThe value to be stored.\n\nThe type of the [Variant](/docs/reference/cpp/class/firebase/variant#classfirebase_1_1_variant) determines the type of default data for the given key.\n\n\n| **Note:** If you use a [Variant](/docs/reference/cpp/class/firebase/variant#classfirebase_1_1_variant) of type StaticString, ensure it stays valid for the duration of the call to SetDefaults.\n\n\u003cbr /\u003e"]]