Retail v2 API - Class SearchService.SearchServiceBase (2.3.0)

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

Reference documentation and code samples for the Retail v2 API class SearchService.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. 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).