Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::SearchRequest::DynamicFacetSpec.
The specifications of dynamically generated facets.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#mode
def mode() -> ::Google::Cloud::Retail::V2::SearchRequest::DynamicFacetSpec::Mode
Returns
- (::Google::Cloud::Retail::V2::SearchRequest::DynamicFacetSpec::Mode) — Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.
#mode=
def mode=(value) -> ::Google::Cloud::Retail::V2::SearchRequest::DynamicFacetSpec::Mode
Parameter
- value (::Google::Cloud::Retail::V2::SearchRequest::DynamicFacetSpec::Mode) — Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.
Returns
- (::Google::Cloud::Retail::V2::SearchRequest::DynamicFacetSpec::Mode) — Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.