target.apidocs.com.google.api.services.compute.Compute.RegionOperations.html Maven / Gradle / Ivy
Compute.RegionOperations (Compute Engine API alpha-rev20200526-1.30.9)
com.google.api.services.compute
Class Compute.RegionOperations
- java.lang.Object
-
- com.google.api.services.compute.Compute.RegionOperations
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.RegionOperations.Delete
class
Compute.RegionOperations.Get
class
Compute.RegionOperations.List
class
Compute.RegionOperations.Wait
-
Constructor Summary
Constructors
Constructor and Description
RegionOperations()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.RegionOperations.Delete
delete(String project,
String region,
String operation)
Deletes the specified region-specific Operations resource.
Compute.RegionOperations.Get
get(String project,
String region,
String operation)
Retrieves the specified region-specific Operations resource.
Compute.RegionOperations.List
list(String project,
String region)
Retrieves a list of Operation resources contained within the specified region.
Compute.RegionOperations.Wait
wait(String project,
String region,
String operation)
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.
-
-
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