Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::InfoType (v0.21.0)

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

Type of information detected by the API.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$_-]{1,64}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$_-]{1,64}.
Returns
  • (::String) — Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$_-]{1,64}.

#sensitivity_score

def sensitivity_score() -> ::Google::Cloud::Dlp::V2::SensitivityScore
Returns

#sensitivity_score=

def sensitivity_score=(value) -> ::Google::Cloud::Dlp::V2::SensitivityScore
Parameter
Returns

#version

def version() -> ::String
Returns
  • (::String) — Optional version name for this InfoType.

#version=

def version=(value) -> ::String
Parameter
  • value (::String) — Optional version name for this InfoType.
Returns
  • (::String) — Optional version name for this InfoType.