Ir a la consola

  • projectManagement

Callable

  • Gets the ProjectManagement service for the default app or a given app.

    admin.projectManagement() can be called with no arguments to access the default app's ProjectManagement service, or as admin.projectManagement(app) to access the ProjectManagement service associated with a specific app.

    example
    // Get the ProjectManagement service for the default app
    var defaultProjectManagement = admin.projectManagement();
    example
    // Get the ProjectManagement service for a given app
    var otherProjectManagement = admin.projectManagement(otherApp);

    Parameters

    • Optional app: App

      Optional app whose ProjectManagement service to return. If not provided, the default ProjectManagement service will be returned. *

    Returns ProjectManagement

    The default ProjectManagement service if no app is provided or the ProjectManagement service associated with the provided app.

Index