public sealed class WidgetConfigServiceClientImpl : WidgetConfigServiceClientReference documentation and code samples for the Discovery Engine v1 API class WidgetConfigServiceClientImpl.
WidgetConfigService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Remarks
Service for managing [WidgetConfig][google.cloud.discoveryengine.v1.WidgetConfig] configuration.
Constructors
WidgetConfigServiceClientImpl(WidgetConfigServiceClient, WidgetConfigServiceSettings, ILogger)
public WidgetConfigServiceClientImpl(WidgetConfigService.WidgetConfigServiceClient grpcClient, WidgetConfigServiceSettings settings, ILogger logger)Constructs a client wrapper for the WidgetConfigService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
WidgetConfigServiceWidgetConfigServiceClientThe underlying gRPC client. |
settings |
WidgetConfigServiceSettingsThe base WidgetConfigServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override WidgetConfigService.WidgetConfigServiceClient GrpcClient { get; }The underlying gRPC WidgetConfigService client
| Property Value | |
|---|---|
| Type | Description |
WidgetConfigServiceWidgetConfigServiceClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
GetWidgetConfig(GetWidgetConfigRequest, CallSettings)
public override WidgetConfig GetWidgetConfig(GetWidgetConfigRequest request, CallSettings callSettings = null)Gets a [WidgetConfig][google.cloud.discoveryengine.v1.WidgetConfig].
| Parameters | |
|---|---|
| Name | Description |
request |
GetWidgetConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig |
The RPC response. |
GetWidgetConfigAsync(GetWidgetConfigRequest, CallSettings)
public override Task<WidgetConfig> GetWidgetConfigAsync(GetWidgetConfigRequest request, CallSettings callSettings = null)Gets a [WidgetConfig][google.cloud.discoveryengine.v1.WidgetConfig].
| Parameters | |
|---|---|
| Name | Description |
request |
GetWidgetConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWidgetConfig |
A Task containing the RPC response. |
UpdateWidgetConfig(UpdateWidgetConfigRequest, CallSettings)
public override WidgetConfig UpdateWidgetConfig(UpdateWidgetConfigRequest request, CallSettings callSettings = null)Update a WidgetConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWidgetConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig |
The RPC response. |
UpdateWidgetConfigAsync(UpdateWidgetConfigRequest, CallSettings)
public override Task<WidgetConfig> UpdateWidgetConfigAsync(UpdateWidgetConfigRequest request, CallSettings callSettings = null)Update a WidgetConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWidgetConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWidgetConfig |
A Task containing the RPC response. |