[[["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,["# Data Catalog V1 API - Class Google::Cloud::DataCatalog::V1::GcsFilesetSpec (v2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/ruby/docs/reference/google-cloud-data_catalog-v1/latest/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [2.3.0](/ruby/docs/reference/google-cloud-data_catalog-v1/2.3.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [2.2.2](/ruby/docs/reference/google-cloud-data_catalog-v1/2.2.2/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [2.1.1](/ruby/docs/reference/google-cloud-data_catalog-v1/2.1.1/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [2.0.0](/ruby/docs/reference/google-cloud-data_catalog-v1/2.0.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [1.4.0](/ruby/docs/reference/google-cloud-data_catalog-v1/1.4.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [1.3.1](/ruby/docs/reference/google-cloud-data_catalog-v1/1.3.1/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [1.2.0](/ruby/docs/reference/google-cloud-data_catalog-v1/1.2.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [1.1.0](/ruby/docs/reference/google-cloud-data_catalog-v1/1.1.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [1.0.1](/ruby/docs/reference/google-cloud-data_catalog-v1/1.0.1/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.23.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.23.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.22.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.22.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.21.2](/ruby/docs/reference/google-cloud-data_catalog-v1/0.21.2/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.20.1](/ruby/docs/reference/google-cloud-data_catalog-v1/0.20.1/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.19.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.19.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.18.1](/ruby/docs/reference/google-cloud-data_catalog-v1/0.18.1/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.17.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.17.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.16.1](/ruby/docs/reference/google-cloud-data_catalog-v1/0.16.1/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.15.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.15.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.14.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.14.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.13.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.13.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.12.1](/ruby/docs/reference/google-cloud-data_catalog-v1/0.12.1/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.11.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.11.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.10.0](/ruby/docs/reference/google-cloud-data_catalog-v1/0.10.0/Google-Cloud-DataCatalog-V1-GcsFilesetSpec)\n- [0.9.1](/ruby/docs/reference/google-cloud-data_catalog-v1/0.9.1/Google-Cloud-DataCatalog-V1-GcsFilesetSpec) \nReference documentation and code samples for the Data Catalog V1 API class Google::Cloud::DataCatalog::V1::GcsFilesetSpec.\n\nDescribes a Cloud Storage fileset 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### #file_patterns\n\n def file_patterns() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Required. Patterns to identify a set of files in Google Cloud Storage.\n\n For more information, see [Wildcard Names](https://cloud.google.com/storage/docs/wildcards).\n\n Note: Currently, bucket wildcards are not supported.\n\n Examples of valid `file_patterns`:\n - `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir` directory\n - `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` and all subdirectories\n - `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name`\n - `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name`\n - `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name`\n - `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name`\n - `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b`\n - `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`\n\n You can combine wildcards to match complex sets of files, for example:\n\n `gs://bucket_name/[a-m]??.j*g`\n\n### #file_patterns=\n\n def file_patterns=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- Required. Patterns to identify a set of files in Google Cloud Storage.\n\n\n For more information, see [Wildcard Names](https://cloud.google.com/storage/docs/wildcards).\n\n Note: Currently, bucket wildcards are not supported.\n\n Examples of valid `file_patterns`:\n - `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir` directory\n - `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` and all subdirectories\n - `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name`\n - `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name`\n - `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name`\n - `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name`\n - `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b`\n - `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`\n\n You can combine wildcards to match complex sets of files, for example:\n\n`gs://bucket_name/[a-m]??.j*g` \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Required. Patterns to identify a set of files in Google Cloud Storage.\n\n For more information, see [Wildcard Names](https://cloud.google.com/storage/docs/wildcards).\n\n Note: Currently, bucket wildcards are not supported.\n\n Examples of valid `file_patterns`:\n - `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir` directory\n - `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` and all subdirectories\n - `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name`\n - `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name`\n - `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name`\n - `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name`\n - `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b`\n - `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`\n\n You can combine wildcards to match complex sets of files, for example:\n\n `gs://bucket_name/[a-m]??.j*g`\n\n### #sample_gcs_file_specs\n\n def sample_gcs_file_specs() -\u003e ::Array\u003c::Google::Cloud::DataCatalog::V1::GcsFileSpec\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::DataCatalog::V1::GcsFileSpec](./Google-Cloud-DataCatalog-V1-GcsFileSpec)\\\u003e) --- Output only. Sample files contained in this fileset, not all files contained in this fileset are represented here."]]