- JSON representation
- CustomAttributeHistogramRequest
- NumericBucketingOption
- CompensationHistogramRequest
Input only.
Histogram facets to be specified in SearchJobsRequest
.
JSON representation | |
---|---|
{ "simpleHistogramFacets": [ enum ( |
Fields | |
---|---|
simpleHistogramFacets[] |
Optional. Specifies the simple type of histogram facets, for example, |
customAttributeHistogramFacets[] |
Optional. Specifies the custom attributes histogram requests. Duplicate values of |
compensationHistogramFacets[] |
Optional. Specifies compensation field-based histogram requests. Duplicate values of |
CustomAttributeHistogramRequest
Custom attributes histogram request. An error is thrown if neither stringValueHistogram
or longValueHistogramBucketingOption
has been defined.
JSON representation | |
---|---|
{
"key": string,
"stringValueHistogram": boolean,
"longValueHistogramBucketingOption": {
object ( |
Fields | |
---|---|
key |
Required. Specifies the custom field key to perform a histogram on. If specified without |
stringValueHistogram |
Optional. If set to true, the response includes the histogram value for each key as a string. |
longValueHistogramBucketingOption |
Optional. Specifies buckets used to perform a range histogram on Job's filterable long custom field values, or min/max value requirements. |
NumericBucketingOption
Input only.
Use this field to specify bucketing option for the histogram search response.
JSON representation | |
---|---|
{ "bucketBounds": [ number ], "requiresMinMax": boolean } |
Fields | |
---|---|
bucketBounds[] |
Required. Two adjacent values form a histogram bucket. Values should be in ascending order. For example, if [5, 10, 15] are provided, four buckets are created: (-inf, 5), [5, 10), [10, 15), [15, inf). At most 20 [buckets_bound][] is supported. |
requiresMinMax |
Optional. If set to true, the histogram result includes minimum/maximum value of the numeric field. |
CompensationHistogramRequest
Input only.
Compensation based histogram request.
JSON representation | |
---|---|
{ "type": enum ( |
Fields | |
---|---|
type |
Required. Type of the request, representing which field the histogramming should be performed over. A single request can only specify one histogram of each |
bucketingOption |
Required. Numeric histogram options, like buckets, whether include min or max value. |