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.
3902 3903 3904 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3902 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
3888 3889 3890 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3888 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
3894 3895 3896 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3894 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
3900 3901 3902 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3900 def min_age @min_age end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3907 3908 3909 3910 3911 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3907 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 |