Class: Google::Privacy::Dlp::V2::CloudStorageOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb

Overview

Options defining a file or a set of files (path ending with *) within a Google Cloud Storage bucket.

Defined Under Namespace

Classes: FileSet

Instance Attribute Summary collapse

Instance Attribute Details

#bytes_limit_per_fileInteger

Returns Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted.

Returns:

  • (Integer)

    Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted.



204
205
206
207
208
209
210
211
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 204

class CloudStorageOptions
  # Set of files to scan.
  # @!attribute [rw] url
  #   @return [String]
  #     The url, in the format +gs://<bucket>/<path>+. Trailing wildcard in the
  #     path is allowed.
  class FileSet; end
end

#file_setGoogle::Privacy::Dlp::V2::CloudStorageOptions::FileSet



204
205
206
207
208
209
210
211
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 204

class CloudStorageOptions
  # Set of files to scan.
  # @!attribute [rw] url
  #   @return [String]
  #     The url, in the format +gs://<bucket>/<path>+. Trailing wildcard in the
  #     path is allowed.
  class FileSet; end
end

#file_typesArray<Google::Privacy::Dlp::V2::FileType>

Returns List of file type groups to include in the scan. If empty, all files are scanned and available data format processors are applied.

Returns:

  • (Array<Google::Privacy::Dlp::V2::FileType>)

    List of file type groups to include in the scan. If empty, all files are scanned and available data format processors are applied.



204
205
206
207
208
209
210
211
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 204

class CloudStorageOptions
  # Set of files to scan.
  # @!attribute [rw] url
  #   @return [String]
  #     The url, in the format +gs://<bucket>/<path>+. Trailing wildcard in the
  #     path is allowed.
  class FileSet; end
end