From 532f47463aa580113e358475cb5de8b622fd3b88 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 31 May 2023 15:03:12 -0400 Subject: [PATCH] docs: Add three per company option to diversification levels (#339) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: Add three per company option to diversification levels PiperOrigin-RevId: 536429537 Source-Link: https://github.com/googleapis/googleapis/commit/7cb9709446ff8de8c1587448889b1dd26a3b1b2d Source-Link: https://github.com/googleapis/googleapis-gen/commit/bc0f6d65d7da9fb78c6e3773d8c0cc8b1af86b41 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmMwZjZkNjVkN2RhOWZiNzhjNmUzNzczZDhjMGNjOGIxYWY4NmI0MSJ9 * 🦉 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 --- google/cloud/talent_v4/types/job_service.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/google/cloud/talent_v4/types/job_service.py b/google/cloud/talent_v4/types/job_service.py index 71c14569..87b99e9c 100644 --- a/google/cloud/talent_v4/types/job_service.py +++ b/google/cloud/talent_v4/types/job_service.py @@ -665,6 +665,10 @@ class DiversificationLevel(proto.Enum): in the same company to be shown at once, the other jobs under same company are pushed to the end of the last page of search result. + MAX_THREE_PER_COMPANY (6): + Similar to ONE_PER_COMPANY, but it allows at most three jobs + in the same company to be shown at once, the other jobs + under same company are dropped. DIVERSIFY_BY_LOOSER_SIMILARITY (5): The result list is ordered such that somewhat similar results are pushed to the end of the @@ -677,6 +681,7 @@ class DiversificationLevel(proto.Enum): SIMPLE = 2 ONE_PER_COMPANY = 3 TWO_PER_COMPANY = 4 + MAX_THREE_PER_COMPANY = 6 DIVERSIFY_BY_LOOSER_SIMILARITY = 5 class KeywordMatchMode(proto.Enum):