- 3.22.0 (latest)
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
[BindServiceMethod(typeof(GlobalOperations), "BindService")]
public abstract class GlobalOperations.GlobalOperationsBaseReference documentation and code samples for the Compute Engine v1 API class GlobalOperations.GlobalOperationsBase.
Base class for server-side implementations of GlobalOperations
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListGlobalOperationsRequest, ServerCallContext)
public virtual Task<OperationAggregatedList> AggregatedList(AggregatedListGlobalOperationsRequest request, ServerCallContext context)Retrieves an aggregated list of all operations.
To prevent failure, Google recommends that you set the
returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListGlobalOperationsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAggregatedList |
The response to send back to the client (wrapped by a task). |
Delete(DeleteGlobalOperationRequest, ServerCallContext)
public virtual Task<DeleteGlobalOperationResponse> Delete(DeleteGlobalOperationRequest request, ServerCallContext context)Deletes the specified Operations resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGlobalOperationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDeleteGlobalOperationResponse |
The response to send back to the client (wrapped by a task). |
Get(GetGlobalOperationRequest, ServerCallContext)
public virtual Task<Operation> Get(GetGlobalOperationRequest request, ServerCallContext context)Retrieves the specified Operations resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalOperationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
List(ListGlobalOperationsRequest, ServerCallContext)
public virtual Task<OperationList> List(ListGlobalOperationsRequest request, ServerCallContext context)Retrieves a list of Operation resources contained within the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGlobalOperationsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationList |
The response to send back to the client (wrapped by a task). |
Wait(WaitGlobalOperationRequest, ServerCallContext)
public virtual Task<Operation> Wait(WaitGlobalOperationRequest request, ServerCallContext context)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.
| Parameters | |
|---|---|
| Name | Description |
request |
WaitGlobalOperationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |