class Google::Apis::BigqueryV2::CategoryCount
Represents the count of a single category within the cluster.
Attributes
category[RW]
The name of category. Corresponds to the JSON property `category` @return [String]
count[RW]
The count of training samples matching the category within the cluster. Corresponds to the JSON property `count` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 1197 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/bigquery_v2/classes.rb, line 1202 def update!(**args) @category = args[:category] if args.key?(:category) @count = args[:count] if args.key?(:count) end