class Google::Apis::JobsV3::CustomAttribute

Custom attribute values that are either filterable or non-filterable.

Attributes

filterable[RW]

Optional. If the `filterable` flag is true, the custom field values may be used for custom attribute filters JobQuery.custom_attribute_filter. If false, these values may not be used for custom attribute filters. Default is false. Corresponds to the JSON property `filterable` @return [Boolean]

filterable?[RW]

Optional. If the `filterable` flag is true, the custom field values may be used for custom attribute filters JobQuery.custom_attribute_filter. If false, these values may not be used for custom attribute filters. Default is false. Corresponds to the JSON property `filterable` @return [Boolean]

long_values[RW]

Optional but exactly one of string_values or long_values must be specified. This field is used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, ` LT`) over filterable `long_value`. Currently at most 1 long_values is supported. Corresponds to the JSON property `longValues` @return [Array<Fixnum>]

string_values[RW]

Optional but exactly one of string_values or long_values must be specified. This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or ` CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum total number of 200 values is allowed, with each `string_value` has a byte size of no more than 500B. For unfilterable `string_values`, the maximum total byte size of unfilterable `string_values` is 50KB. Empty string is not allowed. Corresponds to the JSON property `stringValues` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/jobs_v3/classes.rb, line 789
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 794
def update!(**args)
  @filterable = args[:filterable] if args.key?(:filterable)
  @long_values = args[:long_values] if args.key?(:long_values)
  @string_values = args[:string_values] if args.key?(:string_values)
end