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

[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

CreateServingConfig(CreateServingConfigRequest, ServerCallContext)

public virtual Task<ServingConfig> CreateServingConfig(CreateServingConfigRequest request, ServerCallContext context)

Creates a ServingConfig.

Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API.

A maximum of 100 [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], otherwise a RESOURCE_EXHAUSTED error is returned.

Parameters
Name Description
request CreateServingConfigRequest

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).

DeleteServingConfig(DeleteServingConfigRequest, ServerCallContext)

public virtual Task<Empty> DeleteServingConfig(DeleteServingConfigRequest request, ServerCallContext context)

Deletes a ServingConfig.

Returns a NOT_FOUND error if the ServingConfig does not exist.

Parameters
Name Description
request DeleteServingConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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

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).