Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimespanConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimespanConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.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 ⇒ Boolean
(also: #enable_auto_population_of_timespan_config?)
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 ⇒ String
Exclude files newer than this value.
-
#start_time ⇒ String
Exclude files older than this value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2TimespanConfig
constructor
A new instance of GooglePrivacyDlpV2beta2TimespanConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2TimespanConfig
Returns a new instance of GooglePrivacyDlpV2beta2TimespanConfig
5848 5849 5850 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5848 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_auto_population_of_timespan_config ⇒ Boolean Also known as: enable_auto_population_of_timespan_config?
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
5834 5835 5836 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5834 def enable_auto_population_of_timespan_config @enable_auto_population_of_timespan_config end |
#end_time ⇒ String
Exclude files newer than this value.
If set to zero, no upper time limit is applied.
Corresponds to the JSON property endTime
5841 5842 5843 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5841 def end_time @end_time end |
#start_time ⇒ String
Exclude files older than this value.
Corresponds to the JSON property startTime
5846 5847 5848 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5846 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5853 5854 5855 5856 5857 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5853 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) end |