Class: Google::Cloud::VisionAI::V1::FacetGroup
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::FacetGroup
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/warehouse.rb
Overview
A group of facet buckets to be passed back and forth between backend & frontend.
Instance Attribute Summary collapse
-
#bucket_type ⇒ ::Google::Cloud::VisionAI::V1::FacetBucketType
Facet bucket type.
-
#buckets ⇒ ::Array<::Google::Cloud::VisionAI::V1::FacetBucket>
Buckets associated with the facet.
-
#display_name ⇒ ::String
Display name of the facet.
-
#facet_id ⇒ ::String
Unique id of the facet group.
-
#fetch_matched_annotations ⇒ ::Boolean
If true, return query matched annotations for this facet group's selection.
Instance Attribute Details
#bucket_type ⇒ ::Google::Cloud::VisionAI::V1::FacetBucketType
Returns Facet bucket type.
2507 2508 2509 2510 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2507 class FacetGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#buckets ⇒ ::Array<::Google::Cloud::VisionAI::V1::FacetBucket>
Returns Buckets associated with the facet. E.g. for "Team" facet, the bucket can be 49ers, patriots, etc.
2507 2508 2509 2510 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2507 class FacetGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#display_name ⇒ ::String
Returns Display name of the facet. To be used by UI for facet rendering.
2507 2508 2509 2510 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2507 class FacetGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#facet_id ⇒ ::String
Returns Unique id of the facet group.
2507 2508 2509 2510 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2507 class FacetGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#fetch_matched_annotations ⇒ ::Boolean
Returns If true, return query matched annotations for this facet group's selection. This option is only applicable for facets based on partition level annotations. It supports the following facet values:
- INTEGER
- STRING (DataSchema.SearchStrategy.EXACT_SEARCH only).
2507 2508 2509 2510 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2507 class FacetGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |