class ProjectsLocationsOsconfigGlobal extends Resource (View source)

The "global" collection of methods.

Typical usage is:

 $osconfigService = new Google\Service\OSConfig(...);
 $global = $osconfigService->projects_locations_global;

Methods

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

GetProjectFeatureSettings returns the VM Manager feature settings for a project. (global.getProjectFeatureSettings)

updateProjectFeatureSettings(string $name, ProjectFeatureSettings $postBody, array $optParams = [])

UpdateProjectFeatureSettings sets the VM Manager features for a project.

Details

ProjectFeatureSettings getProjectFeatureSettings(string $name, array $optParams = [])

GetProjectFeatureSettings returns the VM Manager feature settings for a project. (global.getProjectFeatureSettings)

Parameters

string $name

Required. Name specifies the URL for the ProjectFeatureSettings resource: projects/project_id/locations/global/projectFeatureSettings.

array $optParams

Optional parameters.

Return Value

ProjectFeatureSettings

Exceptions

Exception

ProjectFeatureSettings updateProjectFeatureSettings(string $name, ProjectFeatureSettings $postBody, array $optParams = [])

UpdateProjectFeatureSettings sets the VM Manager features for a project.

(global.updateProjectFeatureSettings)

Parameters

string $name

Required. Immutable. Name specifies the URL for the ProjectFeatureSettings resource: projects/project_id/locations/global/projectFeatureSettings.

ProjectFeatureSettings $postBody
array $optParams

Optional parameters.

Return Value

ProjectFeatureSettings

Exceptions

Exception