[BindServiceMethod(typeof(Regions), "BindService")]
public abstract class RegionsBaseBase class for server-side implementations of Regions
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Get(GetRegionRequest, ServerCallContext)
public virtual Task<Region> Get(GetRegionRequest request, ServerCallContext context)Returns the specified Region resource. Gets a list of available regions by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Region> |
The response to send back to the client (wrapped by a task). |
List(ListRegionsRequest, ServerCallContext)
public virtual Task<RegionList> List(ListRegionsRequest request, ServerCallContext context)Retrieves the list of region resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<RegionList> |
The response to send back to the client (wrapped by a task). |