Retail v2 API - Class SearchService.SearchServiceBase (2.7.0)

[BindServiceMethod(typeof(SearchService), "BindService")]
public abstract class SearchService.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
TaskSearchResponse

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