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/sensitive-data-protection/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/sensitive-data-protection/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/sensitive-data-protection/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
- (::Google::Cloud::Dlp::V2::SensitivityScore) — Optional custom sensitivity for this InfoType. This only applies to data profiling.
#sensitivity_score=
def sensitivity_score=(value) -> ::Google::Cloud::Dlp::V2::SensitivityScore
Parameter
- value (::Google::Cloud::Dlp::V2::SensitivityScore) — Optional custom sensitivity for this InfoType. This only applies to data profiling.
Returns
- (::Google::Cloud::Dlp::V2::SensitivityScore) — Optional custom sensitivity for this InfoType. This only applies to data profiling.
#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.