Class: Google::Apis::LanguageV1beta2::XpsCategoryStatsSingleCategoryStats
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsCategoryStatsSingleCategoryStats
- 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 statistics of a single CATEGORY value.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
The number of occurrences of this value in the series.
-
#value ⇒ String
The CATEGORY value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsCategoryStatsSingleCategoryStats
constructor
A new instance of XpsCategoryStatsSingleCategoryStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsCategoryStatsSingleCategoryStats
Returns a new instance of XpsCategoryStatsSingleCategoryStats.
1460 1461 1462 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1460 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
The number of occurrences of this value in the series.
Corresponds to the JSON property count
1453 1454 1455 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1453 def count @count end |
#value ⇒ String
The CATEGORY value.
Corresponds to the JSON property value
1458 1459 1460 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1458 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1465 1466 1467 1468 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1465 def update!(**args) @count = args[:count] if args.key?(:count) @value = args[:value] if args.key?(:value) end |