class Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec

The specifications of dynamically generated facets.

Attributes

mode[RW]

Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset. Corresponds to the JSON property `mode` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/retail_v2alpha/classes.rb, line 3075
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 3080
def update!(**args)
  @mode = args[:mode] if args.key?(:mode)
end