Struct gapi_grpc::google::privacy::dlp::v2::storage_config::TimespanConfig[][src]

pub struct TimespanConfig {
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub timestamp_field: Option<FieldId>,
    pub enable_auto_population_of_timespan_config: bool,
}

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

Fields

start_time: Option<Timestamp>

Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.

end_time: Option<Timestamp>

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

timestamp_field: Option<FieldId>

Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery.

For BigQuery: If this value is not specified and the table was modified between the given start and end times, the entire table will be scanned. If this value is specified, then rows are filtered based on the given start and end times. Rows with a NULL value in the provided BigQuery column are skipped. Valid data types of the provided BigQuery column are: INTEGER, DATE, TIMESTAMP, and DATETIME.

For Datastore: If this value is specified, then entities are filtered based on the given start and end times. If an entity does not contain the provided timestamp property or contains empty or invalid values, then it is included. Valid data types of the provided timestamp property are: TIMESTAMP.

enable_auto_population_of_timespan_config: 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 Clone for TimespanConfig[src]

impl Debug for TimespanConfig[src]

impl Default for TimespanConfig[src]

impl Message for TimespanConfig[src]

impl PartialEq<TimespanConfig> for TimespanConfig[src]

impl StructuralPartialEq for TimespanConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for TimespanConfig

impl Send for TimespanConfig

impl Sync for TimespanConfig

impl Unpin for TimespanConfig

impl UnwindSafe for TimespanConfig

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]