Note: The following fields are mutually exclusive: directory, file. 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: directory, file. 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: directory, file. 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: file, directory. 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: file, directory. 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: file, directory. 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,["# Dataform V1beta1 API - Class Google::Cloud::Dataform::V1beta1::SearchResult (v0.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.0 (latest)](/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-SearchResult)\n- [0.12.0](/ruby/docs/reference/google-cloud-dataform-v1beta1/0.12.0/Google-Cloud-Dataform-V1beta1-SearchResult)\n- [0.11.1](/ruby/docs/reference/google-cloud-dataform-v1beta1/0.11.1/Google-Cloud-Dataform-V1beta1-SearchResult)\n- [0.10.0](/ruby/docs/reference/google-cloud-dataform-v1beta1/0.10.0/Google-Cloud-Dataform-V1beta1-SearchResult)\n- [0.9.0](/ruby/docs/reference/google-cloud-dataform-v1beta1/0.9.0/Google-Cloud-Dataform-V1beta1-SearchResult)\n- [0.8.0](/ruby/docs/reference/google-cloud-dataform-v1beta1/0.8.0/Google-Cloud-Dataform-V1beta1-SearchResult)\n- [0.7.1](/ruby/docs/reference/google-cloud-dataform-v1beta1/0.7.1/Google-Cloud-Dataform-V1beta1-SearchResult)\n- [0.6.2](/ruby/docs/reference/google-cloud-dataform-v1beta1/0.6.2/Google-Cloud-Dataform-V1beta1-SearchResult)\n- [0.5.0](/ruby/docs/reference/google-cloud-dataform-v1beta1/0.5.0/Google-Cloud-Dataform-V1beta1-SearchResult)\n- [0.4.0](/ruby/docs/reference/google-cloud-dataform-v1beta1/0.4.0/Google-Cloud-Dataform-V1beta1-SearchResult)\n- [0.3.0](/ruby/docs/reference/google-cloud-dataform-v1beta1/0.3.0/Google-Cloud-Dataform-V1beta1-SearchResult)\n- [0.2.0](/ruby/docs/reference/google-cloud-dataform-v1beta1/0.2.0/Google-Cloud-Dataform-V1beta1-SearchResult)\n- [0.1.0](/ruby/docs/reference/google-cloud-dataform-v1beta1/0.1.0/Google-Cloud-Dataform-V1beta1-SearchResult) \nReference documentation and code samples for the Dataform V1beta1 API class Google::Cloud::Dataform::V1beta1::SearchResult.\n\nClient-facing representation of a search result entry. \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### #directory\n\n def directory() -\u003e ::Google::Cloud::Dataform::V1beta1::DirectorySearchResult\n\n**Returns**\n\n- ([::Google::Cloud::Dataform::V1beta1::DirectorySearchResult](./Google-Cloud-Dataform-V1beta1-DirectorySearchResult)) --- Details when search result is a directory.\n\n\n Note: The following fields are mutually exclusive: `directory`, `file`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #directory=\n\n def directory=(value) -\u003e ::Google::Cloud::Dataform::V1beta1::DirectorySearchResult\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Dataform::V1beta1::DirectorySearchResult](./Google-Cloud-Dataform-V1beta1-DirectorySearchResult)) --- Details when search result is a directory.\n\n\nNote: The following fields are mutually exclusive: `directory`, `file`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::Dataform::V1beta1::DirectorySearchResult](./Google-Cloud-Dataform-V1beta1-DirectorySearchResult)) --- Details when search result is a directory.\n\n\n Note: The following fields are mutually exclusive: `directory`, `file`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #file\n\n def file() -\u003e ::Google::Cloud::Dataform::V1beta1::FileSearchResult\n\n**Returns**\n\n- ([::Google::Cloud::Dataform::V1beta1::FileSearchResult](./Google-Cloud-Dataform-V1beta1-FileSearchResult)) --- Details when search result is a file.\n\n\n Note: The following fields are mutually exclusive: `file`, `directory`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #file=\n\n def file=(value) -\u003e ::Google::Cloud::Dataform::V1beta1::FileSearchResult\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Dataform::V1beta1::FileSearchResult](./Google-Cloud-Dataform-V1beta1-FileSearchResult)) --- Details when search result is a file.\n\n\nNote: The following fields are mutually exclusive: `file`, `directory`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::Dataform::V1beta1::FileSearchResult](./Google-Cloud-Dataform-V1beta1-FileSearchResult)) --- Details when search result is a file.\n\n\n Note: The following fields are mutually exclusive: `file`, `directory`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]