class Projects extends Resource (View source)

The "projects" collection of methods.

Typical usage is:

 $sourcerepoService = new Google\Service\CloudSourceRepositories(...);
 $projects = $sourcerepoService->projects;

Methods

getConfig(string $name, array $optParams = [])

Returns the Cloud Source Repositories configuration of the project.

updateConfig(string $name, UpdateProjectConfigRequest $postBody, array $optParams = [])

Updates the Cloud Source Repositories configuration of the project.

Details

ProjectConfig getConfig(string $name, array $optParams = [])

Returns the Cloud Source Repositories configuration of the project.

(projects.getConfig)

Parameters

string $name

The name of the requested project. Values are of the form projects/.

array $optParams

Optional parameters.

Return Value

ProjectConfig

Exceptions

Exception

ProjectConfig updateConfig(string $name, UpdateProjectConfigRequest $postBody, array $optParams = [])

Updates the Cloud Source Repositories configuration of the project.

(projects.updateConfig)

Parameters

string $name

The name of the requested project. Values are of the form projects/.

UpdateProjectConfigRequest $postBody
array $optParams

Optional parameters.

Return Value

ProjectConfig

Exceptions

Exception