Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::FacetGroup.
A group of facet buckets to be passed back and forth between backend & frontend.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#bucket_type
def bucket_type() -> ::Google::Cloud::VisionAI::V1::FacetBucketType- (::Google::Cloud::VisionAI::V1::FacetBucketType) — Facet bucket type.
 
#bucket_type=
def bucket_type=(value) -> ::Google::Cloud::VisionAI::V1::FacetBucketType- value (::Google::Cloud::VisionAI::V1::FacetBucketType) — Facet bucket type.
 
- (::Google::Cloud::VisionAI::V1::FacetBucketType) — Facet bucket type.
 
#buckets
def buckets() -> ::Array<::Google::Cloud::VisionAI::V1::FacetBucket>- (::Array<::Google::Cloud::VisionAI::V1::FacetBucket>) — Buckets associated with the facet. E.g. for "Team" facet, the bucket can be 49ers, patriots, etc.
 
#buckets=
def buckets=(value) -> ::Array<::Google::Cloud::VisionAI::V1::FacetBucket>- value (::Array<::Google::Cloud::VisionAI::V1::FacetBucket>) — Buckets associated with the facet. E.g. for "Team" facet, the bucket can be 49ers, patriots, etc.
 
- (::Array<::Google::Cloud::VisionAI::V1::FacetBucket>) — Buckets associated with the facet. E.g. for "Team" facet, the bucket can be 49ers, patriots, etc.
 
#display_name
def display_name() -> ::String- (::String) — Display name of the facet. To be used by UI for facet rendering.
 
#display_name=
def display_name=(value) -> ::String- value (::String) — Display name of the facet. To be used by UI for facet rendering.
 
- (::String) — Display name of the facet. To be used by UI for facet rendering.
 
#facet_id
def facet_id() -> ::String- (::String) — Unique id of the facet group.
 
#facet_id=
def facet_id=(value) -> ::String- value (::String) — Unique id of the facet group.
 
- (::String) — Unique id of the facet group.
 
#fetch_matched_annotations
def fetch_matched_annotations() -> ::Boolean-  (::Boolean) — 
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)
 
 
#fetch_matched_annotations=
def fetch_matched_annotations=(value) -> ::Boolean-  value (::Boolean) — 
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)
 
 
-  (::Boolean) — 
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)