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
ProfileInfo defines the profile information for each schema field type.
Instance Attribute Summary collapse
-
#distinct_ratio ⇒ Float
The ratio of rows that are distinct against the rows in the sampled data.
-
#double_profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo
DoubleFieldInfo defines output for any double type field.
-
#integer_profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo
IntegerFieldInfo defines output for any integer type field.
-
#null_ratio ⇒ Float
The ratio of null rows against the rows in the sampled data.
-
#string_profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo
StringFieldInfo defines output info for any string type field.
-
#top_n_values ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue>
The array of top N values of the field in the sampled 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.
1028 1029 1030 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1028 def initialize(**args) update!(**args) end |
Instance Attribute Details
#distinct_ratio ⇒ Float
The ratio of rows that are distinct against the rows in the sampled data.
Corresponds to the JSON property distinctRatio
998 999 1000 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 998 def distinct_ratio @distinct_ratio end |
#double_profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo
DoubleFieldInfo defines output for any double type field.
Corresponds to the JSON property doubleProfile
1003 1004 1005 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1003 def double_profile @double_profile end |
#integer_profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo
IntegerFieldInfo defines output for any integer type field.
Corresponds to the JSON property integerProfile
1008 1009 1010 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1008 def integer_profile @integer_profile end |
#null_ratio ⇒ Float
The ratio of null rows against the rows in the sampled data.
Corresponds to the JSON property nullRatio
1013 1014 1015 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1013 def null_ratio @null_ratio end |
#string_profile ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo
StringFieldInfo defines output info for any string type field.
Corresponds to the JSON property stringProfile
1018 1019 1020 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1018 def string_profile @string_profile end |
#top_n_values ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue>
The array of top N values of the field in the sampled data. Currently N is set
as 10 or equal to distinct values in the field, whichever is smaller. This
will be optional for complex non-groupable data-types such as JSON, ARRAY,
JSON, STRUCT.
Corresponds to the JSON property topNValues
1026 1027 1028 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1026 def top_n_values @top_n_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1033 1034 1035 1036 1037 1038 1039 1040 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1033 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 |