Class: Google::Apis::LanguageV2::XpsCommonStats
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsCommonStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/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.
1460 1461 1462 |
# File 'lib/google/apis/language_v2/classes.rb', line 1460 def initialize(**args) update!(**args) end |
Instance Attribute Details
#distinct_value_count ⇒ Fixnum
Corresponds to the JSON property distinctValueCount
1448 1449 1450 |
# File 'lib/google/apis/language_v2/classes.rb', line 1448 def distinct_value_count @distinct_value_count end |
#null_value_count ⇒ Fixnum
Corresponds to the JSON property nullValueCount
1453 1454 1455 |
# File 'lib/google/apis/language_v2/classes.rb', line 1453 def null_value_count @null_value_count end |
#valid_value_count ⇒ Fixnum
Corresponds to the JSON property validValueCount
1458 1459 1460 |
# File 'lib/google/apis/language_v2/classes.rb', line 1458 def valid_value_count @valid_value_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1465 1466 1467 1468 1469 |
# File 'lib/google/apis/language_v2/classes.rb', line 1465 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 |