[BindServiceMethod(typeof(HubService), "BindService")]
public abstract class HubService.HubServiceBaseReference documentation and code samples for the Network Connectivity v1alpha1 API class HubService.HubServiceBase.
Base class for server-side implementations of HubService
Namespace
Google.Cloud.NetworkConnectivity.V1Alpha1Assembly
Google.Cloud.NetworkConnectivity.V1Alpha1.dll
Methods
CreateHub(CreateHubRequest, ServerCallContext)
public virtual Task<Operation> CreateHub(CreateHubRequest request, ServerCallContext context)Creates a new Hub in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateHubRequestThe 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). |
CreateSpoke(CreateSpokeRequest, ServerCallContext)
public virtual Task<Operation> CreateSpoke(CreateSpokeRequest request, ServerCallContext context)Creates a new Spoke in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSpokeRequestThe 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). |
DeleteHub(DeleteHubRequest, ServerCallContext)
public virtual Task<Operation> DeleteHub(DeleteHubRequest request, ServerCallContext context)Deletes a single Hub.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteHubRequestThe 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). |
DeleteSpoke(DeleteSpokeRequest, ServerCallContext)
public virtual Task<Operation> DeleteSpoke(DeleteSpokeRequest request, ServerCallContext context)Deletes a single Spoke.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSpokeRequestThe 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). |
GetHub(GetHubRequest, ServerCallContext)
public virtual Task<Hub> GetHub(GetHubRequest request, ServerCallContext context)Gets details of a single Hub.
| Parameters | |
|---|---|
| Name | Description |
request |
GetHubRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskHub |
The response to send back to the client (wrapped by a task). |
GetSpoke(GetSpokeRequest, ServerCallContext)
public virtual Task<Spoke> GetSpoke(GetSpokeRequest request, ServerCallContext context)Gets details of a single Spoke.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSpokeRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSpoke |
The response to send back to the client (wrapped by a task). |
ListHubs(ListHubsRequest, ServerCallContext)
public virtual Task<ListHubsResponse> ListHubs(ListHubsRequest request, ServerCallContext context)Lists Hubs in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListHubsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListHubsResponse |
The response to send back to the client (wrapped by a task). |
ListSpokes(ListSpokesRequest, ServerCallContext)
public virtual Task<ListSpokesResponse> ListSpokes(ListSpokesRequest request, ServerCallContext context)Lists Spokes in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSpokesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListSpokesResponse |
The response to send back to the client (wrapped by a task). |
UpdateHub(UpdateHubRequest, ServerCallContext)
public virtual Task<Operation> UpdateHub(UpdateHubRequest request, ServerCallContext context)Updates the parameters of a single Hub.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateHubRequestThe 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). |
UpdateSpoke(UpdateSpokeRequest, ServerCallContext)
public virtual Task<Operation> UpdateSpoke(UpdateSpokeRequest request, ServerCallContext context)Updates the parameters of a single Spoke.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSpokeRequestThe 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). |