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 document 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 for sensitive data.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers various versions of the \u003ccode\u003eCloudStorageOptions.Types.FileSet\u003c/code\u003e class, ranging from version 2.15.0 up to the latest 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be constructed with no parameters, or using an existing \u003ccode\u003eCloudStorageOptions.Types.FileSet\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe files to be scanned can be specified either by a direct URL or a regular expression (\u003ccode\u003eRegexFileSet\u003c/code\u003e) to match multiple files, however only one of the two can be specified at any given time.\u003c/p\u003e\n"]]],[],null,[]]