# Discovery Engine v1beta API - Class ServingConfigServiceClientImpl (1.0.0-beta23)

1.0.0-beta23 (latest) 1.0.0-beta22

    public sealed class ServingConfigServiceClientImpl : ServingConfigServiceClient

Reference documentation and code samples for the Discovery Engine v1beta API class ServingConfigServiceClientImpl.

ServingConfigService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ServingConfigServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient) \> ServingConfigServiceClientImpl

## Inherited Members

[ServingConfigServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_DefaultEndpoint) [ServingConfigServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_DefaultScopes) [ServingConfigServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_ServiceMetadata) [ServingConfigServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_CreateAsync_System_Threading_CancellationToken_) [ServingConfigServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_Create) [ServingConfigServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_ShutdownDefaultChannelsAsync) [ServingConfigServiceClient.UpdateServingConfigAsync(UpdateServingConfigRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_UpdateServingConfigAsync_Google_Cloud_DiscoveryEngine_V1Beta_UpdateServingConfigRequest_System_Threading_CancellationToken_) [ServingConfigServiceClient.UpdateServingConfig(ServingConfig, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_UpdateServingConfig_Google_Cloud_DiscoveryEngine_V1Beta_ServingConfig_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [ServingConfigServiceClient.UpdateServingConfigAsync(ServingConfig, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_UpdateServingConfigAsync_Google_Cloud_DiscoveryEngine_V1Beta_ServingConfig_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [ServingConfigServiceClient.UpdateServingConfigAsync(ServingConfig, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_UpdateServingConfigAsync_Google_Cloud_DiscoveryEngine_V1Beta_ServingConfig_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [ServingConfigServiceClient.GetServingConfigAsync(GetServingConfigRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_GetServingConfigAsync_Google_Cloud_DiscoveryEngine_V1Beta_GetServingConfigRequest_System_Threading_CancellationToken_) [ServingConfigServiceClient.GetServingConfig(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_GetServingConfig_System_String_Google_Api_Gax_Grpc_CallSettings_) [ServingConfigServiceClient.GetServingConfigAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_GetServingConfigAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [ServingConfigServiceClient.GetServingConfigAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_GetServingConfigAsync_System_String_System_Threading_CancellationToken_) [ServingConfigServiceClient.GetServingConfig(ServingConfigName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_GetServingConfig_Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigName_Google_Api_Gax_Grpc_CallSettings_) [ServingConfigServiceClient.GetServingConfigAsync(ServingConfigName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_GetServingConfigAsync_Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigName_Google_Api_Gax_Grpc_CallSettings_) [ServingConfigServiceClient.GetServingConfigAsync(ServingConfigName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_GetServingConfigAsync_Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigName_System_Threading_CancellationToken_) [ServingConfigServiceClient.ListServingConfigs(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_ListServingConfigs_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ServingConfigServiceClient.ListServingConfigsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_ListServingConfigsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ServingConfigServiceClient.ListServingConfigs(EngineName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_ListServingConfigs_Google_Cloud_DiscoveryEngine_V1Beta_EngineName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ServingConfigServiceClient.ListServingConfigsAsync(EngineName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_ListServingConfigsAsync_Google_Cloud_DiscoveryEngine_V1Beta_EngineName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ServingConfigServiceClient.ListServingConfigs(DataStoreName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_ListServingConfigs_Google_Cloud_DiscoveryEngine_V1Beta_DataStoreName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ServingConfigServiceClient.ListServingConfigsAsync(DataStoreName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_ListServingConfigsAsync_Google_Cloud_DiscoveryEngine_V1Beta_DataStoreName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Remarks

Service for operations related to
\[ServingConfig\]\[google.cloud.discoveryengine.v1beta.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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigService.ServingConfigServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceSettings` The base [ServingConfigServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override ServingConfigService.ServingConfigServiceClient GrpcClient { get; }

The underlying gRPC ServingConfigService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigService.ServingConfigServiceClient` |   |

**Overrides** [ServingConfigServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_GrpcClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [ServingConfigServiceClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_LocationsClient)

## Methods

### GetServingConfig(GetServingConfigRequest, CallSettings)

    public override ServingConfig GetServingConfig(GetServingConfigRequest request, CallSettings callSettings = null)

Gets a ServingConfig.

Returns a NotFound error if the ServingConfig does not exist.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetServingConfigRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig` | The RPC response. |

**Overrides** [ServingConfigServiceClient.GetServingConfig(GetServingConfigRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_GetServingConfig_Google_Cloud_DiscoveryEngine_V1Beta_GetServingConfigRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetServingConfigAsync(GetServingConfigRequest, CallSettings)

    public override Task<ServingConfig> GetServingConfigAsync(GetServingConfigRequest request, CallSettings callSettings = null)

Gets a ServingConfig.

Returns a NotFound error if the ServingConfig does not exist.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetServingConfigRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig` | A Task containing the RPC response. |

**Overrides** [ServingConfigServiceClient.GetServingConfigAsync(GetServingConfigRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_GetServingConfigAsync_Google_Cloud_DiscoveryEngine_V1Beta_GetServingConfigRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListServingConfigs(ListServingConfigsRequest, CallSettings)

    public override PagedEnumerable<ListServingConfigsResponse, ServingConfig> ListServingConfigs(ListServingConfigsRequest request, CallSettings callSettings = null)

Lists all ServingConfigs linked to this dataStore.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig` | A pageable sequence of [ServingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig) resources. |

**Overrides** [ServingConfigServiceClient.ListServingConfigs(ListServingConfigsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_ListServingConfigs_Google_Cloud_DiscoveryEngine_V1Beta_ListServingConfigsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListServingConfigsAsync(ListServingConfigsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListServingConfigsResponse, ServingConfig> ListServingConfigsAsync(ListServingConfigsRequest request, CallSettings callSettings = null)

Lists all ServingConfigs linked to this dataStore.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig` | A pageable asynchronous sequence of [ServingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig) resources. |

**Overrides** [ServingConfigServiceClient.ListServingConfigsAsync(ListServingConfigsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_ListServingConfigsAsync_Google_Cloud_DiscoveryEngine_V1Beta_ListServingConfigsRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateServingConfigRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig` | The RPC response. |

**Overrides** [ServingConfigServiceClient.UpdateServingConfig(UpdateServingConfigRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_UpdateServingConfig_Google_Cloud_DiscoveryEngine_V1Beta_UpdateServingConfigRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateServingConfigRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig` | A Task containing the RPC response. |

**Overrides** [ServingConfigServiceClient.UpdateServingConfigAsync(UpdateServingConfigRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ServingConfigServiceClient_UpdateServingConfigAsync_Google_Cloud_DiscoveryEngine_V1Beta_UpdateServingConfigRequest_Google_Api_Gax_Grpc_CallSettings_)