Class: Google::Apis::LanguageV2::XpsStructStats
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsStructStats
- 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 STRUCT values.
Instance Attribute Summary collapse
-
#common_stats ⇒ Google::Apis::LanguageV2::XpsCommonStats
Common statistics for a column with a specified data type.
-
#field_stats ⇒ Hash<String,Google::Apis::LanguageV2::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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsStructStats
constructor
A new instance of XpsStructStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsStructStats
Returns a new instance of XpsStructStats.
3467 3468 3469 |
# File 'lib/google/apis/language_v2/classes.rb', line 3467 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_stats ⇒ Google::Apis::LanguageV2::XpsCommonStats
Common statistics for a column with a specified data type.
Corresponds to the JSON property commonStats
3459 3460 3461 |
# File 'lib/google/apis/language_v2/classes.rb', line 3459 def common_stats @common_stats end |
#field_stats ⇒ Hash<String,Google::Apis::LanguageV2::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
3465 3466 3467 |
# File 'lib/google/apis/language_v2/classes.rb', line 3465 def field_stats @field_stats end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3472 3473 3474 3475 |
# File 'lib/google/apis/language_v2/classes.rb', line 3472 def update!(**args) @common_stats = args[:common_stats] if args.key?(:common_stats) @field_stats = args[:field_stats] if args.key?(:field_stats) end |