[BindServiceMethod(typeof(ZoneOperations), "BindService")]
public abstract class ZoneOperationsBaseBase class for server-side implementations of ZoneOperations
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Delete(DeleteZoneOperationRequest, ServerCallContext)
public virtual Task<DeleteZoneOperationResponse> Delete(DeleteZoneOperationRequest request, ServerCallContext context)Deletes the specified zone-specific Operations resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteZoneOperationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<DeleteZoneOperationResponse> |
The response to send back to the client (wrapped by a task). |
Get(GetZoneOperationRequest, ServerCallContext)
public virtual Task<Operation> Get(GetZoneOperationRequest request, ServerCallContext context)Retrieves the specified zone-specific Operations resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetZoneOperationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
List(ListZoneOperationsRequest, ServerCallContext)
public virtual Task<OperationList> List(ListZoneOperationsRequest request, ServerCallContext context)Retrieves a list of Operation resources contained within the specified zone.
| Parameters | |
|---|---|
| Name | Description |
request |
ListZoneOperationsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<OperationList> |
The response to send back to the client (wrapped by a task). |
Wait(WaitZoneOperationRequest, ServerCallContext)
public virtual Task<Operation> Wait(WaitZoneOperationRequest 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 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.
| Parameters | |
|---|---|
| Name | Description |
request |
WaitZoneOperationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |