Discovery Engine v1beta API - Class SearchResponse.Types.QueryExpansionInfo (1.0.0-beta10)

public sealed class SearchResponse.Types.QueryExpansionInfo : IMessage<SearchResponse.Types.QueryExpansionInfo>, IEquatable<SearchResponse.Types.QueryExpansionInfo>, IDeepCloneable<SearchResponse.Types.QueryExpansionInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class SearchResponse.Types.QueryExpansionInfo.

Information describing query expansion including whether expansion has occurred.

Inheritance

object > SearchResponse.Types.QueryExpansionInfo

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

QueryExpansionInfo()

public QueryExpansionInfo()

QueryExpansionInfo(QueryExpansionInfo)

public QueryExpansionInfo(SearchResponse.Types.QueryExpansionInfo other)
Parameter
NameDescription
otherSearchResponseTypesQueryExpansionInfo

Properties

ExpandedQuery

public bool ExpandedQuery { get; set; }

Bool describing whether query expansion has occurred.

Property Value
TypeDescription
bool

PinnedResultCount

public long PinnedResultCount { get; set; }

Number of pinned results. This field will only be set when expansion happens and [SearchRequest.QueryExpansionSpec.pin_unexpanded_results][google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec.pin_unexpanded_results] is set to true.

Property Value
TypeDescription
long