All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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.
    • Constructor Detail

      • PatchDeployments

        public PatchDeployments()
    • 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.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy