Discovery Engine v1 API - Class SearchService.SearchServiceBase (1.2.0)

[BindServiceMethod(typeof(SearchService), "BindService")]
public abstract class SearchService.SearchServiceBase

Reference documentation and code samples for the Discovery Engine v1 API class SearchService.SearchServiceBase.

Base class for server-side implementations of SearchService

Inheritance

object > SearchService.SearchServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Methods

Search(SearchRequest, ServerCallContext)

public virtual Task<SearchResponse> Search(SearchRequest request, ServerCallContext context)

Performs a search.

Parameters
Name Description
request SearchRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskSearchResponse

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