Skip to content

Commit 3c3e3f0

Browse files
feat: Add a new operator on companyDisplayNames filter to further support 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: googleapis/googleapis-gen@6b27e78 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmIyN2U3ODc0OWM2M2ViNGQyMWVhOTIwYWMxMGJkYzVjN2JhNGNhZiJ9
1 parent 5b59b63 commit 3c3e3f0

File tree

1 file changed

+15
-6
lines changed
  • packages/google-cloud-talent/google/cloud/talent_v4/types

1 file changed

+15
-6
lines changed

packages/google-cloud-talent/google/cloud/talent_v4/types/filters.py

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,22 @@ class JobQuery(proto.Message):
110110
This filter specifies the company
111111
[Company.display_name][google.cloud.talent.v4.Company.display_name]
112112
of the jobs to search against. The company name must match
113-
the value exactly (case sensitive).
113+
the value exactly.
114114
115-
Alternatively, if the value being searched for is wrapped in
116-
``SUBSTRING_MATCH([value])``, the company name must contain
117-
a case insensitive substring match of the value. Using this
115+
Alternatively, the value being searched for can be wrapped
116+
in different match operators. ``SUBSTRING_MATCH([value])``
117+
The company name must contain a case insensitive substring
118+
match of the value. Using this function may increase
119+
latency.
120+
121+
Sample Value: ``SUBSTRING_MATCH(google)``
122+
123+
``MULTI_WORD_TOKEN_MATCH([value])`` The value will be
124+
treated as a multi word token and the company name must
125+
contain a case insensitive match of the value. Using this
118126
function may increase latency.
119127
120-
Sample Values: ``["Google LLC", "SUBSTRING_MATCH(google)"]``
128+
Sample Value: ``MULTI_WORD_TOKEN_MATCH(google)``
121129
122130
If a value isn't specified, jobs within the search results
123131
are associated with any company.
@@ -301,7 +309,7 @@ class LocationFilter(proto.Message):
301309
telecommute_preference (google.cloud.talent_v4.types.LocationFilter.TelecommutePreference):
302310
Allows the client to return jobs without a set location,
303311
specifically, telecommuting jobs (telecommuting is
304-
considered by the service as a special location.
312+
considered by the service as a special location).
305313
[Job.posting_region][google.cloud.talent.v4.Job.posting_region]
306314
indicates if a job permits telecommuting. If this field is
307315
set to
@@ -336,6 +344,7 @@ class TelecommutePreference(proto.Enum):
336344
TELECOMMUTE_PREFERENCE_UNSPECIFIED = 0
337345
TELECOMMUTE_EXCLUDED = 1
338346
TELECOMMUTE_ALLOWED = 2
347+
TELECOMMUTE_JOBS_EXCLUDED = 3
339348

340349
address = proto.Field(
341350
proto.STRING,

0 commit comments

Comments
 (0)