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:



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
# File 'proto_docs/google/cloud/retail/v2/search_service.rb', line 534

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