class Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchResponseFacetFacetValue

A facet value which contains value names and their count.

Attributes

count[RW]

Number of items that have this facet value. Corresponds to the JSON property `count` @return [Fixnum]

interval[RW]

A floating point interval. Corresponds to the JSON property `interval` @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval]

value[RW]

Text value of a facet, such as “Black” for facet “colorFamilies”. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/retail_v2alpha/classes.rb, line 3393
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/retail_v2alpha/classes.rb, line 3398
def update!(**args)
  @count = args[:count] if args.key?(:count)
  @interval = args[:interval] if args.key?(:interval)
  @value = args[:value] if args.key?(:value)
end