[BindServiceMethod(typeof(ApiHubAddon), "BindService")]
public abstract class ApiHubAddon.ApiHubAddonBaseReference documentation and code samples for the API hub v1 API class ApiHubAddon.ApiHubAddonBase.
Base class for server-side implementations of ApiHubAddon
Namespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Methods
GetAddon(GetAddonRequest, ServerCallContext)
public virtual Task<Addon> GetAddon(GetAddonRequest request, ServerCallContext context)Get an addon.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAddonRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAddon |
The response to send back to the client (wrapped by a task). |
ListAddons(ListAddonsRequest, ServerCallContext)
public virtual Task<ListAddonsResponse> ListAddons(ListAddonsRequest request, ServerCallContext context)List addons.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAddonsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAddonsResponse |
The response to send back to the client (wrapped by a task). |
ManageAddonConfig(ManageAddonConfigRequest, ServerCallContext)
public virtual Task<Operation> ManageAddonConfig(ManageAddonConfigRequest request, ServerCallContext context)Manage addon config. This RPC is used for managing the config of the addon. Calling this RPC moves the addon into an updating state until the long-running operation succeeds.
| Parameters | |
|---|---|
| Name | Description |
request |
ManageAddonConfigRequestThe 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). |