[[["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::OperatorDefinition::AttributeDefinition (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-OperatorDefinition-AttributeDefinition)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-OperatorDefinition-AttributeDefinition)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-OperatorDefinition-AttributeDefinition)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-OperatorDefinition-AttributeDefinition)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-OperatorDefinition-AttributeDefinition)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-OperatorDefinition-AttributeDefinition)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-OperatorDefinition-AttributeDefinition) \nReference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::OperatorDefinition::AttributeDefinition.\n\nDefines an attribute of an operator. \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### #attribute\n\n def attribute() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The name of the attribute.\n\n Tentatively [a-z](/ruby/docs/reference/google-cloud-vision_ai-v1/latest/%5B_a-z0-9%5D*%5Ba-z0-9%5D)?, e.g., max_frames_per_video,\n resize_height.\n\n### #attribute=\n\n def attribute=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The name of the attribute.\n\n\n Tentatively [a-z](/ruby/docs/reference/google-cloud-vision_ai-v1/latest/%5B_a-z0-9%5D*%5Ba-z0-9%5D)?, e.g., max_frames_per_video,\nresize_height. \n**Returns**\n\n- (::String) --- The name of the attribute.\n\n Tentatively [a-z](/ruby/docs/reference/google-cloud-vision_ai-v1/latest/%5B_a-z0-9%5D*%5Ba-z0-9%5D)?, e.g., max_frames_per_video,\n resize_height.\n\n### #default_value\n\n def default_value() -\u003e ::Google::Cloud::VisionAI::V1::AttributeValue\n\n**Returns**\n\n- ([::Google::Cloud::VisionAI::V1::AttributeValue](./Google-Cloud-VisionAI-V1-AttributeValue)) --- The default value for the attribute.\n\n### #default_value=\n\n def default_value=(value) -\u003e ::Google::Cloud::VisionAI::V1::AttributeValue\n\n**Parameter**\n\n- **value** ([::Google::Cloud::VisionAI::V1::AttributeValue](./Google-Cloud-VisionAI-V1-AttributeValue)) --- The default value for the attribute. \n**Returns**\n\n- ([::Google::Cloud::VisionAI::V1::AttributeValue](./Google-Cloud-VisionAI-V1-AttributeValue)) --- The default value for the attribute.\n\n### #type\n\n def type() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The type of this attribute.\n\n See attribute_value.proto for possibilities.\n\n### #type=\n\n def type=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The type of this attribute.\n\n\nSee attribute_value.proto for possibilities. \n**Returns**\n\n- (::String) --- The type of this attribute.\n\n See attribute_value.proto for possibilities."]]