Class: Google::Privacy::Dlp::V2::StorageConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb

Overview

Shared message indicating Cloud storage type.

Defined Under Namespace

Classes: TimespanConfig

Instance Attribute Summary collapse

Instance Attribute Details

#big_query_optionsGoogle::Privacy::Dlp::V2::BigQueryOptions

Returns BigQuery options specification.

Returns:



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 291

class StorageConfig
  # Configuration of the timespan of the items to include in scanning.
  # Currently only supported when inspecting Google Cloud Storage and BigQuery.
  # @!attribute [rw] start_time
  #   @return [Google::Protobuf::Timestamp]
  #     Exclude files older than this value.
  # @!attribute [rw] end_time
  #   @return [Google::Protobuf::Timestamp]
  #     Exclude files newer than this value.
  #     If set to zero, no upper time limit is applied.
  # @!attribute [rw] timestamp_field
  #   @return [Google::Privacy::Dlp::V2::FieldId]
  #     Specification of the field containing the timestamp of scanned items.
  #     Required for data sources like Datastore or BigQuery.
  #     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.
  # @!attribute [rw] enable_auto_population_of_timespan_config
  #   @return [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. This will be based on the
  #     time of the execution of the last run of the JobTrigger.
  class TimespanConfig; end
end

#cloud_storage_optionsGoogle::Privacy::Dlp::V2::CloudStorageOptions

Returns Google Cloud Storage options specification.

Returns:



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 291

class StorageConfig
  # Configuration of the timespan of the items to include in scanning.
  # Currently only supported when inspecting Google Cloud Storage and BigQuery.
  # @!attribute [rw] start_time
  #   @return [Google::Protobuf::Timestamp]
  #     Exclude files older than this value.
  # @!attribute [rw] end_time
  #   @return [Google::Protobuf::Timestamp]
  #     Exclude files newer than this value.
  #     If set to zero, no upper time limit is applied.
  # @!attribute [rw] timestamp_field
  #   @return [Google::Privacy::Dlp::V2::FieldId]
  #     Specification of the field containing the timestamp of scanned items.
  #     Required for data sources like Datastore or BigQuery.
  #     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.
  # @!attribute [rw] enable_auto_population_of_timespan_config
  #   @return [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. This will be based on the
  #     time of the execution of the last run of the JobTrigger.
  class TimespanConfig; end
end

#datastore_optionsGoogle::Privacy::Dlp::V2::DatastoreOptions

Returns Google Cloud Datastore options specification.

Returns:



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 291

class StorageConfig
  # Configuration of the timespan of the items to include in scanning.
  # Currently only supported when inspecting Google Cloud Storage and BigQuery.
  # @!attribute [rw] start_time
  #   @return [Google::Protobuf::Timestamp]
  #     Exclude files older than this value.
  # @!attribute [rw] end_time
  #   @return [Google::Protobuf::Timestamp]
  #     Exclude files newer than this value.
  #     If set to zero, no upper time limit is applied.
  # @!attribute [rw] timestamp_field
  #   @return [Google::Privacy::Dlp::V2::FieldId]
  #     Specification of the field containing the timestamp of scanned items.
  #     Required for data sources like Datastore or BigQuery.
  #     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.
  # @!attribute [rw] enable_auto_population_of_timespan_config
  #   @return [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. This will be based on the
  #     time of the execution of the last run of the JobTrigger.
  class TimespanConfig; end
end

#timespan_configGoogle::Privacy::Dlp::V2::StorageConfig::TimespanConfig



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 291

class StorageConfig
  # Configuration of the timespan of the items to include in scanning.
  # Currently only supported when inspecting Google Cloud Storage and BigQuery.
  # @!attribute [rw] start_time
  #   @return [Google::Protobuf::Timestamp]
  #     Exclude files older than this value.
  # @!attribute [rw] end_time
  #   @return [Google::Protobuf::Timestamp]
  #     Exclude files newer than this value.
  #     If set to zero, no upper time limit is applied.
  # @!attribute [rw] timestamp_field
  #   @return [Google::Privacy::Dlp::V2::FieldId]
  #     Specification of the field containing the timestamp of scanned items.
  #     Required for data sources like Datastore or BigQuery.
  #     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.
  # @!attribute [rw] enable_auto_population_of_timespan_config
  #   @return [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. This will be based on the
  #     time of the execution of the last run of the JobTrigger.
  class TimespanConfig; end
end