Class: Google::Cloud::DiscoveryEngine::V1::SearchResponse::Facet::FacetValue
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::SearchResponse::Facet::FacetValue
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/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::V1::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.
638 639 640 641 |
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 638 class FacetValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#interval ⇒ ::Google::Cloud::DiscoveryEngine::V1::Interval
Returns Interval value for a facet, such as [10, 20) for facet "price". It matches SearchRequest.FacetSpec.FacetKey.intervals.
638 639 640 641 |
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 638 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".
638 639 640 641 |
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 638 class FacetValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |