public sealed class ServingConfigServiceClientImpl : ServingConfigServiceClientReference documentation and code samples for the Discovery Engine v1 API class ServingConfigServiceClientImpl.
ServingConfigService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Remarks
Service for operations related to [ServingConfig][google.cloud.discoveryengine.v1.ServingConfig].
Constructors
ServingConfigServiceClientImpl(ServingConfigServiceClient, ServingConfigServiceSettings, ILogger)
public ServingConfigServiceClientImpl(ServingConfigService.ServingConfigServiceClient grpcClient, ServingConfigServiceSettings settings, ILogger logger)Constructs a client wrapper for the ServingConfigService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
ServingConfigServiceServingConfigServiceClientThe underlying gRPC client. |
settings |
ServingConfigServiceSettingsThe base ServingConfigServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override ServingConfigService.ServingConfigServiceClient GrpcClient { get; }The underlying gRPC ServingConfigService client
| Property Value | |
|---|---|
| Type | Description |
ServingConfigServiceServingConfigServiceClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
UpdateServingConfig(UpdateServingConfigRequest, CallSettings)
public override ServingConfig UpdateServingConfig(UpdateServingConfigRequest request, CallSettings callSettings = null)Updates a ServingConfig.
Returns a NOT_FOUND error if the ServingConfig does not exist.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServingConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ServingConfig |
The RPC response. |
UpdateServingConfigAsync(UpdateServingConfigRequest, CallSettings)
public override Task<ServingConfig> UpdateServingConfigAsync(UpdateServingConfigRequest request, CallSettings callSettings = null)Updates a ServingConfig.
Returns a NOT_FOUND error if the ServingConfig does not exist.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServingConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskServingConfig |
A Task containing the RPC response. |