Reference documentation and code samples for the Cloud Talent Solution V4beta1 API class Google::Cloud::Talent::V4beta1::JobQuery.
The query required to perform a search query.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#commute_filter
def commute_filter() -> ::Google::Cloud::Talent::V4beta1::CommuteFilter
-
(::Google::Cloud::Talent::V4beta1::CommuteFilter) — Allows filtering jobs by commute time with different travel methods (for
example, driving or public transit).
Note: This only works when you specify a CommuteMethod. In this case, location_filters is ignored.
Currently we don't support sorting by commute time.
#commute_filter=
def commute_filter=(value) -> ::Google::Cloud::Talent::V4beta1::CommuteFilter
-
value (::Google::Cloud::Talent::V4beta1::CommuteFilter) — Allows filtering jobs by commute time with different travel methods (for
example, driving or public transit).
Note: This only works when you specify a CommuteMethod. In this case, location_filters is ignored.
Currently we don't support sorting by commute time.
-
(::Google::Cloud::Talent::V4beta1::CommuteFilter) — Allows filtering jobs by commute time with different travel methods (for
example, driving or public transit).
Note: This only works when you specify a CommuteMethod. In this case, location_filters is ignored.
Currently we don't support sorting by commute time.
#companies
def companies() -> ::Array<::String>
-
(::Array<::String>) — 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.
The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz".
If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar".
At most 20 company filters are allowed.
#companies=
def companies=(value) -> ::Array<::String>
-
value (::Array<::String>) — 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.
The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz".
If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar".
At most 20 company filters are allowed.
-
(::Array<::String>) — 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.
The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz".
If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar".
At most 20 company filters are allowed.
#company_display_names
def company_display_names() -> ::Array<::String>
-
(::Array<::String>) — This filter specifies the company
Company.display_name of
the jobs to search against. The company name must match the value exactly.
Alternatively, the value being searched for can be wrapped in different match operators.
SUBSTRING_MATCH([value])
The company name must contain a case insensitive substring match of the value. Using this function may increase latency.Sample Value:
SUBSTRING_MATCH(google)
MULTI_WORD_TOKEN_MATCH([value])
The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency.Sample Value:
MULTI_WORD_TOKEN_MATCH(google)
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.
#company_display_names=
def company_display_names=(value) -> ::Array<::String>
-
value (::Array<::String>) — This filter specifies the company
Company.display_name of
the jobs to search against. The company name must match the value exactly.
Alternatively, the value being searched for can be wrapped in different match operators.
SUBSTRING_MATCH([value])
The company name must contain a case insensitive substring match of the value. Using this function may increase latency.Sample Value:
SUBSTRING_MATCH(google)
MULTI_WORD_TOKEN_MATCH([value])
The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency.Sample Value:
MULTI_WORD_TOKEN_MATCH(google)
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.
-
(::Array<::String>) — This filter specifies the company
Company.display_name of
the jobs to search against. The company name must match the value exactly.
Alternatively, the value being searched for can be wrapped in different match operators.
SUBSTRING_MATCH([value])
The company name must contain a case insensitive substring match of the value. Using this function may increase latency.Sample Value:
SUBSTRING_MATCH(google)
MULTI_WORD_TOKEN_MATCH([value])
The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency.Sample Value:
MULTI_WORD_TOKEN_MATCH(google)
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.
#compensation_filter
def compensation_filter() -> ::Google::Cloud::Talent::V4beta1::CompensationFilter
- (::Google::Cloud::Talent::V4beta1::CompensationFilter) — 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.
#compensation_filter=
def compensation_filter=(value) -> ::Google::Cloud::Talent::V4beta1::CompensationFilter
- value (::Google::Cloud::Talent::V4beta1::CompensationFilter) — 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.
- (::Google::Cloud::Talent::V4beta1::CompensationFilter) — 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.
#custom_attribute_filter
def custom_attribute_filter() -> ::String
-
(::String) — This filter specifies a structured syntax to match against the
Job.custom_attributes
marked as
filterable
.The syntax for this expression is a subset of SQL syntax.
Supported operators are:
=
,!=
,<
,<=
,>
, and>=
where the left of the operator is a custom field key and the right of the operator is a number or a quoted string. You must escape backslash (\) and quote (\") characters.Supported functions are
LOWER([field_name])
to perform a case insensitive match andEMPTY([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 100 comparisons or functions are allowed in the expression. The expression must be < 10000 bytes in length.
Sample Query:
(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND driving_years > 10
#custom_attribute_filter=
def custom_attribute_filter=(value) -> ::String
-
value (::String) — This filter specifies a structured syntax to match against the
Job.custom_attributes
marked as
filterable
.The syntax for this expression is a subset of SQL syntax.
Supported operators are:
=
,!=
,<
,<=
,>
, and>=
where the left of the operator is a custom field key and the right of the operator is a number or a quoted string. You must escape backslash (\) and quote (\") characters.Supported functions are
LOWER([field_name])
to perform a case insensitive match andEMPTY([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 100 comparisons or functions are allowed in the expression. The expression must be < 10000 bytes in length.
Sample Query:
(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND driving_years > 10
-
(::String) — This filter specifies a structured syntax to match against the
Job.custom_attributes
marked as
filterable
.The syntax for this expression is a subset of SQL syntax.
Supported operators are:
=
,!=
,<
,<=
,>
, and>=
where the left of the operator is a custom field key and the right of th