ProjectConfigManager class
Stay organized with collections
Save and categorize content based on your preferences.
Manages (gets and updates) the current project config.
Signature:
export declare class ProjectConfigManager
Methods
ProjectConfigManager.getProjectConfig()
Get the project configuration.
Signature:
getProjectConfig(): Promise<ProjectConfig>;
Returns:
Promise<ProjectConfig>
A promise fulfilled with the project configuration.
ProjectConfigManager.updateProjectConfig()
Updates an existing project configuration.
Signature:
updateProjectConfig(projectConfigOptions: UpdateProjectConfigRequest): Promise<ProjectConfig>;
Parameters
Returns:
Promise<ProjectConfig>
A promise fulfilled with the updated project config.
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 2023-04-18 UTC.
[null,null,["Last updated 2023-04-18 UTC."],[],[],null,["# ProjectConfigManager class\n\nManages (gets and updates) the current project config.\n\n**Signature:** \n\n export declare class ProjectConfigManager \n\nMethods\n-------\n\n| Method | Modifiers | Description |\n|------------------------------------------------------------------------------------------------------------------------------------|-----------|--------------------------------------------|\n| [getProjectConfig()](./firebase-admin.auth.projectconfigmanager.md#projectconfigmanagergetprojectconfig) | | Get the project configuration. |\n| [updateProjectConfig(projectConfigOptions)](./firebase-admin.auth.projectconfigmanager.md#projectconfigmanagerupdateprojectconfig) | | Updates an existing project configuration. |\n\nProjectConfigManager.getProjectConfig()\n---------------------------------------\n\nGet the project configuration.\n\n**Signature:** \n\n getProjectConfig(): Promise\u003cProjectConfig\u003e;\n\n**Returns:**\n\nPromise\\\u003c[ProjectConfig](./firebase-admin.auth.projectconfig.md#projectconfig_class)\\\u003e\n\nA promise fulfilled with the project configuration.\n\nProjectConfigManager.updateProjectConfig()\n------------------------------------------\n\nUpdates an existing project configuration.\n\n**Signature:** \n\n updateProjectConfig(projectConfigOptions: UpdateProjectConfigRequest): Promise\u003cProjectConfig\u003e;\n\n### Parameters\n\n| Parameter | Type | Description |\n|----------------------|------------------------------------------------------------------------------------------------------------------------|------------------------------------------|\n| projectConfigOptions | [UpdateProjectConfigRequest](./firebase-admin.auth.updateprojectconfigrequest.md#updateprojectconfigrequest_interface) | The properties to update on the project. |\n\n**Returns:**\n\nPromise\\\u003c[ProjectConfig](./firebase-admin.auth.projectconfig.md#projectconfig_class)\\\u003e\n\nA promise fulfilled with the updated project config."]]