projectManagement

projectManagement(app) returns admin.projectManagement.ProjectManagement

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.

Parameter

app

Optional

admin.app.App

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

Value must not be null.

Returns

non-null admin.projectManagement.ProjectManagement The default ProjectManagement service if no app is provided or the ProjectManagement service associated with the provided app.

Examples

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

Interfaces