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



937
938
939
# File 'generated/google/apis/jobs_v2/classes.rb', line 937

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


928
929
930
# File 'generated/google/apis/jobs_v2/classes.rb', line 928

def queries
  @queries
end

#typeString

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

Returns:

  • (String)


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

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



942
943
944
945
# File 'generated/google/apis/jobs_v2/classes.rb', line 942

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