API hub v1 API - Class ApiHubAddon.ApiHubAddonBase (1.3.0)

[BindServiceMethod(typeof(ApiHubAddon), "BindService")]
public abstract class ApiHubAddon.ApiHubAddonBase

Reference documentation and code samples for the API hub v1 API class ApiHubAddon.ApiHubAddonBase.

Base class for server-side implementations of ApiHubAddon

Inheritance

object > ApiHubAddon.ApiHubAddonBase

Namespace

Google.Cloud.ApiHub.V1

Assembly

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 GetAddonRequest

The request received from the client.

context ServerCallContext

The 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 ListAddonsRequest

The request received from the client.

context ServerCallContext

The 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 ManageAddonConfigRequest

The request received from the client.

context ServerCallContext

The 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).