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



934
935
936
# File 'generated/google/apis/jobs_v2/classes.rb', line 934

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>)


925
926
927
# File 'generated/google/apis/jobs_v2/classes.rb', line 925

def queries
  @queries
end

#typeString

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

Returns:

  • (String)


932
933
934
# File 'generated/google/apis/jobs_v2/classes.rb', line 932

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



939
940
941
942
# File 'generated/google/apis/jobs_v2/classes.rb', line 939

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