Class: Google::Apis::LanguageV1::XpsCommonStats

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsCommonStats

Returns a new instance of XpsCommonStats.



1746
1747
1748
# File 'lib/google/apis/language_v1/classes.rb', line 1746

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#distinct_value_countFixnum

Corresponds to the JSON property distinctValueCount

Returns:

  • (Fixnum)


1734
1735
1736
# File 'lib/google/apis/language_v1/classes.rb', line 1734

def distinct_value_count
  @distinct_value_count
end

#null_value_countFixnum

Corresponds to the JSON property nullValueCount

Returns:

  • (Fixnum)


1739
1740
1741
# File 'lib/google/apis/language_v1/classes.rb', line 1739

def null_value_count
  @null_value_count
end

#valid_value_countFixnum

Corresponds to the JSON property validValueCount

Returns:

  • (Fixnum)


1744
1745
1746
# File 'lib/google/apis/language_v1/classes.rb', line 1744

def valid_value_count
  @valid_value_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1751
1752
1753
1754
1755
# File 'lib/google/apis/language_v1/classes.rb', line 1751

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