GoogleApi.Jobs.V2.Model.CustomAttributeHistogramRequest (google_api_jobs v0.15.0) View Source

Custom attributes histogram request. An error will be thrown if neither string_value_histogram or long_value_histogram_bucketing_option has been defined.

Attributes

  • key (type: String.t, default: nil) - Required. Specifies the custom field key to perform a histogram on. If specified without long_value_histogram_bucketing_option, histogram on string values of the given key is triggered, otherwise histogram is performed on long values.
  • longValueHistogramBucketingOption (type: GoogleApi.Jobs.V2.Model.NumericBucketingOption.t, default: nil) - Optional. Specifies buckets used to perform a range histogram on Job's filterable long custom field values, or min/max value requirements.
  • stringValueHistogram (type: boolean(), default: nil) - Optional. If set to true, the response will include the histogram value for each key as a string.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Jobs.V2.Model.CustomAttributeHistogramRequest{
  key: String.t(),
  longValueHistogramBucketingOption:
    GoogleApi.Jobs.V2.Model.NumericBucketingOption.t(),
  stringValueHistogram: boolean()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.