Discovery Engine v1beta API - Class ServingConfigService.ServingConfigServiceBase (1.0.0-beta17)

[BindServiceMethod(typeof(ServingConfigService), "BindService")]
public abstract class ServingConfigService.ServingConfigServiceBase

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

Base class for server-side implementations of ServingConfigService

Inheritance

object > ServingConfigService.ServingConfigServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Methods

GetServingConfig(GetServingConfigRequest, ServerCallContext)

public virtual Task<ServingConfig> GetServingConfig(GetServingConfigRequest request, ServerCallContext context)

Gets a ServingConfig.

Returns a NotFound error if the ServingConfig does not exist.

Parameters
Name Description
request GetServingConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskServingConfig

The response to send back to the client (wrapped by a task).

ListServingConfigs(ListServingConfigsRequest, ServerCallContext)

public virtual Task<ListServingConfigsResponse> ListServingConfigs(ListServingConfigsRequest request, ServerCallContext context)

Lists all ServingConfigs linked to this dataStore.

Parameters
Name Description
request ListServingConfigsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListServingConfigsResponse

The response to send back to the client (wrapped by a task).

UpdateServingConfig(UpdateServingConfigRequest, ServerCallContext)

public virtual Task<ServingConfig> UpdateServingConfig(UpdateServingConfigRequest request, ServerCallContext context)

Updates a ServingConfig.

Returns a NOT_FOUND error if the ServingConfig does not exist.

Parameters
Name Description
request UpdateServingConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskServingConfig

The response to send back to the client (wrapped by a task).