target.apidocs.com.google.api.services.osconfig.v1.OSConfig.Projects.Locations.Global.html Maven / Gradle / Ivy
The newest version!
OSConfig.Projects.Locations.Global (OS Config API v1-rev20240901-2.0.0)
com.google.api.services.osconfig.v1
Class OSConfig.Projects.Locations.Global
- java.lang.Object
-
- com.google.api.services.osconfig.v1.OSConfig.Projects.Locations.Global
-
- Enclosing class:
- OSConfig.Projects.Locations
public class OSConfig.Projects.Locations.Global
extends Object
The "global" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
OSConfig.Projects.Locations.Global.GetProjectFeatureSettings
class
OSConfig.Projects.Locations.Global.UpdateProjectFeatureSettings
-
Constructor Summary
Constructors
Constructor and Description
Global()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
OSConfig.Projects.Locations.Global.GetProjectFeatureSettings
getProjectFeatureSettings(String name)
GetProjectFeatureSettings returns the VM Manager feature settings for a project.
OSConfig.Projects.Locations.Global.UpdateProjectFeatureSettings
updateProjectFeatureSettings(String name,
ProjectFeatureSettings content)
UpdateProjectFeatureSettings sets the VM Manager features for a project.
-
-
Method Detail
-
getProjectFeatureSettings
public OSConfig.Projects.Locations.Global.GetProjectFeatureSettings getProjectFeatureSettings(String name)
throws IOException
GetProjectFeatureSettings returns the VM Manager feature settings for a project.
Create a request for the method "global.getProjectFeatureSettings".
This request holds the parameters needed by the osconfig server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
name
- Required. Name specifies the URL for the ProjectFeatureSettings resource:
projects/project_id/locations/global/projectFeatureSettings.
- Returns:
- the request
- Throws:
IOException
-
updateProjectFeatureSettings
public OSConfig.Projects.Locations.Global.UpdateProjectFeatureSettings updateProjectFeatureSettings(String name,
ProjectFeatureSettings content)
throws IOException
UpdateProjectFeatureSettings sets the VM Manager features for a project.
Create a request for the method "global.updateProjectFeatureSettings".
This request holds the parameters needed by the osconfig server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
name
- Required. Immutable. Name specifies the URL for the ProjectFeatureSettings resource:
projects/project_id/locations/global/projectFeatureSettings.
content
- the ProjectFeatureSettings
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.