[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGcsFilesetSpec\u003c/code\u003e class in the Data Catalog v1 API is version 2.14.0, with previous versions ranging back to 1.2.0 being documented.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGcsFilesetSpec\u003c/code\u003e describes a Cloud Storage fileset entry and is implemented as an \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFilePatterns\u003c/code\u003e property is required and it specifies patterns to identify files in Google Cloud Storage using wildcards.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSampleGcsFileSpecs\u003c/code\u003e property returns a sample of the files in the fileset, but it is not guaranteed to represent every file in the fileset.\u003c/p\u003e\n"]]],[],null,["# Data Catalog v1 API - Class GcsFilesetSpec (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.15.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.14.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.13.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.12.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.11.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.10.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.9.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.8.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.7.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.6.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.5.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.4.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.3.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.2.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.1.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.0.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.8.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.7.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.6.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.5.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.4.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.3.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.2.0/Google.Cloud.DataCatalog.V1.GcsFilesetSpec) \n\n public sealed class GcsFilesetSpec : IMessage\u003cGcsFilesetSpec\u003e, IEquatable\u003cGcsFilesetSpec\u003e, IDeepCloneable\u003cGcsFilesetSpec\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Data Catalog v1 API class GcsFilesetSpec.\n\nDescribes a Cloud Storage fileset entry. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GcsFilesetSpec \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GcsFilesetSpec](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.GcsFilesetSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GcsFilesetSpec](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.GcsFilesetSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GcsFilesetSpec](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.GcsFilesetSpec), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DataCatalog.V1](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DataCatalog.V1.dll\n\nConstructors\n------------\n\n### GcsFilesetSpec()\n\n public GcsFilesetSpec()\n\n### GcsFilesetSpec(GcsFilesetSpec)\n\n public GcsFilesetSpec(GcsFilesetSpec other)\n\nProperties\n----------\n\n### FilePatterns\n\n public RepeatedField\u003cstring\u003e FilePatterns { get; }\n\nRequired. Patterns to identify a set of files in Google Cloud Storage.\n\nFor more information, see [Wildcard Names](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).\n\nNote: Currently, bucket wildcards are not supported.\n\nExamples of valid `file_patterns`:\n\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\nYou can combine wildcards to match complex sets of files, for example:\n\n`gs://bucket_name/[a-m]??.j*g`\n\n### SampleGcsFileSpecs\n\n public RepeatedField\u003cGcsFileSpec\u003e SampleGcsFileSpecs { get; }\n\nOutput only. Sample files contained in this fileset, not all files\ncontained in this fileset are represented here."]]