Class: Google::Apis::JobsV2::CustomAttributeHistogramResult
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::JobsV2::CustomAttributeHistogramResult
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/jobs_v2/classes.rb,
 generated/google/apis/jobs_v2/representations.rb,
 generated/google/apis/jobs_v2/representations.rb
Overview
Output only. Custom attribute histogram result.
Instance Attribute Summary collapse
- 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Stores the key of custom attribute the histogram is performed on. 
- 
  
    
      #long_value_histogram_result  ⇒ Google::Apis::JobsV2::NumericBucketingResult 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #string_value_histogram_result  ⇒ Hash<String,Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Stores a map from the values of string custom field associated with keyto the number of jobs with that value in this histogram result.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CustomAttributeHistogramResult 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CustomAttributeHistogramResult. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomAttributeHistogramResult
Returns a new instance of CustomAttributeHistogramResult
| 871 872 873 | # File 'generated/google/apis/jobs_v2/classes.rb', line 871 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#key ⇒ String
Stores the key of custom attribute the histogram is performed on.
Corresponds to the JSON property key
| 857 858 859 | # File 'generated/google/apis/jobs_v2/classes.rb', line 857 def key @key end | 
#long_value_histogram_result ⇒ Google::Apis::JobsV2::NumericBucketingResult
Output only.
Custom numeric bucketing result.
Corresponds to the JSON property longValueHistogramResult
| 863 864 865 | # File 'generated/google/apis/jobs_v2/classes.rb', line 863 def long_value_histogram_result @long_value_histogram_result end | 
#string_value_histogram_result ⇒ Hash<String,Fixnum>
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
| 869 870 871 | # File 'generated/google/apis/jobs_v2/classes.rb', line 869 def string_value_histogram_result @string_value_histogram_result end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 876 877 878 879 880 | # File 'generated/google/apis/jobs_v2/classes.rb', line 876 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 |