Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryFileStoreConditions
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryFileStoreConditions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
Requirements that must be true before a file store is scanned in discovery for the first time. There is an AND relationship between the top-level attributes.
Instance Attribute Summary collapse
-
#cloud_storage_conditions ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudStorageConditions
Requirements that must be true before a Cloud Storage bucket or object is scanned in discovery for the first time.
-
#created_after ⇒ String
Optional.
-
#min_age ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DiscoveryFileStoreConditions
constructor
A new instance of GooglePrivacyDlpV2DiscoveryFileStoreConditions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DiscoveryFileStoreConditions
Returns a new instance of GooglePrivacyDlpV2DiscoveryFileStoreConditions.
3711 3712 3713 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3711 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_storage_conditions ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudStorageConditions
Requirements that must be true before a Cloud Storage bucket or object is
scanned in discovery for the first time. There is an AND relationship between
the top-level attributes.
Corresponds to the JSON property cloudStorageConditions
3697 3698 3699 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3697 def cloud_storage_conditions @cloud_storage_conditions end |
#created_after ⇒ String
Optional. File store must have been created after this date. Used to avoid
backfilling.
Corresponds to the JSON property createdAfter
3703 3704 3705 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3703 def created_after @created_after end |
#min_age ⇒ String
Optional. Minimum age a file store must have. If set, the value must be 1 hour
or greater.
Corresponds to the JSON property minAge
3709 3710 3711 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3709 def min_age @min_age end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3716 3717 3718 3719 3720 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3716 def update!(**args) @cloud_storage_conditions = args[:cloud_storage_conditions] if args.key?(:cloud_storage_conditions) @created_after = args[:created_after] if args.key?(:created_after) @min_age = args[:min_age] if args.key?(:min_age) end |