Class: Google::Cloud::Retail::V2::SearchRequest::DynamicFacetSpec

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

Overview

The specifications of dynamically generated facets.

Defined Under Namespace

Modules: Mode

Instance Attribute Summary collapse

Instance Attribute Details

#mode::Google::Cloud::Retail::V2::SearchRequest::DynamicFacetSpec::Mode

Returns Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.

Returns:



584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
# File 'proto_docs/google/cloud/retail/v2/search_service.rb', line 584

class DynamicFacetSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum to control DynamicFacet mode
  module Mode
    # Default value.
    MODE_UNSPECIFIED = 0

    # Disable Dynamic Facet.
    DISABLED = 1

    # Automatic mode built by Google Retail Search.
    ENABLED = 2
  end
end