class Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchResponseFacetFacetValue
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::RetailV2beta::GoogleCloudRetailV2betaInterval]
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_v2beta/classes.rb, line 3746 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_v2beta/classes.rb, line 3751 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