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\u003eThis page provides documentation for the \u003ccode\u003eCloudStorageOptions.Types.FileSet\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFileSet\u003c/code\u003e class represents a set of files to be scanned and is part of the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace, available in various versions from 2.15.0 to 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFileSet\u003c/code\u003e instances can be constructed using a default constructor or by copying an existing \u003ccode\u003eFileSet\u003c/code\u003e, and they have the properties \u003ccode\u003eRegexFileSet\u003c/code\u003e and \u003ccode\u003eUrl\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRegexFileSet\u003c/code\u003e property allows for specifying a set of files using regular expressions, while \u003ccode\u003eUrl\u003c/code\u003e specifies a Cloud Storage URL path, either one of which is required to be set for a scan.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this document is found in the 4.16.0 version of the class, and previous versions of the documentation are also available dating back to version 2.15.0.\u003c/p\u003e\n"]]],[],null,[]]