View Source GoogleApi.Jobs.V2.Model.JobQuery (google_api_jobs v0.20.0)
Input only.
The query required to perform a search query or histogram.
Attributes
categories
(type:list(String.t)
, default:nil
) - Optional. The category filter specifies the categories of jobs to search against. See Category for more information.If a value is not specified, jobs from any category are searched against.
If multiple values are specified, jobs from any of the specified categories are searched against.
commuteFilter
(type:GoogleApi.Jobs.V2.Model.CommutePreference.t
, default:nil
) - Optional. Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works with COMMUTE MODE. When specified, [JobQuery.location_filters] is ignored.Currently we don't support sorting by commute time.
companyDisplayNames
(type:list(String.t)
, default:nil
) - Optional. This filter specifies the exact company display name of the jobs to search against.If a value isn't specified, jobs within the search results are associated with any company.
If multiple values are specified, jobs within the search results may be associated with any of the specified companies.
At most 20 company display name filters are allowed.
companyNames
(type:list(String.t)
, default:nil
) - Optional. This filter specifies the company entities to search against.If a value isn't specified, jobs are searched for against all companies.
If multiple values are specified, jobs are searched against the companies specified.
At most 20 company filters are allowed.
compensationFilter
(type:GoogleApi.Jobs.V2.Model.CompensationFilter.t
, default:nil
) - Optional. This search filter is applied only to Job.compensation_info. For example, if the filter is specified as "Hourly job with per-hour compensation > $15", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched.customAttributeFilter
(type:String.t
, default:nil
) - Optional. This filter specifies a structured syntax to match against the Job.custom_attributes marked asfilterable
.The syntax for this expression is a subset of Google SQL syntax.
Supported operators are: =, !=, <, <=, >, >= where the left of the operator is a custom field key and the right of the operator is a number or string (surrounded by quotes) value.
Supported functions are LOWER(<field_name>) to perform case insensitive match and EMPTY(<field_name>) to filter on the existence of a key.
Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 50 comparisons/functions are allowed in the expression. The expression must be < 2000 characters in length.
Sample Query: (key1 = "TEST" OR LOWER(key1)="test" OR NOT EMPTY(key1)) AND key2 > 100
disableSpellCheck
(type:boolean()
, default:nil
) - Optional. This flag controls the spell-check feature. If false, the service attempts to correct a misspelled query, for example, "enginee" is corrected to "engineer".Defaults to false: a spell check is performed.
employmentTypes
(type:list(String.t)
, default:nil
) - Optional. The employment type filter specifies the employment type of jobs to search against, such as EmploymentType.FULL_TIME.If a value is not specified, jobs in the search results include any employment type.
If multiple values are specified, jobs in the search results include any of the specified employment types.
languageCodes
(type:list(String.t)
, default:nil
) - Optional. This filter specifies the locale of jobs to search against, for example, "en-US".If a value isn't specified, the search results can contain jobs in any locale.
Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see Tags for Identifying Languages.
At most 10 language code filters are allowed.
locationFilters
(type:list(GoogleApi.Jobs.V2.Model.LocationFilter.t)
, default:nil
) - Optional. The location filter specifies geo-regions containing the jobs to search against. See LocationFilter for more information.If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located.
If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the LocationFilter.distance_in_miles parameter, the maximum provided distance is used for all locations.
At most 5 location filters are allowed.
publishDateRange
(type:String.t
, default:nil
) - Optional. Jobs published within a range specified by this filter are searched against, for example, DateRange.PAST_MONTH. If a value isn't specified, all open jobs are searched against regardless of their published date.query
(type:String.t
, default:nil
) - Optional. The query string that matches against the job title, description, and location fields.The maximum query size is 255 bytes.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Jobs.V2.Model.JobQuery{ categories: [String.t()], commuteFilter: GoogleApi.Jobs.V2.Model.CommutePreference.t(), companyDisplayNames: [String.t()], companyNames: [String.t()], compensationFilter: GoogleApi.Jobs.V2.Model.CompensationFilter.t(), customAttributeFilter: String.t(), disableSpellCheck: boolean(), employmentTypes: [String.t()], languageCodes: [String.t()], locationFilters: [GoogleApi.Jobs.V2.Model.LocationFilter.t()], publishDateRange: String.t(), query: String.t() }
Functions
Unwrap a decoded JSON object into its complex fields.