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

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

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

A facet result.

Inheritance

object > SearchResponse.Types.Facet

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

Facet()

public Facet()

Facet(Facet)

public Facet(SearchResponse.Types.Facet other)
Parameter
NameDescription
otherSearchResponseTypesFacet

Properties

DynamicFacet

public bool DynamicFacet { get; set; }

Whether the facet is dynamically generated.

Property Value
TypeDescription
bool

Key

public string Key { get; set; }

The key for this facet. E.g., "colors" or "price". It matches [SearchRequest.FacetSpec.FacetKey.key][google.cloud.discoveryengine.v1beta.SearchRequest.FacetSpec.FacetKey.key].

Property Value
TypeDescription
string

Values

public RepeatedField<SearchResponse.Types.Facet.Types.FacetValue> Values { get; }

The facet values for this field.

Property Value
TypeDescription
RepeatedFieldSearchResponseTypesFacetTypesFacetValue