Discovery Engine v1 API - Class WidgetConfigServiceClientImpl (1.17.0)

public sealed class WidgetConfigServiceClientImpl : WidgetConfigServiceClient

Reference documentation and code samples for the Discovery Engine v1 API class WidgetConfigServiceClientImpl.

WidgetConfigService client wrapper implementation, for convenient use.

Inheritance

object > WidgetConfigServiceClient > WidgetConfigServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

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 WidgetConfigServiceWidgetConfigServiceClient

The underlying gRPC client.

settings WidgetConfigServiceSettings

The base WidgetConfigServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override WidgetConfigService.WidgetConfigServiceClient GrpcClient { get; }

The underlying gRPC WidgetConfigService client

Property Value
Type Description
WidgetConfigServiceWidgetConfigServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

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 GetWidgetConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WidgetConfig

The RPC response.

Overrides

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 GetWidgetConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWidgetConfig

A Task containing the RPC response.

Overrides

UpdateWidgetConfig(UpdateWidgetConfigRequest, CallSettings)

public override WidgetConfig UpdateWidgetConfig(UpdateWidgetConfigRequest request, CallSettings callSettings = null)

Update a WidgetConfig.

Parameters
Name Description
request UpdateWidgetConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WidgetConfig

The RPC response.

Overrides

UpdateWidgetConfigAsync(UpdateWidgetConfigRequest, CallSettings)

public override Task<WidgetConfig> UpdateWidgetConfigAsync(UpdateWidgetConfigRequest request, CallSettings callSettings = null)

Update a WidgetConfig.

Parameters
Name Description
request UpdateWidgetConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWidgetConfig

A Task containing the RPC response.

Overrides