public sealed class FileSet : IMessage<CloudStorageOptions.Types.FileSet>, IEquatable<CloudStorageOptions.Types.FileSet>, IDeepCloneable<CloudStorageOptions.Types.FileSet>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CloudStorageOptions.Types.FileSet.
The Cloud Storage url of the file(s) to scan, in the format
gs://<bucket>/<path>. Trailing wildcard in the path is allowed.
If the url ends in a trailing slash, the bucket or directory represented
by the url will be scanned non-recursively (content in sub-directories
will not be scanned). This means that gs://mybucket/ is equivalent to
gs://mybucket/*, and gs://mybucket/directory/ is equivalent to
gs://mybucket/directory/*.
[[["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 provided content details the \u003ccode\u003eFileSet\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, which is used to define a set of files for scanning.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eCloudStorageOptions.Types.FileSet\u003c/code\u003e, is part of the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace and implemented in the \u003ccode\u003eGoogle.Cloud.Dlp.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFileSet\u003c/code\u003e class supports scanning files specified by either a direct Cloud Storage URL or a regex-filtered file set, and offers multiple version references ranging from 2.15.0 to 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a default \u003ccode\u003eFileSet()\u003c/code\u003e and one that takes another \u003ccode\u003eFileSet\u003c/code\u003e as a parameter \u003ccode\u003eFileSet(CloudStorageOptions.Types.FileSet other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties such as \u003ccode\u003eRegexFileSet\u003c/code\u003e, of the type \u003ccode\u003eCloudStorageRegexFileSet\u003c/code\u003e, and \u003ccode\u003eUrl\u003c/code\u003e, a string representing the file path, which dictates how the class defines the files that it will scan.\u003c/p\u003e\n"]]],[],null,[]]