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
-
(::Google::Cloud::VisionAI::V1::FacetBucket::Range) — Range value.
Note: The following fields are mutually exclusive:
range
,value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#range=
def range=(value) -> ::Google::Cloud::VisionAI::V1::FacetBucket::Range
-
value (::Google::Cloud::VisionAI::V1::FacetBucket::Range) — Range value.
Note: The following fields are mutually exclusive:
range
,value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::FacetBucket::Range) — Range value.
Note: The following fields are mutually exclusive:
range
,value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#selected
def selected() -> ::Boolean
- (::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
- value (::Boolean) — Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest.
- (::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
-
(::Google::Cloud::VisionAI::V1::FacetValue) — Singular value.
Note: The following fields are mutually exclusive:
value
,range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value=
def value=(value) -> ::Google::Cloud::VisionAI::V1::FacetValue
-
value (::Google::Cloud::VisionAI::V1::FacetValue) — Singular value.
Note: The following fields are mutually exclusive:
value
,range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::FacetValue) — Singular value.
Note: The following fields are mutually exclusive:
value
,range
. If a field in that set is populated, all other fields in the set will automatically be cleared.