Class: Google::Cloud::Retail::V2::CatalogAttribute::FacetConfig::IgnoredFacetValues

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/retail/v2/catalog.rb

Overview

Facet values to ignore on facets during the specified time range for the given SearchResponse.Facet.key attribute.

Instance Attribute Summary collapse

Instance Attribute Details

#end_time::Google::Protobuf::Timestamp

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

Returns:



246
247
248
249
# File 'proto_docs/google/cloud/retail/v2/catalog.rb', line 246

class IgnoredFacetValues
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#start_time::Google::Protobuf::Timestamp

Returns 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.

Returns:

  • (::Google::Protobuf::Timestamp)

    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.



246
247
248
249
# File 'proto_docs/google/cloud/retail/v2/catalog.rb', line 246

class IgnoredFacetValues
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#values::Array<::String>

Returns 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.

Returns:

  • (::Array<::String>)

    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.



246
247
248
249
# File 'proto_docs/google/cloud/retail/v2/catalog.rb', line 246

class IgnoredFacetValues
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end