target.apidocs.com.google.api.services.osconfig.v1.OSConfig.Projects.PatchDeployments.html Maven / Gradle / Ivy
The newest version!
OSConfig.Projects.PatchDeployments (OS Config API v1-rev20240901-2.0.0)
com.google.api.services.osconfig.v1
Class OSConfig.Projects.PatchDeployments
- java.lang.Object
-
- com.google.api.services.osconfig.v1.OSConfig.Projects.PatchDeployments
-
- Enclosing class:
- OSConfig.Projects
public class OSConfig.Projects.PatchDeployments
extends Object
The "patchDeployments" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
OSConfig.Projects.PatchDeployments.Create
class
OSConfig.Projects.PatchDeployments.Delete
class
OSConfig.Projects.PatchDeployments.Get
class
OSConfig.Projects.PatchDeployments.List
class
OSConfig.Projects.PatchDeployments.Patch
class
OSConfig.Projects.PatchDeployments.Pause
class
OSConfig.Projects.PatchDeployments.Resume
-
Constructor Summary
Constructors
Constructor and Description
PatchDeployments()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
OSConfig.Projects.PatchDeployments.Create
create(String parent,
PatchDeployment content)
Create an OS Config patch deployment.
OSConfig.Projects.PatchDeployments.Delete
delete(String name)
Delete an OS Config patch deployment.
OSConfig.Projects.PatchDeployments.Get
get(String name)
Get an OS Config patch deployment.
OSConfig.Projects.PatchDeployments.List
list(String parent)
Get a page of OS Config patch deployments.
OSConfig.Projects.PatchDeployments.Patch
patch(String name,
PatchDeployment content)
Update an OS Config patch deployment.
OSConfig.Projects.PatchDeployments.Pause
pause(String name,
PausePatchDeploymentRequest content)
Change state of patch deployment to "PAUSED".
OSConfig.Projects.PatchDeployments.Resume
resume(String name,
ResumePatchDeploymentRequest content)
Change state of patch deployment back to "ACTIVE".
-
-
Method Detail
-
create
public OSConfig.Projects.PatchDeployments.Create create(String parent,
PatchDeployment content)
throws IOException
Create an OS Config patch deployment.
Create a request for the method "patchDeployments.create".
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:
parent
- Required. The project to apply this patch deployment to in the form `projects`.
content
- the PatchDeployment
- Returns:
- the request
- Throws:
IOException
-
delete
public OSConfig.Projects.PatchDeployments.Delete delete(String name)
throws IOException
Delete an OS Config patch deployment.
Create a request for the method "patchDeployments.delete".
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. The resource name of the patch deployment in the form `projects/patchDeployments`.
- Returns:
- the request
- Throws:
IOException
-
get
public OSConfig.Projects.PatchDeployments.Get get(String name)
throws IOException
Get an OS Config patch deployment.
Create a request for the method "patchDeployments.get".
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. The resource name of the patch deployment in the form `projects/patchDeployments`.
- Returns:
- the request
- Throws:
IOException
-
list
public OSConfig.Projects.PatchDeployments.List list(String parent)
throws IOException
Get a page of OS Config patch deployments.
Create a request for the method "patchDeployments.list".
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:
parent
- Required. The resource name of the parent in the form `projects`.
- Returns:
- the request
- Throws:
IOException
-
patch
public OSConfig.Projects.PatchDeployments.Patch patch(String name,
PatchDeployment content)
throws IOException
Update an OS Config patch deployment.
Create a request for the method "patchDeployments.patch".
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
- Unique name for the patch deployment resource in a project. The patch deployment name is in the
form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`. This field is
ignored when you create a new patch deployment.
content
- the PatchDeployment
- Returns:
- the request
- Throws:
IOException
-
pause
public OSConfig.Projects.PatchDeployments.Pause pause(String name,
PausePatchDeploymentRequest content)
throws IOException
Change state of patch deployment to "PAUSED". Patch deployment in paused state doesn't generate
patch jobs.
Create a request for the method "patchDeployments.pause".
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. The resource name of the patch deployment in the form `projects/patchDeployments`.
content
- the PausePatchDeploymentRequest
- Returns:
- the request
- Throws:
IOException
-
resume
public OSConfig.Projects.PatchDeployments.Resume resume(String name,
ResumePatchDeploymentRequest content)
throws IOException
Change state of patch deployment back to "ACTIVE". Patch deployment in active state continues to
generate patch jobs.
Create a request for the method "patchDeployments.resume".
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. The resource name of the patch deployment in the form `projects/patchDeployments`.
content
- the ResumePatchDeploymentRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.