Class: Google::Apis::JobsV4::HistogramQuery

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/jobs_v4/classes.rb,
generated/google/apis/jobs_v4/representations.rb,
generated/google/apis/jobs_v4/representations.rb

Overview

The histogram request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HistogramQuery

Returns a new instance of HistogramQuery.



888
889
890
# File 'generated/google/apis/jobs_v4/classes.rb', line 888

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#histogram_queryString

An expression specifies a histogram request against matching jobs for searches. See SearchJobsRequest.histogram_queries for details about syntax. Corresponds to the JSON property histogramQuery

Returns:

  • (String)


886
887
888
# File 'generated/google/apis/jobs_v4/classes.rb', line 886

def histogram_query
  @histogram_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



893
894
895
# File 'generated/google/apis/jobs_v4/classes.rb', line 893

def update!(**args)
  @histogram_query = args[:histogram_query] if args.key?(:histogram_query)
end