# Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::InfoTypeDescription (v1.17.0)

1.17.0 (latest) 1.16.1 1.15.2 1.14.0 1.13.0 1.12.1 1.11.0 1.10.0 1.9.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.2 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-InfoTypeCategory)\>) --- The category of the infoType.
**Returns**

- (::Array\<[::Google::Cloud::Dlp::V2::InfoTypeCategory](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/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.

### #example

    def example() -> ::String

**Returns**

- (::String) --- A sample that is a true positive for this infoType.

### #example=

    def example=(value) -> ::String

**Parameter**

- **value** (::String) --- A sample that is a true positive for this infoType.
**Returns**

- (::String) --- A sample that is a true positive for this infoType.

### #launch_status

    def launch_status() -> ::Google::Cloud::Dlp::V2::InfoTypeDescription::InfoTypeLaunchStatus

**Returns**

- ([::Google::Cloud::Dlp::V2::InfoTypeDescription::InfoTypeLaunchStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-InfoTypeDescription-InfoTypeLaunchStatus)) --- The launch status of the infoType.

### #launch_status=

    def launch_status=(value) -> ::Google::Cloud::Dlp::V2::InfoTypeDescription::InfoTypeLaunchStatus

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::InfoTypeDescription::InfoTypeLaunchStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-InfoTypeDescription-InfoTypeLaunchStatus)) --- The launch status of the infoType.
**Returns**

- ([::Google::Cloud::Dlp::V2::InfoTypeDescription::InfoTypeLaunchStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-InfoTypeDescription-InfoTypeLaunchStatus)) --- The launch status of the infoType.

### #location_support

    def location_support() -> ::Google::Cloud::Dlp::V2::LocationSupport

**Returns**

- ([::Google::Cloud::Dlp::V2::LocationSupport](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-LocationSupport)) --- Locations at which this feature can be used. May change over time.

### #location_support=

    def location_support=(value) -> ::Google::Cloud::Dlp::V2::LocationSupport

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::LocationSupport](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-LocationSupport)) --- Locations at which this feature can be used. May change over time.
**Returns**

- ([::Google::Cloud::Dlp::V2::LocationSupport](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-LocationSupport)) --- Locations at which this feature can be used. May change over time.

### #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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-SensitivityScore)) --- The default sensitivity of the infoType.
**Returns**

- ([::Google::Cloud::Dlp::V2::SensitivityScore](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-SensitivityScore)) --- The default sensitivity of the infoType.

### #specific_info_types

    def specific_info_types() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- If this field is set, this infoType is a general infoType and these specific infoTypes are contained within it. General infoTypes are infoTypes that encompass multiple specific infoTypes. For example, the "GEOGRAPHIC_DATA" general infoType would have set for this field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".

### #specific_info_types=

    def specific_info_types=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- If this field is set, this infoType is a general infoType and these specific infoTypes are contained within it. General infoTypes are infoTypes that encompass multiple specific infoTypes. For example, the "GEOGRAPHIC_DATA" general infoType would have set for this field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
**Returns**

- (::Array\<::String\>) --- If this field is set, this infoType is a general infoType and these specific infoTypes are contained within it. General infoTypes are infoTypes that encompass multiple specific infoTypes. For example, the "GEOGRAPHIC_DATA" general infoType would have set for this field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".

### #supported_by

    def supported_by() -> ::Array<::Google::Cloud::Dlp::V2::InfoTypeSupportedBy>

**Returns**

- (::Array\<[::Google::Cloud::Dlp::V2::InfoTypeSupportedBy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-InfoTypeSupportedBy)\>) --- Which parts of the API supports this InfoType.
**Returns**

- (::Array\<[::Google::Cloud::Dlp::V2::InfoTypeSupportedBy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-VersionDescription)\>) --- A list of available versions for the infotype.
**Returns**

- (::Array\<[::Google::Cloud::Dlp::V2::VersionDescription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-VersionDescription)\>) --- A list of available versions for the infotype.