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

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

Classification of infoTypes to organize them according to geographic location, industry, and data type.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#industry_category

def industry_category() -> ::Google::Cloud::Dlp::V2::InfoTypeCategory::IndustryCategory
Returns
  • (::Google::Cloud::Dlp::V2::InfoTypeCategory::IndustryCategory) — The group of relevant businesses where this infoType is commonly used

    Note: The following fields are mutually exclusive: industry_category, location_category, type_category. If a field in that set is populated, all other fields in the set will automatically be cleared.

#industry_category=

def industry_category=(value) -> ::Google::Cloud::Dlp::V2::InfoTypeCategory::IndustryCategory
Parameter
  • value (::Google::Cloud::Dlp::V2::InfoTypeCategory::IndustryCategory) — The group of relevant businesses where this infoType is commonly used

    Note: The following fields are mutually exclusive: industry_category, location_category, type_category. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::InfoTypeCategory::IndustryCategory) — The group of relevant businesses where this infoType is commonly used

    Note: The following fields are mutually exclusive: industry_category, location_category, type_category. If a field in that set is populated, all other fields in the set will automatically be cleared.

#location_category

def location_category() -> ::Google::Cloud::Dlp::V2::InfoTypeCategory::LocationCategory
Returns
  • (::Google::Cloud::Dlp::V2::InfoTypeCategory::LocationCategory) — The region or country that issued the ID or document represented by the infoType.

    Note: The following fields are mutually exclusive: location_category, industry_category, type_category. If a field in that set is populated, all other fields in the set will automatically be cleared.

#location_category=

def location_category=(value) -> ::Google::Cloud::Dlp::V2::InfoTypeCategory::LocationCategory
Parameter
  • value (::Google::Cloud::Dlp::V2::InfoTypeCategory::LocationCategory) — The region or country that issued the ID or document represented by the infoType.

    Note: The following fields are mutually exclusive: location_category, industry_category, type_category. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::InfoTypeCategory::LocationCategory) — The region or country that issued the ID or document represented by the infoType.

    Note: The following fields are mutually exclusive: location_category, industry_category, type_category. If a field in that set is populated, all other fields in the set will automatically be cleared.

#type_category

def type_category() -> ::Google::Cloud::Dlp::V2::InfoTypeCategory::TypeCategory
Returns
  • (::Google::Cloud::Dlp::V2::InfoTypeCategory::TypeCategory) — The class of identifiers where this infoType belongs

    Note: The following fields are mutually exclusive: type_category, location_category, industry_category. If a field in that set is populated, all other fields in the set will automatically be cleared.

#type_category=

def type_category=(value) -> ::Google::Cloud::Dlp::V2::InfoTypeCategory::TypeCategory
Parameter
  • value (::Google::Cloud::Dlp::V2::InfoTypeCategory::TypeCategory) — The class of identifiers where this infoType belongs

    Note: The following fields are mutually exclusive: type_category, location_category, industry_category. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::InfoTypeCategory::TypeCategory) — The class of identifiers where this infoType belongs

    Note: The following fields are mutually exclusive: type_category, location_category, industry_category. If a field in that set is populated, all other fields in the set will automatically be cleared.