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

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

There is a newer version: v1-rev20250107-2.0.0
Show newest version






Compute.RegionOperations (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute

Class Compute.RegionOperations

  • Enclosing class:
    Compute


    public class Compute.RegionOperations
    extends Object
    The "regionOperations" collection of methods.
    • Constructor Detail

      • RegionOperations

        public RegionOperations()
    • Method Detail

      • delete

        public Compute.RegionOperations.Delete delete(String project,
                                                      String region,
                                                      String operation)
                                               throws IOException
        Deletes the specified region-specific Operations resource. Create a request for the method "regionOperations.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.
        region - Name of the region for this request.
        operation - Name of the Operations resource to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.RegionOperations.Get get(String project,
                                                String region,
                                                String operation)
                                         throws IOException
        Retrieves the specified region-specific Operations resource. Create a request for the method "regionOperations.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.
        region - Name of the region for this request.
        operation - Name of the Operations resource to return.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.RegionOperations.List list(String project,
                                                  String region)
                                           throws IOException
        Retrieves a list of Operation resources contained within the specified region. Create a request for the method "regionOperations.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.
        region - Name of the region for this request.
        Returns:
        the request
        Throws:
        IOException
      • wait

        public Compute.RegionOperations.Wait wait(String project,
                                                  String region,
                                                  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 differs from the `GET` method in that it waits for no more than the default deadline (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 "regionOperations.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.
        region - Name of the region for this request.
        operation - Name of the Operations resource to return.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy