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.



1014
1015
1016
# File 'lib/google/apis/language_v2/classes.rb', line 1014

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



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

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



1012
1013
1014
# File 'lib/google/apis/language_v2/classes.rb', line 1012

def member_stats
  @member_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1019
1020
1021
1022
# File 'lib/google/apis/language_v2/classes.rb', line 1019

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