PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs

data class PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs(val bytesLimitPerFile: Output<Int>? = null, val bytesLimitPerFilePercent: Output<Int>? = null, val fileSet: Output<PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs>, val fileTypes: Output<List<String>>? = null, val filesLimitPercent: Output<Int>? = null, val sampleMethod: Output<String>? = null) : ConvertibleToJava<PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs>

Constructors

constructor(bytesLimitPerFile: Output<Int>? = null, bytesLimitPerFilePercent: Output<Int>? = null, fileSet: Output<PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs>, fileTypes: Output<List<String>>? = null, filesLimitPercent: Output<Int>? = null, sampleMethod: Output<String>? = null)

Properties

Link copied to clipboard
val bytesLimitPerFile: Output<Int>? = null

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.

Link copied to clipboard
val bytesLimitPerFilePercent: Output<Int>? = null

Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.

Link copied to clipboard

Set of files to scan. Structure is documented below.

Link copied to clipboard
val filesLimitPercent: Output<Int>? = null

Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.

Link copied to clipboard
val fileTypes: Output<List<String>>? = null

List of file type groups to include in the scan. If empty, all files are scanned and available data format processors are applied. In addition, the binary content of the selected files is always scanned as well. Images are scanned only as binary if the specified region does not support image inspection and no fileTypes were specified. Each value may be one of: BINARY_FILE, TEXT_FILE, IMAGE, WORD, PDF, AVRO, CSV, TSV, POWERPOINT, EXCEL.

Link copied to clipboard
val sampleMethod: Output<String>? = null

How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile. If not specified, scanning would start from the top. Possible values are: TOP, RANDOM_START.

Functions

Link copied to clipboard
open override fun toJava(): PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs