Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
The profile information for each field type.
Instance Attribute Summary collapse
-
#distinct_ratio ⇒ Float
Ratio of rows with distinct values against total scanned rows.
-
#double_profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo
The profile information for a double type field.
-
#integer_profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo
The profile information for an integer type field.
-
#null_ratio ⇒ Float
Ratio of rows with null value against total scanned rows.
-
#string_profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo
The profile information for a string type field.
-
#top_n_values ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue>
The list of top N non-null values and number of times they occur in the scanned data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo
constructor
A new instance of GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo
Returns a new instance of GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo.
1284 1285 1286 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1284 def initialize(**args) update!(**args) end |
Instance Attribute Details
#distinct_ratio ⇒ Float
Ratio of rows with distinct values against total scanned rows. Not available
for complex non-groupable field type RECORD and fields with REPEATABLE mode.
Corresponds to the JSON property distinctRatio
1254 1255 1256 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1254 def distinct_ratio @distinct_ratio end |
#double_profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo
The profile information for a double type field.
Corresponds to the JSON property doubleProfile
1259 1260 1261 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1259 def double_profile @double_profile end |
#integer_profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo
The profile information for an integer type field.
Corresponds to the JSON property integerProfile
1264 1265 1266 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1264 def integer_profile @integer_profile end |
#null_ratio ⇒ Float
Ratio of rows with null value against total scanned rows.
Corresponds to the JSON property nullRatio
1269 1270 1271 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1269 def null_ratio @null_ratio end |
#string_profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo
The profile information for a string type field.
Corresponds to the JSON property stringProfile
1274 1275 1276 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1274 def string_profile @string_profile end |
#top_n_values ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue>
The list of top N non-null values and number of times they occur in the
scanned data. N is 10 or equal to the number of distinct values in the field,
whichever is smaller. Not available for complex non-groupable field type
RECORD and fields with REPEATABLE mode.
Corresponds to the JSON property topNValues
1282 1283 1284 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1282 def top_n_values @top_n_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1289 1290 1291 1292 1293 1294 1295 1296 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1289 def update!(**args) @distinct_ratio = args[:distinct_ratio] if args.key?(:distinct_ratio) @double_profile = args[:double_profile] if args.key?(:double_profile) @integer_profile = args[:integer_profile] if args.key?(:integer_profile) @null_ratio = args[:null_ratio] if args.key?(:null_ratio) @string_profile = args[:string_profile] if args.key?(:string_profile) @top_n_values = args[:top_n_values] if args.key?(:top_n_values) end |