ADK for TypeScript: API Reference
    Preparing search index...

    Function fetchProject

    • Looks up project number and ID via Cloud Resource Manager API with in-memory caching.

      Successful lookups require the resourcemanager.projects.get permission.

      Parameters

      • Optionalproject: string

        The project ID or number to query.

      • Optionalauth: GoogleAuth<AuthClient>

        Optional GoogleAuth instance to use.

      Returns Promise<ProjectInfo>

      Resolved project identifiers, or empty strings if resolution fails.