Class: Google::Privacy::Dlp::V2::StorageConfig::TimespanConfig
- Inherits:
-
Object
- Object
- Google::Privacy::Dlp::V2::StorageConfig::TimespanConfig
- Defined in:
- lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb
Overview
Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Google Cloud Storage and BigQuery.
Instance Attribute Summary collapse
-
#enable_auto_population_of_timespan_config ⇒ true, false
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.
-
#end_time ⇒ Google::Protobuf::Timestamp
Exclude files or rows newer than this value.
-
#start_time ⇒ Google::Protobuf::Timestamp
Exclude files or rows older than this value.
-
#timestamp_field ⇒ Google::Privacy::Dlp::V2::FieldId
Specification of the field containing the timestamp of scanned items.
Instance Attribute Details
#enable_auto_population_of_timespan_config ⇒ true, false
Returns 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.
360 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 360 class TimespanConfig; end |
#end_time ⇒ Google::Protobuf::Timestamp
Returns Exclude files or rows newer than this value. If set to zero, no upper time limit is applied.
360 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 360 class TimespanConfig; end |
#start_time ⇒ Google::Protobuf::Timestamp
Returns Exclude files or rows older than this value.
360 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 360 class TimespanConfig; end |
#timestamp_field ⇒ Google::Privacy::Dlp::V2::FieldId
Returns 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.
360 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 360 class TimespanConfig; end |