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

target.apidocs.com.google.api.services.osconfig.v1.OSConfig.Projects.PatchJobs.html Maven / Gradle / Ivy

The newest version!






OSConfig.Projects.PatchJobs (OS Config API v1-rev20240901-2.0.0)












com.google.api.services.osconfig.v1

Class OSConfig.Projects.PatchJobs

  • java.lang.Object
    • com.google.api.services.osconfig.v1.OSConfig.Projects.PatchJobs
  • Enclosing class:
    OSConfig.Projects


    public class OSConfig.Projects.PatchJobs
    extends Object
    The "patchJobs" collection of methods.
    • Constructor Detail

      • PatchJobs

        public PatchJobs()
    • Method Detail

      • cancel

        public OSConfig.Projects.PatchJobs.Cancel cancel(String name,
                                                         CancelPatchJobRequest content)
                                                  throws IOException
        Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted. Create a request for the method "patchJobs.cancel". 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 of the patch in the form `projects/patchJobs`
        content - the CancelPatchJobRequest
        Returns:
        the request
        Throws:
        IOException
      • execute

        public OSConfig.Projects.PatchJobs.Execute execute(String parent,
                                                           ExecutePatchJobRequest content)
                                                    throws IOException
        Patch VM instances by creating and running a patch job. Create a request for the method "patchJobs.execute". 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 in which to run this patch in the form `projects`
        content - the ExecutePatchJobRequest
        Returns:
        the request
        Throws:
        IOException
      • get

        public OSConfig.Projects.PatchJobs.Get get(String name)
                                            throws IOException
        Get the patch job. This can be used to track the progress of an ongoing patch job or review the details of completed jobs. Create a request for the method "patchJobs.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. Name of the patch in the form `projects/patchJobs`
        Returns:
        the request
        Throws:
        IOException
      • list

        public OSConfig.Projects.PatchJobs.List list(String parent)
                                              throws IOException
        Get a list of patch jobs. Create a request for the method "patchJobs.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. In the form of `projects`
        Returns:
        the request
        Throws:
        IOException
      • instanceDetails

        public OSConfig.Projects.PatchJobs.InstanceDetails instanceDetails()
        An accessor for creating requests from the InstanceDetails collection.

        The typical use is:

            OSConfig osconfig = new OSConfig(...);
            OSConfig.InstanceDetails.List request = osconfig.instanceDetails().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy