Class: Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::Facet::FacetValue
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::Facet::FacetValue
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb
Overview
A facet value which contains value names and their count.
Instance Attribute Summary collapse
-
#count ⇒ ::Integer
Number of items that have this facet value.
-
#interval ⇒ ::Google::Cloud::DiscoveryEngine::V1beta::Interval
Interval value for a facet, such as [10, 20) for facet "price".
-
#value ⇒ ::String
Text value of a facet, such as "Black" for facet "colors".
Instance Attribute Details
#count ⇒ ::Integer
Returns Number of items that have this facet value.
965 966 967 968 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 965 class FacetValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#interval ⇒ ::Google::Cloud::DiscoveryEngine::V1beta::Interval
Returns Interval value for a facet, such as [10, 20) for facet "price". It matches SearchRequest.FacetSpec.FacetKey.intervals.
965 966 967 968 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 965 class FacetValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#value ⇒ ::String
Returns Text value of a facet, such as "Black" for facet "colors".
965 966 967 968 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 965 class FacetValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |