Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AttributeValue.
Represents an actual value of an operator attribute.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#b
defb()->::Boolean
Returns
(::Boolean) — bool.
Note: The following fields are mutually exclusive: b, i, f, s. If a field in that set is populated, all other fields in the set will automatically be cleared.
#b=
defb=(value)->::Boolean
Parameter
value (::Boolean) — bool.
Note: The following fields are mutually exclusive: b, i, f, s. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::Boolean) — bool.
Note: The following fields are mutually exclusive: b, i, f, s. If a field in that set is populated, all other fields in the set will automatically be cleared.
#f
deff()->::Float
Returns
(::Float) — float.
Note: The following fields are mutually exclusive: f, i, b, s. If a field in that set is populated, all other fields in the set will automatically be cleared.
#f=
deff=(value)->::Float
Parameter
value (::Float) — float.
Note: The following fields are mutually exclusive: f, i, b, s. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::Float) — float.
Note: The following fields are mutually exclusive: f, i, b, s. If a field in that set is populated, all other fields in the set will automatically be cleared.
#i
defi()->::Integer
Returns
(::Integer) — int.
Note: The following fields are mutually exclusive: i, f, b, s. If a field in that set is populated, all other fields in the set will automatically be cleared.
#i=
defi=(value)->::Integer
Parameter
value (::Integer) — int.
Note: The following fields are mutually exclusive: i, f, b, s. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::Integer) — int.
Note: The following fields are mutually exclusive: i, f, b, s. If a field in that set is populated, all other fields in the set will automatically be cleared.
#s
defs()->::String
Returns
(::String) — string.
Note: The following fields are mutually exclusive: s, i, f, b. If a field in that set is populated, all other fields in the set will automatically be cleared.
#s=
defs=(value)->::String
Parameter
value (::String) — string.
Note: The following fields are mutually exclusive: s, i, f, b. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::String) — string.
Note: The following fields are mutually exclusive: s, i, f, b. 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::AttributeValue (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-AttributeValue)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-AttributeValue)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-AttributeValue)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-AttributeValue)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-AttributeValue)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-AttributeValue)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-AttributeValue) \nReference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AttributeValue.\n\nRepresents an actual value of an operator attribute. \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### #b\n\n def b() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- bool.\n\n Note: The following fields are mutually exclusive: `b`, `i`, `f`, `s`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #b=\n\n def b=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- bool.\n\n\nNote: The following fields are mutually exclusive: `b`, `i`, `f`, `s`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::Boolean) --- bool.\n\n Note: The following fields are mutually exclusive: `b`, `i`, `f`, `s`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #f\n\n def f() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- float.\n\n Note: The following fields are mutually exclusive: `f`, `i`, `b`, `s`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #f=\n\n def f=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- float.\n\n\nNote: The following fields are mutually exclusive: `f`, `i`, `b`, `s`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::Float) --- float.\n\n Note: The following fields are mutually exclusive: `f`, `i`, `b`, `s`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #i\n\n def i() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- int.\n\n Note: The following fields are mutually exclusive: `i`, `f`, `b`, `s`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #i=\n\n def i=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- int.\n\n\nNote: The following fields are mutually exclusive: `i`, `f`, `b`, `s`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::Integer) --- int.\n\n Note: The following fields are mutually exclusive: `i`, `f`, `b`, `s`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #s\n\n def s() -\u003e ::String\n\n**Returns**\n\n- (::String) --- string.\n\n Note: The following fields are mutually exclusive: `s`, `i`, `f`, `b`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #s=\n\n def s=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- string.\n\n\nNote: The following fields are mutually exclusive: `s`, `i`, `f`, `b`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::String) --- string.\n\n Note: The following fields are mutually exclusive: `s`, `i`, `f`, `b`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]