MCPcopy Create free account
hub / github.com/firebase/firebase-tools / getProject

Function getProject

src/management/projects.ts:545–549  ·  view source on GitHub ↗
(projectId: string)

Source from the content-addressed store, hash-verified

543 * @param projectId
544 */
545export async function getProject(projectId: string): Promise<ProjectInfo> {
546 await bestEffortEnsure(projectId, api.resourceManagerOrigin(), "firebase", true);
547 const response = await resourceManagerClient.get<ProjectInfo>(`/projects/${projectId}`);
548 return response.body;
549}
550
551/**
552 * Checks if Firebase services are enabled for a Google Cloud Platform project.

Callers 11

needProjectNumberFunction · 0.90
getProjectNumberFunction · 0.90
defaultServiceAccountFunction · 0.90
executeTaskQueueHookFunction · 0.90
setNewActiveFunction · 0.90
uploadExtensionActionFunction · 0.90
checkCloudProjectFunction · 0.90
get_project.tsFile · 0.90
getFirebaseProjectFunction · 0.85

Calls 1

bestEffortEnsureFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…