Retail v2 API - Class CatalogAttribute.Types.FacetConfig.Types.IgnoredFacetValues (2.11.0)

public sealed class CatalogAttribute.Types.FacetConfig.Types.IgnoredFacetValues : IMessage<CatalogAttribute.Types.FacetConfig.Types.IgnoredFacetValues>, IEquatable<CatalogAttribute.Types.FacetConfig.Types.IgnoredFacetValues>, IDeepCloneable<CatalogAttribute.Types.FacetConfig.Types.IgnoredFacetValues>, IBufferMessage, IMessage

Reference documentation and code samples for the Retail v2 API class CatalogAttribute.Types.FacetConfig.Types.IgnoredFacetValues.

[Facet values][google.cloud.retail.v2.SearchResponse.Facet.values] to ignore on [facets][google.cloud.retail.v2.SearchResponse.Facet] during the specified time range for the given [SearchResponse.Facet.key][google.cloud.retail.v2.SearchResponse.Facet.key] attribute.

Inheritance

object > CatalogAttribute.Types.FacetConfig.Types.IgnoredFacetValues

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

IgnoredFacetValues()

public IgnoredFacetValues()

IgnoredFacetValues(IgnoredFacetValues)

public IgnoredFacetValues(CatalogAttribute.Types.FacetConfig.Types.IgnoredFacetValues other)
Parameter
Name Description
other CatalogAttributeTypesFacetConfigTypesIgnoredFacetValues

Properties

EndTime

public Timestamp EndTime { get; set; }

If start time is empty and end time is not empty, then ignore these facet values before end time.

Property Value
Type Description
Timestamp

StartTime

public Timestamp StartTime { get; set; }

Time range for the current list of facet values to ignore. If multiple time ranges are specified for an facet value for the current attribute, consider all of them. If both are empty, ignore always. If start time and end time are set, then start time must be before end time. If start time is not empty and end time is empty, then will ignore these facet values after the start time.

Property Value
Type Description
Timestamp

Values

public RepeatedField<string> Values { get; }

List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.

Property Value
Type Description
RepeatedFieldstring