class Projects extends Resource (View source)

The "projects" collection of methods.

Typical usage is:

 $artifactregistryService = new Google\Service\ArtifactRegistry(...);
 $projects = $artifactregistryService->projects;

Methods

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

Retrieves the Settings for the Project. (projects.getProjectSettings)

updateProjectSettings(string $name, ProjectSettings $postBody, array $optParams = [])

Updates the Settings for the Project. (projects.updateProjectSettings)

Details

ProjectSettings getProjectSettings(string $name, array $optParams = [])

Retrieves the Settings for the Project. (projects.getProjectSettings)

Parameters

string $name

Required. The name of the projectSettings resource.

array $optParams

Optional parameters.

Return Value

ProjectSettings

Exceptions

Exception

ProjectSettings updateProjectSettings(string $name, ProjectSettings $postBody, array $optParams = [])

Updates the Settings for the Project. (projects.updateProjectSettings)

Parameters

string $name

The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set

ProjectSettings $postBody
array $optParams

Optional parameters.

Return Value

ProjectSettings

Exceptions

Exception