Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::FacetBucket.
Holds the facet value, selections state, and metadata.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#range
def range() -> ::Google::Cloud::VisionAI::V1::FacetBucket::Range
Returns
- (::Google::Cloud::VisionAI::V1::FacetBucket::Range) — Range value.
#range=
def range=(value) -> ::Google::Cloud::VisionAI::V1::FacetBucket::Range
Parameter
- value (::Google::Cloud::VisionAI::V1::FacetBucket::Range) — Range value.
Returns
- (::Google::Cloud::VisionAI::V1::FacetBucket::Range) — Range value.
#selected
def selected() -> ::Boolean
Returns
- (::Boolean) — Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest.
#selected=
def selected=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest.
Returns
- (::Boolean) — Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest.
#value
def value() -> ::Google::Cloud::VisionAI::V1::FacetValue
Returns
- (::Google::Cloud::VisionAI::V1::FacetValue) — Singular value.
#value=
def value=(value) -> ::Google::Cloud::VisionAI::V1::FacetValue
Parameter
- value (::Google::Cloud::VisionAI::V1::FacetValue) — Singular value.
Returns
- (::Google::Cloud::VisionAI::V1::FacetValue) — Singular value.