Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
feat: Add a new operator on companyDisplayNames filter to further sup…
Browse files Browse the repository at this point in the history
…port fuzzy match by treating input value as a multi word token (#248)

- [ ] Regenerate this pull request now.

feat: Add a new option TELECOMMUTE_JOBS_EXCLUDED under enum TelecommutePreference to completely filter out the telecommute jobs in response
docs: Deprecate option TELECOMMUTE_EXCLUDED under enum TelecommutePreference

PiperOrigin-RevId: 450699841

Source-Link: googleapis/googleapis@c6fb6ac

Source-Link: https://github.com/googleapis/googleapis-gen/commit/6b27e78749c63eb4d21ea920ac10bdc5c7ba4caf
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmIyN2U3ODc0OWM2M2ViNGQyMWVhOTIwYWMxMGJkYzVjN2JhNGNhZiJ9
  • Loading branch information
gcf-owl-bot[bot] authored May 25, 2022
1 parent 2fcc81a commit aeab3a0
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions google/cloud/talent_v4/types/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,22 @@ class JobQuery(proto.Message):
This filter specifies the company
[Company.display_name][google.cloud.talent.v4.Company.display_name]
of the jobs to search against. The company name must match
the value exactly (case sensitive).
the value exactly.
Alternatively, if the value being searched for is wrapped in
``SUBSTRING_MATCH([value])``, the company name must contain
a case insensitive substring match of the value. Using this
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 Values: ``["Google LLC", "SUBSTRING_MATCH(google)"]``
Sample Value: ``MULTI_WORD_TOKEN_MATCH(google)``
If a value isn't specified, jobs within the search results
are associated with any company.
Expand Down Expand Up @@ -301,7 +309,7 @@ class LocationFilter(proto.Message):
telecommute_preference (google.cloud.talent_v4.types.LocationFilter.TelecommutePreference):
Allows the client to return jobs without a set location,
specifically, telecommuting jobs (telecommuting is
considered by the service as a special location.
considered by the service as a special location).
[Job.posting_region][google.cloud.talent.v4.Job.posting_region]
indicates if a job permits telecommuting. If this field is
set to
Expand Down Expand Up @@ -336,6 +344,7 @@ class TelecommutePreference(proto.Enum):
TELECOMMUTE_PREFERENCE_UNSPECIFIED = 0
TELECOMMUTE_EXCLUDED = 1
TELECOMMUTE_ALLOWED = 2
TELECOMMUTE_JOBS_EXCLUDED = 3

address = proto.Field(
proto.STRING,
Expand Down

0 comments on commit aeab3a0

Please sign in to comment.