Discovery Engine v1beta API - Class SearchServiceClientImpl (1.0.0-beta11)

public sealed class SearchServiceClientImpl : SearchServiceClient

Reference documentation and code samples for the Discovery Engine v1beta API class SearchServiceClientImpl.

SearchService client wrapper implementation, for convenient use.

Inheritance

object > SearchServiceClient > SearchServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Remarks

Service for search.

Constructors

SearchServiceClientImpl(SearchServiceClient, SearchServiceSettings, ILogger)

public SearchServiceClientImpl(SearchService.SearchServiceClient grpcClient, SearchServiceSettings settings, ILogger logger)

Constructs a client wrapper for the SearchService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientSearchServiceSearchServiceClient

The underlying gRPC client.

settingsSearchServiceSettings

The base SearchServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override SearchService.SearchServiceClient GrpcClient { get; }

The underlying gRPC SearchService client

Property Value
TypeDescription
SearchServiceSearchServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

Search(SearchRequest, CallSettings)

public override PagedEnumerable<SearchResponse, SearchResponse.Types.SearchResult> Search(SearchRequest request, CallSettings callSettings = null)

Performs a search.

Parameters
NameDescription
requestSearchRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableSearchResponseSearchResponseTypesSearchResult

A pageable sequence of SearchResponse.Types.SearchResult resources.

Overrides

SearchAsync(SearchRequest, CallSettings)

public override PagedAsyncEnumerable<SearchResponse, SearchResponse.Types.SearchResult> SearchAsync(SearchRequest request, CallSettings callSettings = null)

Performs a search.

Parameters
NameDescription
requestSearchRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableSearchResponseSearchResponseTypesSearchResult

A pageable asynchronous sequence of SearchResponse.Types.SearchResult resources.

Overrides