Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::InspectionRuleSet.
Rule set for modifying a set of infoTypes to alter behavior under certain circumstances, depending on the specific details of the rules within the set.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#info_types
def info_types() -> ::Array<::Google::Cloud::Dlp::V2::InfoType>
Returns
- (::Array<::Google::Cloud::Dlp::V2::InfoType>) — List of infoTypes this rule set is applied to.
#info_types=
def info_types=(value) -> ::Array<::Google::Cloud::Dlp::V2::InfoType>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::InfoType>) — List of infoTypes this rule set is applied to.
Returns
- (::Array<::Google::Cloud::Dlp::V2::InfoType>) — List of infoTypes this rule set is applied to.
#rules
def rules() -> ::Array<::Google::Cloud::Dlp::V2::InspectionRule>
Returns
- (::Array<::Google::Cloud::Dlp::V2::InspectionRule>) — Set of rules to be applied to infoTypes. The rules are applied in order.
#rules=
def rules=(value) -> ::Array<::Google::Cloud::Dlp::V2::InspectionRule>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::InspectionRule>) — Set of rules to be applied to infoTypes. The rules are applied in order.
Returns
- (::Array<::Google::Cloud::Dlp::V2::InspectionRule>) — Set of rules to be applied to infoTypes. The rules are applied in order.