Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget.
Target used to match against for discovery with Cloud Storage buckets.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#conditions
def conditions() -> ::Google::Cloud::Dlp::V2::DiscoveryFileStoreConditions
Returns
- (::Google::Cloud::Dlp::V2::DiscoveryFileStoreConditions) — Optional. In addition to matching the filter, these conditions must be true before a profile is generated.
#conditions=
def conditions=(value) -> ::Google::Cloud::Dlp::V2::DiscoveryFileStoreConditions
Parameter
- value (::Google::Cloud::Dlp::V2::DiscoveryFileStoreConditions) — Optional. In addition to matching the filter, these conditions must be true before a profile is generated.
Returns
- (::Google::Cloud::Dlp::V2::DiscoveryFileStoreConditions) — Optional. In addition to matching the filter, these conditions must be true before a profile is generated.
#disabled
def disabled() -> ::Google::Cloud::Dlp::V2::Disabled
Returns
- (::Google::Cloud::Dlp::V2::Disabled) — Optional. Disable profiling for buckets that match this filter.
#disabled=
def disabled=(value) -> ::Google::Cloud::Dlp::V2::Disabled
Parameter
- value (::Google::Cloud::Dlp::V2::Disabled) — Optional. Disable profiling for buckets that match this filter.
Returns
- (::Google::Cloud::Dlp::V2::Disabled) — Optional. Disable profiling for buckets that match this filter.
#filter
def filter() -> ::Google::Cloud::Dlp::V2::DiscoveryCloudStorageFilter
Returns
- (::Google::Cloud::Dlp::V2::DiscoveryCloudStorageFilter) — Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket.
#filter=
def filter=(value) -> ::Google::Cloud::Dlp::V2::DiscoveryCloudStorageFilter
Parameter
- value (::Google::Cloud::Dlp::V2::DiscoveryCloudStorageFilter) — Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket.
Returns
- (::Google::Cloud::Dlp::V2::DiscoveryCloudStorageFilter) — Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket.
#generation_cadence
def generation_cadence() -> ::Google::Cloud::Dlp::V2::DiscoveryCloudStorageGenerationCadence
Returns
- (::Google::Cloud::Dlp::V2::DiscoveryCloudStorageGenerationCadence) — Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
#generation_cadence=
def generation_cadence=(value) -> ::Google::Cloud::Dlp::V2::DiscoveryCloudStorageGenerationCadence
Parameter
- value (::Google::Cloud::Dlp::V2::DiscoveryCloudStorageGenerationCadence) — Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
Returns
- (::Google::Cloud::Dlp::V2::DiscoveryCloudStorageGenerationCadence) — Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.