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.
1035 1036 1037 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1035 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
1005 1006 1007 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1005 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
1010 1011 1012 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1010 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
1015 1016 1017 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1015 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
1020 1021 1022 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1020 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
1025 1026 1027 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1025 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
1033 1034 1035 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1033 def top_n_values @top_n_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1040 1041 1042 1043 1044 1045 1046 1047 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1040 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 |