OS Config API . projects . locations . global_

Instance Methods

close()

Close httplib2 connections.

getProjectFeatureSettings(name, x__xgafv=None)

GetProjectFeatureSettings returns the VM Manager feature settings for a project.

updateProjectFeatureSettings(name, body=None, updateMask=None, x__xgafv=None)

UpdateProjectFeatureSettings sets the VM Manager features for a project.

Method Details

close()
Close httplib2 connections.
getProjectFeatureSettings(name, x__xgafv=None)
GetProjectFeatureSettings returns the VM Manager feature settings for a project.

Args:
  name: string, Required. Name specifies the URL for the ProjectFeatureSettings resource: projects/project_id/locations/global/projectFeatureSettings. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # ProjectFeatureSettings represents the VM Manager feature settings in a project. For more information, see Enable full VM Manager functionality.
  "name": "A String", # Required. Immutable. Name specifies the URL for the ProjectFeatureSettings resource: projects/project_id/locations/global/projectFeatureSettings.
  "patchAndConfigFeatureSet": "A String", # Set PatchAndConfigFeatureSet for the project.
}
updateProjectFeatureSettings(name, body=None, updateMask=None, x__xgafv=None)
UpdateProjectFeatureSettings sets the VM Manager features for a project.

Args:
  name: string, Required. Immutable. Name specifies the URL for the ProjectFeatureSettings resource: projects/project_id/locations/global/projectFeatureSettings. (required)
  body: object, The request body.
    The object takes the form of:

{ # ProjectFeatureSettings represents the VM Manager feature settings in a project. For more information, see Enable full VM Manager functionality.
  "name": "A String", # Required. Immutable. Name specifies the URL for the ProjectFeatureSettings resource: projects/project_id/locations/global/projectFeatureSettings.
  "patchAndConfigFeatureSet": "A String", # Set PatchAndConfigFeatureSet for the project.
}

  updateMask: string, Optional. Field mask that controls which fields of the ProjectFeatureSettings should be updated.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # ProjectFeatureSettings represents the VM Manager feature settings in a project. For more information, see Enable full VM Manager functionality.
  "name": "A String", # Required. Immutable. Name specifies the URL for the ProjectFeatureSettings resource: projects/project_id/locations/global/projectFeatureSettings.
  "patchAndConfigFeatureSet": "A String", # Set PatchAndConfigFeatureSet for the project.
}