public sealed class CloudStorageOptions.Types.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\u003eThis webpage provides reference documentation for the \u003ccode\u003eCloudStorageOptions.Types.FileSet\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFileSet\u003c/code\u003e class is used to define a set of files in Cloud Storage that should be scanned, which is used by data loss prevention systems.\u003c/p\u003e\n"],["\u003cp\u003eThere is an extensive list of versions of the \u003ccode\u003eFileSet\u003c/code\u003e class available, ranging from version 2.15.0 up to the latest 4.16.0, showing the history of the API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFileSet\u003c/code\u003e class can be constructed through one of two constructors: a parameterless constructor \u003ccode\u003eFileSet()\u003c/code\u003e or a copy constructor \u003ccode\u003eFileSet(FileSet)\u003c/code\u003e which is used to duplicate an existing FileSet object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFileSet\u003c/code\u003e class contains the properties \u003ccode\u003eRegexFileSet\u003c/code\u003e which uses a regular expression to define the files to scan and the \u003ccode\u003eUrl\u003c/code\u003e property which defines the Cloud Storage location of the file(s) to scan, with only one of these properties being used at a time.\u003c/p\u003e\n"]]],[],null,[]]