[[["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-08-28 UTC."],[],[],null,["# BigQuery Data QnA V1alpha API - Class Google::Cloud::DataQnA::V1alpha::AnnotatedString::SemanticMarkup (v0.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.10.0 (latest)](/ruby/docs/reference/google-cloud-dataqna-v1alpha/latest/Google-Cloud-DataQnA-V1alpha-AnnotatedString-SemanticMarkup)\n- [0.9.1](/ruby/docs/reference/google-cloud-dataqna-v1alpha/0.9.1/Google-Cloud-DataQnA-V1alpha-AnnotatedString-SemanticMarkup)\n- [0.8.0](/ruby/docs/reference/google-cloud-dataqna-v1alpha/0.8.0/Google-Cloud-DataQnA-V1alpha-AnnotatedString-SemanticMarkup)\n- [0.7.2](/ruby/docs/reference/google-cloud-dataqna-v1alpha/0.7.2/Google-Cloud-DataQnA-V1alpha-AnnotatedString-SemanticMarkup)\n- [0.6.2](/ruby/docs/reference/google-cloud-dataqna-v1alpha/0.6.2/Google-Cloud-DataQnA-V1alpha-AnnotatedString-SemanticMarkup)\n- [0.5.0](/ruby/docs/reference/google-cloud-dataqna-v1alpha/0.5.0/Google-Cloud-DataQnA-V1alpha-AnnotatedString-SemanticMarkup)\n- [0.4.0](/ruby/docs/reference/google-cloud-dataqna-v1alpha/0.4.0/Google-Cloud-DataQnA-V1alpha-AnnotatedString-SemanticMarkup)\n- [0.3.0](/ruby/docs/reference/google-cloud-dataqna-v1alpha/0.3.0/Google-Cloud-DataQnA-V1alpha-AnnotatedString-SemanticMarkup)\n- [0.2.6](/ruby/docs/reference/google-cloud-dataqna-v1alpha/0.2.6/Google-Cloud-DataQnA-V1alpha-AnnotatedString-SemanticMarkup) \nReference documentation and code samples for the BigQuery Data QnA V1alpha API class Google::Cloud::DataQnA::V1alpha::AnnotatedString::SemanticMarkup.\n\nSemantic markup denotes a substring (by index and length) with markup\ninformation. \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### #length\n\n def length() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The length (number of unicode characters) of the markup substring.\n\n### #length=\n\n def length=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The length (number of unicode characters) of the markup substring. \n**Returns**\n\n- (::Integer) --- The length (number of unicode characters) of the markup substring.\n\n### #start_char_index\n\n def start_char_index() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Unicode character index of the query.\n\n### #start_char_index=\n\n def start_char_index=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Unicode character index of the query. \n**Returns**\n\n- (::Integer) --- Unicode character index of the query.\n\n### #type\n\n def type() -\u003e ::Google::Cloud::DataQnA::V1alpha::AnnotatedString::SemanticMarkupType\n\n**Returns**\n\n- ([::Google::Cloud::DataQnA::V1alpha::AnnotatedString::SemanticMarkupType](./Google-Cloud-DataQnA-V1alpha-AnnotatedString-SemanticMarkupType)) --- The semantic type of the markup substring.\n\n### #type=\n\n def type=(value) -\u003e ::Google::Cloud::DataQnA::V1alpha::AnnotatedString::SemanticMarkupType\n\n**Parameter**\n\n- **value** ([::Google::Cloud::DataQnA::V1alpha::AnnotatedString::SemanticMarkupType](./Google-Cloud-DataQnA-V1alpha-AnnotatedString-SemanticMarkupType)) --- The semantic type of the markup substring. \n**Returns**\n\n- ([::Google::Cloud::DataQnA::V1alpha::AnnotatedString::SemanticMarkupType](./Google-Cloud-DataQnA-V1alpha-AnnotatedString-SemanticMarkupType)) --- The semantic type of the markup substring."]]