Class: Google::Apis::JobsV2::CustomFieldFilter
- Inherits:
-
Object
- Object
- Google::Apis::JobsV2::CustomFieldFilter
- 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
-
#queries ⇒ Array<String>
Required.
-
#type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomFieldFilter
constructor
A new instance of CustomFieldFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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
#queries ⇒ Array<String>
Required. The query strings for the filter.
Corresponds to the JSON property queries
899 900 901 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 899 def queries @queries end |
#type ⇒ String
Optional. The type of filter.
Defaults to FilterType.OR.
Corresponds to the JSON property type
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 |