Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1NumericalStatsResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb

Overview

Result of the numerical stats computation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta1NumericalStatsResult

Returns a new instance of GooglePrivacyDlpV2beta1NumericalStatsResult



1098
1099
1100
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1098

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#max_valueGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value

Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a 'Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data. Corresponds to the JSON property maxValue



1080
1081
1082
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1080

def max_value
  @max_value
end

#min_valueGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value

Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a 'Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data. Corresponds to the JSON property minValue



1090
1091
1092
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1090

def min_value
  @min_value
end

#quantile_valuesArray<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value>

List of 99 values that partition the set of field values into 100 equal sized buckets. Corresponds to the JSON property quantileValues



1096
1097
1098
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1096

def quantile_values
  @quantile_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1103
1104
1105
1106
1107
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1103

def update!(**args)
  @max_value = args[:max_value] if args.key?(:max_value)
  @min_value = args[:min_value] if args.key?(:min_value)
  @quantile_values = args[:quantile_values] if args.key?(:quantile_values)
end