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

target.apidocs.com.google.api.services.compute.Compute.ZoneOperations.html Maven / Gradle / Ivy







Compute.ZoneOperations (Compute Engine API beta-rev20220312-1.32.1)












com.google.api.services.compute

Class Compute.ZoneOperations

  • Enclosing class:
    Compute


    public class Compute.ZoneOperations
    extends Object
    The "zoneOperations" collection of methods.
    • Constructor Detail

      • ZoneOperations

        public ZoneOperations()
    • Method Detail

      • delete

        public Compute.ZoneOperations.Delete delete(String project,
                                                    String zone,
                                                    String operation)
                                             throws IOException
        Deletes the specified zone-specific Operations resource. Create a request for the method "zoneOperations.delete". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        zone - Name of the zone for this request.
        operation - Name of the Operations resource to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.ZoneOperations.Get get(String project,
                                              String zone,
                                              String operation)
                                       throws IOException
        Retrieves the specified zone-specific Operations resource. Create a request for the method "zoneOperations.get". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        zone - Name of the zone for this request.
        operation - Name of the Operations resource to return.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.ZoneOperations.List list(String project,
                                                String zone)
                                         throws IOException
        Retrieves a list of Operation resources contained within the specified zone. Create a request for the method "zoneOperations.list". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        zone - Name of the zone for request.
        Returns:
        the request
        Throws:
        IOException
      • wait

        public Compute.ZoneOperations.Wait wait(String project,
                                                String zone,
                                                String operation)
                                         throws IOException
        Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method waits for no more than the 2 minutes and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. Create a request for the method "zoneOperations.wait". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        zone - Name of the zone for this request.
        operation - Name of the Operations resource to return.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy