Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::CloudStorageOptions::FileSet (v0.17.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::CloudStorageOptions::FileSet.

Set of files to scan.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#regex_file_set

def regex_file_set() -> ::Google::Cloud::Dlp::V2::CloudStorageRegexFileSet
Returns

#regex_file_set=

def regex_file_set=(value) -> ::Google::Cloud::Dlp::V2::CloudStorageRegexFileSet
Parameter
Returns

#url

def url() -> ::String
Returns
  • (::String) — 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.

#url=

def url=(value) -> ::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.