Class: Google::Apis::JobsV2::CustomFieldFilter

Inherits:
Object
  • Object
show all
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

Input only. Custom field filter of the search.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CustomFieldFilter

Returns a new instance of CustomFieldFilter.



907
908
909
# File 'generated/google/apis/jobs_v2/classes.rb', line 907

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

Instance Attribute Details

#queriesArray<String>

Required. The query strings for the filter. Corresponds to the JSON property queries

Returns:

  • (Array<String>)


899
900
901
# File 'generated/google/apis/jobs_v2/classes.rb', line 899

def queries
  @queries
end

#typeString

Optional. The type of filter. Defaults to FilterType.OR. Corresponds to the JSON property type

Returns:

  • (String)


905
906
907
# File 'generated/google/apis/jobs_v2/classes.rb', line 905

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



912
913
914
915
# File 'generated/google/apis/jobs_v2/classes.rb', line 912

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