class Google::Apis::DlpV2::GooglePrivacyDlpV2TimespanConfig
Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Google
Cloud Storage and BigQuery.
Attributes
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. Corresponds to the JSON property `enableAutoPopulationOfTimespanConfig` @return [Boolean]
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. Corresponds to the JSON property `enableAutoPopulationOfTimespanConfig` @return [Boolean]
Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied. Corresponds to the JSON property `endTime` @return [String]
Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied. Corresponds to the JSON property `startTime` @return [String]
General identifier of a data field in a storage service. Corresponds to the JSON property `timestampField` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
Public Class Methods
# File lib/google/apis/dlp_v2/classes.rb, line 6034 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dlp_v2/classes.rb, line 6039 def update!(**args) @enable_auto_population_of_timespan_config = args[:enable_auto_population_of_timespan_config] if args.key?(:enable_auto_population_of_timespan_config) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) @timestamp_field = args[:timestamp_field] if args.key?(:timestamp_field) end