Note: The following fields are mutually exclusive: datetime_value, string_value, integer_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: datetime_value, string_value, integer_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: datetime_value, string_value, integer_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#integer_value
definteger_value()->::Integer
Returns
(::Integer) — Integer type value.
Note: The following fields are mutually exclusive: integer_value, string_value, datetime_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#integer_value=
definteger_value=(value)->::Integer
Parameter
value (::Integer) — Integer type value.
Note: The following fields are mutually exclusive: integer_value, string_value, datetime_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::Integer) — Integer type value.
Note: The following fields are mutually exclusive: integer_value, string_value, datetime_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#string_value
defstring_value()->::String
Returns
(::String) — String type value.
Note: The following fields are mutually exclusive: string_value, integer_value, datetime_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#string_value=
defstring_value=(value)->::String
Parameter
value (::String) — String type value.
Note: The following fields are mutually exclusive: string_value, integer_value, datetime_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::String) — String type value.
Note: The following fields are mutually exclusive: string_value, integer_value, datetime_value. 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-09 UTC."],[],[],null,["# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::FacetValue (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-FacetValue)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-FacetValue)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-FacetValue)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-FacetValue)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-FacetValue)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-FacetValue)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-FacetValue) \nReference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::FacetValue.\n\nDefinition of a single value with generic type. \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### #datetime_value\n\n def datetime_value() -\u003e ::Google::Type::DateTime\n\n**Returns**\n\n- ([::Google::Type::DateTime](./Google-Type-DateTime)) --- Datetime type value.\n\n\n Note: The following fields are mutually exclusive: `datetime_value`, `string_value`, `integer_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #datetime_value=\n\n def datetime_value=(value) -\u003e ::Google::Type::DateTime\n\n**Parameter**\n\n- **value** ([::Google::Type::DateTime](./Google-Type-DateTime)) --- Datetime type value.\n\n\nNote: The following fields are mutually exclusive: `datetime_value`, `string_value`, `integer_value`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Type::DateTime](./Google-Type-DateTime)) --- Datetime type value.\n\n\n Note: The following fields are mutually exclusive: `datetime_value`, `string_value`, `integer_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #integer_value\n\n def integer_value() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Integer type value.\n\n Note: The following fields are mutually exclusive: `integer_value`, `string_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #integer_value=\n\n def integer_value=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Integer type value.\n\n\nNote: The following fields are mutually exclusive: `integer_value`, `string_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::Integer) --- Integer type value.\n\n Note: The following fields are mutually exclusive: `integer_value`, `string_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #string_value\n\n def string_value() -\u003e ::String\n\n**Returns**\n\n- (::String) --- String type value.\n\n Note: The following fields are mutually exclusive: `string_value`, `integer_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #string_value=\n\n def string_value=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- String type value.\n\n\nNote: The following fields are mutually exclusive: `string_value`, `integer_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::String) --- String type value.\n\n Note: The following fields are mutually exclusive: `string_value`, `integer_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]