Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::InfoTypeDescription.
InfoType description.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#categories
def categories() -> ::Array<::Google::Cloud::Dlp::V2::InfoTypeCategory>
Returns
- (::Array<::Google::Cloud::Dlp::V2::InfoTypeCategory>) — The category of the infoType.
#categories=
def categories=(value) -> ::Array<::Google::Cloud::Dlp::V2::InfoTypeCategory>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::InfoTypeCategory>) — The category of the infoType.
Returns
- (::Array<::Google::Cloud::Dlp::V2::InfoTypeCategory>) — The category of the infoType.
#description
def description() -> ::String
Returns
- (::String) — Description of the infotype. Translated when language is provided in the request.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Description of the infotype. Translated when language is provided in the request.
Returns
- (::String) — Description of the infotype. Translated when language is provided in the request.
#display_name
def display_name() -> ::String
Returns
- (::String) — Human readable form of the infoType name.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Human readable form of the infoType name.
Returns
- (::String) — Human readable form of the infoType name.
#name
def name() -> ::String
Returns
- (::String) — Internal name of the infoType.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Internal name of the infoType.
Returns
- (::String) — Internal name of the infoType.
#sensitivity_score
def sensitivity_score() -> ::Google::Cloud::Dlp::V2::SensitivityScore
Returns
- (::Google::Cloud::Dlp::V2::SensitivityScore) — The default sensitivity of the infoType.
#sensitivity_score=
def sensitivity_score=(value) -> ::Google::Cloud::Dlp::V2::SensitivityScore
Parameter
- value (::Google::Cloud::Dlp::V2::SensitivityScore) — The default sensitivity of the infoType.
Returns
- (::Google::Cloud::Dlp::V2::SensitivityScore) — The default sensitivity of the infoType.
#supported_by
def supported_by() -> ::Array<::Google::Cloud::Dlp::V2::InfoTypeSupportedBy>
Returns
- (::Array<::Google::Cloud::Dlp::V2::InfoTypeSupportedBy>) — Which parts of the API supports this InfoType.
#supported_by=
def supported_by=(value) -> ::Array<::Google::Cloud::Dlp::V2::InfoTypeSupportedBy>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::InfoTypeSupportedBy>) — Which parts of the API supports this InfoType.
Returns
- (::Array<::Google::Cloud::Dlp::V2::InfoTypeSupportedBy>) — Which parts of the API supports this InfoType.
#versions
def versions() -> ::Array<::Google::Cloud::Dlp::V2::VersionDescription>
Returns
- (::Array<::Google::Cloud::Dlp::V2::VersionDescription>) — A list of available versions for the infotype.
#versions=
def versions=(value) -> ::Array<::Google::Cloud::Dlp::V2::VersionDescription>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::VersionDescription>) — A list of available versions for the infotype.
Returns
- (::Array<::Google::Cloud::Dlp::V2::VersionDescription>) — A list of available versions for the infotype.