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

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

defregex_file_set()->::Google::Cloud::Dlp::V2::CloudStorageRegexFileSet
Returns

#regex_file_set=

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

#url

defurl()->::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=

defurl=(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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.