Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

Commit b8b2181

Browse files
feat: Add a new operator on companyDisplayNames filter to further support fuzzy match by treating input value as a multi word token (#422)
* feat: Add a new operator on companyDisplayNames filter to further support fuzzy match by treating input value as a multi word token 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 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent d4cddd1 commit b8b2181

4 files changed

Lines changed: 32 additions & 11 deletions

File tree

protos/google/cloud/talent/v4/filters.proto

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,22 @@ message JobQuery {
9696

9797
// This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
9898
// of the jobs to search against. The company name must match the value
99-
// exactly (case sensitive).
99+
// exactly.
100100
//
101-
// Alternatively, if the value being searched for is wrapped in
102-
// `SUBSTRING_MATCH([value])`, the company name must contain a case
103-
// insensitive substring match of the value. Using this function may increase
104-
// latency.
101+
// Alternatively, the value being searched for can be wrapped in different
102+
// match operators.
103+
// `SUBSTRING_MATCH([value])`
104+
// The company name must contain a case insensitive substring match of the
105+
// value. Using this function may increase latency.
105106
//
106-
// Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
107+
// Sample Value: `SUBSTRING_MATCH(google)`
108+
//
109+
// `MULTI_WORD_TOKEN_MATCH([value])`
110+
// The value will be treated as a multi word token and the company name must
111+
// contain a case insensitive match of the value. Using this function may
112+
// increase latency.
113+
//
114+
// Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
107115
//
108116
// If a value isn't specified, jobs within the search results are
109117
// associated with any company.
@@ -193,11 +201,15 @@ message LocationFilter {
193201
// Default value if the telecommute preference isn't specified.
194202
TELECOMMUTE_PREFERENCE_UNSPECIFIED = 0;
195203

196-
// Exclude telecommute jobs.
197-
TELECOMMUTE_EXCLUDED = 1;
204+
// Deprecated: Ignore telecommute status of jobs. Use
205+
// TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
206+
TELECOMMUTE_EXCLUDED = 1 [deprecated = true];
198207

199208
// Allow telecommute jobs.
200209
TELECOMMUTE_ALLOWED = 2;
210+
211+
// Exclude telecommute jobs.
212+
TELECOMMUTE_JOBS_EXCLUDED = 3;
201213
}
202214

203215
// The address name, such as "Mountain View" or "Bay Area".
@@ -231,7 +243,7 @@ message LocationFilter {
231243

232244
// Allows the client to return jobs without a
233245
// set location, specifically, telecommuting jobs (telecommuting is considered
234-
// by the service as a special location.
246+
// by the service as a special location).
235247
// [Job.posting_region][google.cloud.talent.v4.Job.posting_region] indicates if a job permits telecommuting.
236248
// If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED],
237249
// telecommuting jobs are searched, and [address][google.cloud.talent.v4.LocationFilter.address] and [lat_lng][google.cloud.talent.v4.LocationFilter.lat_lng] are

protos/protos.d.ts

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)