Class: Google::Apis::LanguageV2::XpsArrayStats

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

The data statistics of a series of ARRAY values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsArrayStats

Returns a new instance of XpsArrayStats.



1000
1001
1002
# File 'lib/google/apis/language_v2/classes.rb', line 1000

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

Instance Attribute Details

#common_statsGoogle::Apis::LanguageV2::XpsCommonStats

Common statistics for a column with a specified data type. Corresponds to the JSON property commonStats



993
994
995
# File 'lib/google/apis/language_v2/classes.rb', line 993

def common_stats
  @common_stats
end

#member_statsGoogle::Apis::LanguageV2::XpsDataStats

The data statistics of a series of values that share the same DataType. Corresponds to the JSON property memberStats



998
999
1000
# File 'lib/google/apis/language_v2/classes.rb', line 998

def member_stats
  @member_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1005
1006
1007
1008
# File 'lib/google/apis/language_v2/classes.rb', line 1005

def update!(**args)
  @common_stats = args[:common_stats] if args.key?(:common_stats)
  @member_stats = args[:member_stats] if args.key?(:member_stats)
end