project-config-manager.d.ts 764 B

12345678910111213141516171819202122
  1. /*! firebase-admin v12.1.1 */
  2. import { ProjectConfig, UpdateProjectConfigRequest } from './project-config';
  3. /**
  4. * Manages (gets and updates) the current project config.
  5. */
  6. export declare class ProjectConfigManager {
  7. private readonly authRequestHandler;
  8. /**
  9. * Get the project configuration.
  10. *
  11. * @returns A promise fulfilled with the project configuration.
  12. */
  13. getProjectConfig(): Promise<ProjectConfig>;
  14. /**
  15. * Updates an existing project configuration.
  16. *
  17. * @param projectConfigOptions - The properties to update on the project.
  18. *
  19. * @returns A promise fulfilled with the updated project config.
  20. */
  21. updateProjectConfig(projectConfigOptions: UpdateProjectConfigRequest): Promise<ProjectConfig>;
  22. }