[][src]Struct google_dlp2::GooglePrivacyDlpV2CloudStorageOptions

pub struct GooglePrivacyDlpV2CloudStorageOptions {
    pub bytes_limit_per_file: Option<String>,
    pub bytes_limit_per_file_percent: Option<i32>,
    pub files_limit_percent: Option<i32>,
    pub sample_method: Option<String>,
    pub file_types: Option<Vec<String>>,
    pub file_set: Option<GooglePrivacyDlpV2FileSet>,
}

Options defining a file or a set of files within a Google Cloud Storage bucket.

This type is not used in any activity, and only used as part of another schema.

Fields

bytes_limit_per_file: Option<String>

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. Only one of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.

bytes_limit_per_file_percent: Option<i32>

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. Defaults to 0. Only one of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.

files_limit_percent: Option<i32>

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. Defaults to 0.

sample_method: Option<String>

no description provided

file_types: Option<Vec<String>>

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.

file_set: Option<GooglePrivacyDlpV2FileSet>

The set of one or more files to scan.

Trait Implementations

impl Part for GooglePrivacyDlpV2CloudStorageOptions[src]

impl Default for GooglePrivacyDlpV2CloudStorageOptions[src]

impl Clone for GooglePrivacyDlpV2CloudStorageOptions[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GooglePrivacyDlpV2CloudStorageOptions[src]

impl Serialize for GooglePrivacyDlpV2CloudStorageOptions[src]

impl<'de> Deserialize<'de> for GooglePrivacyDlpV2CloudStorageOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]