[BindServiceMethod(typeof(Zones), "BindService")]
public abstract class ZonesBaseBase class for server-side implementations of Zones
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Get(GetZoneRequest, ServerCallContext)
public virtual Task<Zone> Get(GetZoneRequest request, ServerCallContext context)Returns the specified Zone resource. Gets a list of available zones by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetZoneRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Zone> |
The response to send back to the client (wrapped by a task). |
List(ListZonesRequest, ServerCallContext)
public virtual Task<ZoneList> List(ListZonesRequest request, ServerCallContext context)Retrieves the list of Zone resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListZonesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ZoneList> |
The response to send back to the client (wrapped by a task). |