Class: Google::Apis::LanguageV1::XpsCommonStats
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1::XpsCommonStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1/classes.rb,
lib/google/apis/language_v1/representations.rb,
lib/google/apis/language_v1/representations.rb
Overview
Common statistics for a column with a specified data type.
Instance Attribute Summary collapse
-
#distinct_value_count ⇒ Fixnum
Corresponds to the JSON property
distinctValueCount. -
#null_value_count ⇒ Fixnum
Corresponds to the JSON property
nullValueCount. -
#valid_value_count ⇒ Fixnum
Corresponds to the JSON property
validValueCount.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsCommonStats
constructor
A new instance of XpsCommonStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsCommonStats
Returns a new instance of XpsCommonStats.
1744 1745 1746 |
# File 'lib/google/apis/language_v1/classes.rb', line 1744 def initialize(**args) update!(**args) end |
Instance Attribute Details
#distinct_value_count ⇒ Fixnum
Corresponds to the JSON property distinctValueCount
1732 1733 1734 |
# File 'lib/google/apis/language_v1/classes.rb', line 1732 def distinct_value_count @distinct_value_count end |
#null_value_count ⇒ Fixnum
Corresponds to the JSON property nullValueCount
1737 1738 1739 |
# File 'lib/google/apis/language_v1/classes.rb', line 1737 def null_value_count @null_value_count end |
#valid_value_count ⇒ Fixnum
Corresponds to the JSON property validValueCount
1742 1743 1744 |
# File 'lib/google/apis/language_v1/classes.rb', line 1742 def valid_value_count @valid_value_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1749 1750 1751 1752 1753 |
# File 'lib/google/apis/language_v1/classes.rb', line 1749 def update!(**args) @distinct_value_count = args[:distinct_value_count] if args.key?(:distinct_value_count) @null_value_count = args[:null_value_count] if args.key?(:null_value_count) @valid_value_count = args[:valid_value_count] if args.key?(:valid_value_count) end |