Class: Google::Apis::LanguageV1beta2::XpsStructStats

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb

Overview

The data statistics of a series of STRUCT values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsStructStats

Returns a new instance of XpsStructStats.



3773
3774
3775
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3773

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

Instance Attribute Details

#common_statsGoogle::Apis::LanguageV1beta2::XpsCommonStats

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



3765
3766
3767
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3765

def common_stats
  @common_stats
end

#field_statsHash<String,Google::Apis::LanguageV1beta2::XpsDataStats>

Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs. Corresponds to the JSON property fieldStats



3771
3772
3773
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3771

def field_stats
  @field_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3778
3779
3780
3781
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3778

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