public sealed class SearchServiceClientImpl : SearchServiceClient
SearchService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Remarks
Service for 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.
Constructors
SearchServiceClientImpl(SearchService.SearchServiceClient, SearchServiceSettings)
public SearchServiceClientImpl(SearchService.SearchServiceClient grpcClient, SearchServiceSettings settings)
Constructs a client wrapper for the SearchService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | SearchService.SearchServiceClient The underlying gRPC client. |
settings | SearchServiceSettings The base SearchServiceSettings used within this client. |
Properties
GrpcClient
public override SearchService.SearchServiceClient GrpcClient { get; }
The underlying gRPC SearchService client
Property Value | |
---|---|
Type | Description |
SearchService.SearchServiceClient |
Methods
Search(SearchRequest, CallSettings)
public override PagedEnumerable<SearchResponse, SearchResponse.Types.SearchResult> Search(SearchRequest request, CallSettings callSettings = null)
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 | |
---|---|
Name | Description |
request | SearchRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<SearchResponse, SearchResponse.Types.SearchResult> | A pageable sequence of SearchResponse.Types.SearchResult resources. |
SearchAsync(SearchRequest, CallSettings)
public override PagedAsyncEnumerable<SearchResponse, SearchResponse.Types.SearchResult> SearchAsync(SearchRequest request, CallSettings callSettings = null)
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 | |
---|---|
Name | Description |
request | SearchRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<SearchResponse, SearchResponse.Types.SearchResult> | A pageable asynchronous sequence of SearchResponse.Types.SearchResult resources. |