Retail v2 API - Class ConversationalSearchRequest.Types.SearchParams (2.15.0)

public sealed class ConversationalSearchRequest.Types.SearchParams : IMessage<ConversationalSearchRequest.Types.SearchParams>, IEquatable<ConversationalSearchRequest.Types.SearchParams>, IDeepCloneable<ConversationalSearchRequest.Types.SearchParams>, IBufferMessage, IMessage

Reference documentation and code samples for the Retail v2 API class ConversationalSearchRequest.Types.SearchParams.

Search parameters.

Inheritance

object > ConversationalSearchRequest.Types.SearchParams

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

SearchParams()

public SearchParams()

SearchParams(SearchParams)

public SearchParams(ConversationalSearchRequest.Types.SearchParams other)
Parameter
Name Description
other ConversationalSearchRequestTypesSearchParams

Properties

BoostSpec

public SearchRequest.Types.BoostSpec BoostSpec { get; set; }

Optional. The boost spec to specify the boosting of search results.

The syntax of the boost spec is the same as [SearchRequest.boost_spec][google.cloud.retail.v2.SearchRequest.boost_spec].

Property Value
Type Description
SearchRequestTypesBoostSpec

CanonicalFilter

public string CanonicalFilter { get; set; }

Optional. The canonical filter string to restrict search results.

The syntax of the canonical filter string is the same as [SearchRequest.canonical_filter][google.cloud.retail.v2.SearchRequest.canonical_filter].

Property Value
Type Description
string

Filter

public string Filter { get; set; }

Optional. The filter string to restrict search results.

The syntax of the filter string is the same as [SearchRequest.filter][google.cloud.retail.v2.SearchRequest.filter].

Property Value
Type Description
string

SortBy

public string SortBy { get; set; }

Optional. The sort string to specify the sorting of search results.

The syntax of the sort string is the same as [SearchRequest.sort][].

Property Value
Type Description
string