[BindServiceMethod(typeof(ServingConfigService), "BindService")]
public abstract class ServingConfigService.ServingConfigServiceBaseReference documentation and code samples for the Discovery Engine v1beta API class ServingConfigService.ServingConfigServiceBase.
Base class for server-side implementations of ServingConfigService
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
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 |
CreateServingConfigRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteServingConfigRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetServingConfigRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListServingConfigsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateServingConfigRequestThe request received from the client. |
context |
ServerCallContextThe 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). |