Vision AI V1 API - Class Google::Cloud::VisionAI::V1::FacetBucket (v0.2.0)

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

#range=

def range=(value) -> ::Google::Cloud::VisionAI::V1::FacetBucket::Range
Parameter

#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

#value=

def value=(value) -> ::Google::Cloud::VisionAI::V1::FacetValue
Parameter
Returns