Class SearchService.SearchServiceBase (1.2.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. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.

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