Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class FacetBucket.
Holds the facet value, selections state, and metadata.
Generated from protobuf message google.cloud.visionai.v1.FacetBucket
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ value
↳ range
↳ selected
bool
Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest.
getValue
Singular value.
hasValue
setValue
Singular value.
$this
getRange
Range value.
hasRange
setRange
Range value.
$this
getSelected
Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest.
bool
setSelected
Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest.
var
bool
$this
getBucketValue
string

