[][src]Struct google_dlp2::GooglePrivacyDlpV2TimespanConfig

pub struct GooglePrivacyDlpV2TimespanConfig {
    pub timestamp_field: Option<GooglePrivacyDlpV2FieldId>,
    pub end_time: Option<String>,
    pub start_time: Option<String>,
    pub enable_auto_population_of_timespan_config: Option<bool>,
}

Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Google Cloud Storage and BigQuery.

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

Fields

timestamp_field: Option<GooglePrivacyDlpV2FieldId>

Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore or BigQuery. If not specified for BigQuery, table last modification timestamp is checked against given time span. The valid data types of the timestamp field are: for BigQuery - timestamp, date, datetime; for Datastore - timestamp. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.

end_time: Option<String>

Exclude files or rows newer than this value. If set to zero, no upper time limit is applied.

start_time: Option<String>

Exclude files or rows older than this value.

enable_auto_population_of_timespan_config: Option<bool>

When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger.

Trait Implementations

impl Part for GooglePrivacyDlpV2TimespanConfig[src]

impl Default for GooglePrivacyDlpV2TimespanConfig[src]

impl Clone for GooglePrivacyDlpV2TimespanConfig[src]

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

Performs copy-assignment from source. Read more

impl Debug for GooglePrivacyDlpV2TimespanConfig[src]

impl Serialize for GooglePrivacyDlpV2TimespanConfig[src]

impl<'de> Deserialize<'de> for GooglePrivacyDlpV2TimespanConfig[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]