Class: Google::Apis::JobsV2::CustomAttribute
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::JobsV2::CustomAttribute
 
- 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
Custom attribute values that are either filterable or non-filterable.
Instance Attribute Summary collapse
- 
  
    
      #filterable  ⇒ Boolean 
    
    
      (also: #filterable?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #long_value  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional but at least one of string_values or long_value must be specified. 
- 
  
    
      #string_values  ⇒ Google::Apis::JobsV2::StringValues 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Represents array of string values. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CustomAttribute 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CustomAttribute. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomAttribute
Returns a new instance of CustomAttribute
| 797 798 799 | # File 'generated/google/apis/jobs_v2/classes.rb', line 797 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#filterable ⇒ Boolean Also known as: filterable?
Optional.
If the filterable flag is true, custom field values are searchable.
If false, values are not searchable.
Default is false.
Corresponds to the JSON property filterable
| 780 781 782 | # File 'generated/google/apis/jobs_v2/classes.rb', line 780 def filterable @filterable end | 
#long_value ⇒ Fixnum
Optional but at least one of string_values or long_value must
be specified.
This field is used to perform number range search.
(EQ, GT, GE, LE, LT) over filterable long_value. For
long_value, a value between Long.MIN and Long.MIN is allowed.
Corresponds to the JSON property longValue
| 790 791 792 | # File 'generated/google/apis/jobs_v2/classes.rb', line 790 def long_value @long_value end | 
#string_values ⇒ Google::Apis::JobsV2::StringValues
Represents array of string values.
Corresponds to the JSON property stringValues
| 795 796 797 | # File 'generated/google/apis/jobs_v2/classes.rb', line 795 def string_values @string_values end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 802 803 804 805 806 | # File 'generated/google/apis/jobs_v2/classes.rb', line 802 def update!(**args) @filterable = args[:filterable] if args.key?(:filterable) @long_value = args[:long_value] if args.key?(:long_value) @string_values = args[:string_values] if args.key?(:string_values) end |