Class: Google::Apis::LanguageV1beta2::XpsCategoryStats
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsCategoryStats
- 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 CATEGORY values.
Instance Attribute Summary collapse
-
#common_stats ⇒ Google::Apis::LanguageV1beta2::XpsCommonStats
Common statistics for a column with a specified data type.
-
#top_category_stats ⇒ Array<Google::Apis::LanguageV1beta2::XpsCategoryStatsSingleCategoryStats>
The statistics of the top 20 CATEGORY values, ordered by CategoryStats.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsCategoryStats
constructor
A new instance of XpsCategoryStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsCategoryStats
Returns a new instance of XpsCategoryStats.
1435 1436 1437 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1435 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_stats ⇒ Google::Apis::LanguageV1beta2::XpsCommonStats
Common statistics for a column with a specified data type.
Corresponds to the JSON property commonStats
1427 1428 1429 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1427 def common_stats @common_stats end |
#top_category_stats ⇒ Array<Google::Apis::LanguageV1beta2::XpsCategoryStatsSingleCategoryStats>
The statistics of the top 20 CATEGORY values, ordered by CategoryStats.
SingleCategoryStats.count.
Corresponds to the JSON property topCategoryStats
1433 1434 1435 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1433 def top_category_stats @top_category_stats end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1440 1441 1442 1443 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1440 def update!(**args) @common_stats = args[:common_stats] if args.key?(:common_stats) @top_category_stats = args[:top_category_stats] if args.key?(:top_category_stats) end |