Class: Google::Apis::LanguageV1::XpsArrayStats

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

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.



1300
1301
1302
# File 'lib/google/apis/language_v1/classes.rb', line 1300

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

Instance Attribute Details

#common_statsGoogle::Apis::LanguageV1::XpsCommonStats

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



1293
1294
1295
# File 'lib/google/apis/language_v1/classes.rb', line 1293

def common_stats
  @common_stats
end

#member_statsGoogle::Apis::LanguageV1::XpsDataStats

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



1298
1299
1300
# File 'lib/google/apis/language_v1/classes.rb', line 1298

def member_stats
  @member_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1305
1306
1307
1308
# File 'lib/google/apis/language_v1/classes.rb', line 1305

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