Retail v2 API - Class SearchService.SearchServiceBase (2.5.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

GoogleCloudGoogle.Cloud.RetailV2

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