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.
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.
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
defselected()->::Boolean
Returns
(::Boolean) — Whether one facet bucket is selected. This field represents user's facet
selection. It is set by frontend in SearchVideosRequest.
#selected=
defselected=(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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::FacetBucket (v1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-FacetBucket)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-FacetBucket)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-FacetBucket)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-FacetBucket)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-FacetBucket)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-FacetBucket)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-FacetBucket) \nReference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::FacetBucket.\n\nHolds the facet value, selections state, and metadata. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #range\n\n def range() -\u003e ::Google::Cloud::VisionAI::V1::FacetBucket::Range\n\n**Returns**\n\n- ([::Google::Cloud::VisionAI::V1::FacetBucket::Range](./Google-Cloud-VisionAI-V1-FacetBucket-Range)) --- Range value.\n\n\n 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.\n\n### #range=\n\n def range=(value) -\u003e ::Google::Cloud::VisionAI::V1::FacetBucket::Range\n\n**Parameter**\n\n- **value** ([::Google::Cloud::VisionAI::V1::FacetBucket::Range](./Google-Cloud-VisionAI-V1-FacetBucket-Range)) --- Range value.\n\n\nNote: 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. \n**Returns**\n\n- ([::Google::Cloud::VisionAI::V1::FacetBucket::Range](./Google-Cloud-VisionAI-V1-FacetBucket-Range)) --- Range value.\n\n\n 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.\n\n### #selected\n\n def selected() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest.\n\n### #selected=\n\n def selected=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest. \n**Returns**\n\n- (::Boolean) --- Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest.\n\n### #value\n\n def value() -\u003e ::Google::Cloud::VisionAI::V1::FacetValue\n\n**Returns**\n\n- ([::Google::Cloud::VisionAI::V1::FacetValue](./Google-Cloud-VisionAI-V1-FacetValue)) --- Singular value.\n\n\n 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.\n\n### #value=\n\n def value=(value) -\u003e ::Google::Cloud::VisionAI::V1::FacetValue\n\n**Parameter**\n\n- **value** ([::Google::Cloud::VisionAI::V1::FacetValue](./Google-Cloud-VisionAI-V1-FacetValue)) --- Singular value.\n\n\nNote: 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. \n**Returns**\n\n- ([::Google::Cloud::VisionAI::V1::FacetValue](./Google-Cloud-VisionAI-V1-FacetValue)) --- Singular value.\n\n\n 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."]]