Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::PrivacyMetric::CategoricalStatsConfig (v0.19.0)

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

Compute numerical stats over an individual column, including number of distinct values and value count distribution.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#field

def field() -> ::Google::Cloud::Dlp::V2::FieldId
Returns
  • (::Google::Cloud::Dlp::V2::FieldId) — Field to compute categorical stats on. All column types are supported except for arrays and structs. However, it may be more informative to use NumericalStats when the field type is supported, depending on the data.

#field=

def field=(value) -> ::Google::Cloud::Dlp::V2::FieldId
Parameter
  • value (::Google::Cloud::Dlp::V2::FieldId) — Field to compute categorical stats on. All column types are supported except for arrays and structs. However, it may be more informative to use NumericalStats when the field type is supported, depending on the data.
Returns
  • (::Google::Cloud::Dlp::V2::FieldId) — Field to compute categorical stats on. All column types are supported except for arrays and structs. However, it may be more informative to use NumericalStats when the field type is supported, depending on the data.