Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::ContentPolicy::PolicyRule::PolicyCondition::InfoTypeCondition (v1.19.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::ContentPolicy::PolicyRule::PolicyCondition::InfoTypeCondition.

A info type based condition.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#any_info_type

def any_info_type() -> ::Google::Protobuf::Empty
Returns
  • (::Google::Protobuf::Empty) — match any info types.

    Note: The following fields are mutually exclusive: any_info_type, info_types. If a field in that set is populated, all other fields in the set will automatically be cleared.

#any_info_type=

def any_info_type=(value) -> ::Google::Protobuf::Empty
Parameter
  • value (::Google::Protobuf::Empty) — match any info types.

    Note: The following fields are mutually exclusive: any_info_type, info_types. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Protobuf::Empty) — match any info types.

    Note: The following fields are mutually exclusive: any_info_type, info_types. If a field in that set is populated, all other fields in the set will automatically be cleared.

#info_types

def info_types() -> ::Google::Cloud::Dlp::V2::ContentPolicy::PolicyRule::PolicyCondition::InfoTypeCondition::InfoTypes
Returns

#info_types=

def info_types=(value) -> ::Google::Cloud::Dlp::V2::ContentPolicy::PolicyRule::PolicyCondition::InfoTypeCondition::InfoTypes
Parameter
Returns

#min_count

def min_count() -> ::Integer
Returns
  • (::Integer) — Optional. The minimum total number of findings of all matching info types required for this condition to evaluate to true. Defaults to 1 if unset.

#min_count=

def min_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The minimum total number of findings of all matching info types required for this condition to evaluate to true. Defaults to 1 if unset.
Returns
  • (::Integer) — Optional. The minimum total number of findings of all matching info types required for this condition to evaluate to true. Defaults to 1 if unset.