Class Google::Cloud::Dlp::V2::CustomInfoType (v0.8.1)

Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#detection_rules

def detection_rules() -> ::Array<::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule>
Returns

#detection_rules=

def detection_rules=(value) -> ::Array<::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule>
Parameter
Returns

#dictionary

def dictionary() -> ::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary
Returns

#dictionary=

def dictionary=(value) -> ::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary
Parameter
Returns

#exclusion_type

def exclusion_type() -> ::Google::Cloud::Dlp::V2::CustomInfoType::ExclusionType
Returns

#exclusion_type=

def exclusion_type=(value) -> ::Google::Cloud::Dlp::V2::CustomInfoType::ExclusionType
Parameter
Returns

#info_type

def info_type() -> ::Google::Cloud::Dlp::V2::InfoType
Returns
  • (::Google::Cloud::Dlp::V2::InfoType) — CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in InspectContent.info_types field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in InspectContent.info_types list then the name is treated as a custom info type.

#info_type=

def info_type=(value) -> ::Google::Cloud::Dlp::V2::InfoType
Parameter
  • value (::Google::Cloud::Dlp::V2::InfoType) — CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in InspectContent.info_types field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in InspectContent.info_types list then the name is treated as a custom info type.
Returns
  • (::Google::Cloud::Dlp::V2::InfoType) — CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in InspectContent.info_types field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in InspectContent.info_types list then the name is treated as a custom info type.

#likelihood

def likelihood() -> ::Google::Cloud::Dlp::V2::Likelihood
Returns
  • (::Google::Cloud::Dlp::V2::Likelihood) — Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to VERY_LIKELY if not specified.

#likelihood=

def likelihood=(value) -> ::Google::Cloud::Dlp::V2::Likelihood
Parameter
  • value (::Google::Cloud::Dlp::V2::Likelihood) — Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to VERY_LIKELY if not specified.
Returns
  • (::Google::Cloud::Dlp::V2::Likelihood) — Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to VERY_LIKELY if not specified.

#regex

def regex() -> ::Google::Cloud::Dlp::V2::CustomInfoType::Regex
Returns

#regex=

def regex=(value) -> ::Google::Cloud::Dlp::V2::CustomInfoType::Regex
Parameter
Returns

#stored_type

def stored_type() -> ::Google::Cloud::Dlp::V2::StoredType
Returns

#stored_type=

def stored_type=(value) -> ::Google::Cloud::Dlp::V2::StoredType
Parameter
Returns

#surrogate_type

def surrogate_type() -> ::Google::Cloud::Dlp::V2::CustomInfoType::SurrogateType
Returns

#surrogate_type=

def surrogate_type=(value) -> ::Google::Cloud::Dlp::V2::CustomInfoType::SurrogateType
Parameter
Returns