[BindServiceMethod(typeof(WidgetConfigService), "BindService")]
public abstract class WidgetConfigService.WidgetConfigServiceBaseReference documentation and code samples for the Discovery Engine v1 API class WidgetConfigService.WidgetConfigServiceBase.
Base class for server-side implementations of WidgetConfigService
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Methods
GetWidgetConfig(GetWidgetConfigRequest, ServerCallContext)
public virtual Task<WidgetConfig> GetWidgetConfig(GetWidgetConfigRequest request, ServerCallContext context)Gets a [WidgetConfig][google.cloud.discoveryengine.v1.WidgetConfig].
| Parameters | |
|---|---|
| Name | Description |
request |
GetWidgetConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskWidgetConfig |
The response to send back to the client (wrapped by a task). |
UpdateWidgetConfig(UpdateWidgetConfigRequest, ServerCallContext)
public virtual Task<WidgetConfig> UpdateWidgetConfig(UpdateWidgetConfigRequest request, ServerCallContext context)Update a WidgetConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWidgetConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskWidgetConfig |
The response to send back to the client (wrapped by a task). |