Class SearchService.SearchServiceBase (1.6.0)

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

Base class for server-side implementations of SearchService

Inheritance

Object > SearchService.SearchServiceBase

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Methods

Search(SearchRequest, ServerCallContext)

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

Performs a search.

This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.

Parameters
NameDescription
requestSearchRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<SearchResponse>

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