class Google::Apis::JobsV3::CustomAttributeHistogramResult

Output only. Custom attribute histogram result.

Attributes

key[RW]

Stores the key of custom attribute the histogram is performed on. Corresponds to the JSON property `key` @return [String]

long_value_histogram_result[RW]

Output only. Custom numeric bucketing result. Corresponds to the JSON property `longValueHistogramResult` @return [Google::Apis::JobsV3::NumericBucketingResult]

string_value_histogram_result[RW]

Stores a map from the values of string custom field associated with `key` to the number of jobs with that value in this histogram result. Corresponds to the JSON property `stringValueHistogramResult` @return [Hash<String,Fixnum>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/jobs_v3/classes.rb, line 860
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/jobs_v3/classes.rb, line 865
def update!(**args)
  @key = args[:key] if args.key?(:key)
  @long_value_histogram_result = args[:long_value_histogram_result] if args.key?(:long_value_histogram_result)
  @string_value_histogram_result = args[:string_value_histogram_result] if args.key?(:string_value_histogram_result)
end