Class: Google::Cloud::Retail::V2::SearchRequest::PersonalizationSpec
- Inherits:
-
Object
- Object
- Google::Cloud::Retail::V2::SearchRequest::PersonalizationSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/retail/v2/search_service.rb
Overview
The specification for personalization.
Defined Under Namespace
Modules: Mode
Instance Attribute Summary collapse
-
#mode ⇒ ::Google::Cloud::Retail::V2::SearchRequest::PersonalizationSpec::Mode
Defaults to Mode.AUTO.
Instance Attribute Details
#mode ⇒ ::Google::Cloud::Retail::V2::SearchRequest::PersonalizationSpec::Mode
Returns Defaults to Mode.AUTO.
697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 |
# File 'proto_docs/google/cloud/retail/v2/search_service.rb', line 697 class PersonalizationSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The personalization mode of each search request. module Mode # Default value. In this case, server behavior defaults to # {::Google::Cloud::Retail::V2::SearchRequest::PersonalizationSpec::Mode::AUTO Mode.AUTO}. MODE_UNSPECIFIED = 0 # Let CRS decide whether to use personalization based on quality of user # event data. AUTO = 1 # Disable personalization. DISABLED = 2 end end |