Google Cloud Data Loss Prevention v2 API - Class CloudStorageOptions.Types.FileSet (2.16.0)

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.

Set of files to scan.

Inheritance

object > CloudStorageOptions.Types.FileSet

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

FileSet()

public FileSet()

FileSet(FileSet)

public FileSet(CloudStorageOptions.Types.FileSet other)
Parameter
Name Description
other CloudStorageOptionsTypesFileSet

Properties

RegexFileSet

public CloudStorageRegexFileSet RegexFileSet { get; set; }

The regex-filtered set of files to scan. Exactly one of url or regex_file_set must be set.

Property Value
Type Description
CloudStorageRegexFileSet

Url

public string Url { get; set; }

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/*.

Exactly one of url or regex_file_set must be set.

Property Value
Type Description
string