ProjectConfigManager class

Manages (gets and updates) the current project config.

Signature:

exportdeclareclassProjectConfigManager

Methods

MethodModifiersDescription
getProjectConfig()Get the project configuration.
updateProjectConfig(projectConfigOptions)Updates an existing project configuration.

ProjectConfigManager.getProjectConfig()

Get the project configuration.

Signature:

getProjectConfig():Promise<ProjectConfig>;

Returns:

Promise<ProjectConfig>

A promise fulfilled with the project configuration.

ProjectConfigManager.updateProjectConfig()

Updates an existing project configuration.

Signature:

updateProjectConfig(projectConfigOptions:UpdateProjectConfigRequest):Promise<ProjectConfig>;

Parameters

ParameterTypeDescription
projectConfigOptionsUpdateProjectConfigRequestThe properties to update on the project.

Returns:

Promise<ProjectConfig>

A promise fulfilled with the updated project config.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-04-18 UTC.