Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class DiversificationLevel.
Controls whether highly similar jobs are returned next to each other in
the search results. Jobs are identified as highly similar based on
their titles, job categories, and locations. Highly similar results are
clustered so that only one representative job of the cluster is
displayed to the job seeker higher up in the results, with the other jobs
being displayed lower down in the results.
If you are using pageToken to page through the result set,
latency might be lower but we can't guarantee that all results are
returned. If you are using page offset, latency might be higher but all
results are returned.
Protobuf type google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel
Namespace
Google \ Cloud \ Talent \ V4 \ SearchJobsRequest
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
DIVERSIFICATION_LEVEL_UNSPECIFIED
Value: 0
The diversification level isn't specified.
Generated from protobuf enum DIVERSIFICATION_LEVEL_UNSPECIFIED = 0;
DISABLED
Value: 1
Disables diversification. Jobs that would normally be pushed to the last
page would not have their positions altered. This may result in highly
similar jobs appearing in sequence in the search results.
Generated from protobuf enum DISABLED = 1;
SIMPLE
Value: 2
Default diversifying behavior. The result list is ordered so that
highly similar results are pushed to the end of the last page of search
results.
Generated from protobuf enum SIMPLE = 2;
ONE_PER_COMPANY
Value: 3
Only one job from the same company will be shown at once, other jobs
under same company are pushed to the end of the last page of search
result.
Generated from protobuf enum ONE_PER_COMPANY = 3;
TWO_PER_COMPANY
Value: 4
Similar to ONE_PER_COMPANY, but it allows at most two jobs 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.
Generated from protobuf enum TWO_PER_COMPANY = 4;
MAX_THREE_PER_COMPANY
Value: 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.
Generated from protobuf enum MAX_THREE_PER_COMPANY = 6;
DIVERSIFY_BY_LOOSER_SIMILARITY
Value: 5
The result list is ordered such that somewhat similar results are pushed
to the end of the last page of the search results. This option is
recommended if SIMPLE diversification does not diversify enough.
Generated from protobuf enum DIVERSIFY_BY_LOOSER_SIMILARITY = 5;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Talent Solution V4 Client - Class DiversificationLevel (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-talent/latest/V4.SearchJobsRequest.DiversificationLevel)\n- [2.1.2](/php/docs/reference/cloud-talent/2.1.2/V4.SearchJobsRequest.DiversificationLevel)\n- [2.0.2](/php/docs/reference/cloud-talent/2.0.2/V4.SearchJobsRequest.DiversificationLevel)\n- [1.3.5](/php/docs/reference/cloud-talent/1.3.5/V4.SearchJobsRequest.DiversificationLevel)\n- [1.2.2](/php/docs/reference/cloud-talent/1.2.2/V4.SearchJobsRequest.DiversificationLevel)\n- [1.1.1](/php/docs/reference/cloud-talent/1.1.1/V4.SearchJobsRequest.DiversificationLevel)\n- [1.0.5](/php/docs/reference/cloud-talent/1.0.5/V4.SearchJobsRequest.DiversificationLevel) \nReference documentation and code samples for the Google Cloud Talent Solution V4 Client class DiversificationLevel.\n\nControls whether highly similar jobs are returned next to each other in\nthe search results. Jobs are identified as highly similar based on\ntheir titles, job categories, and locations. Highly similar results are\nclustered so that only one representative job of the cluster is\ndisplayed to the job seeker higher up in the results, with the other jobs\nbeing displayed lower down in the results.\n\nIf you are using pageToken to page through the result set,\nlatency might be lower but we can't guarantee that all results are\nreturned. If you are using page offset, latency might be higher but all\nresults are returned.\n\nProtobuf type `google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Talent \\\\ V4 \\\\ SearchJobsRequest\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### DIVERSIFICATION_LEVEL_UNSPECIFIED\n\n Value: 0\n\nThe diversification level isn't specified.\n\nGenerated from protobuf enum `DIVERSIFICATION_LEVEL_UNSPECIFIED = 0;`\n\n### DISABLED\n\n Value: 1\n\nDisables diversification. Jobs that would normally be pushed to the last\npage would not have their positions altered. This may result in highly\nsimilar jobs appearing in sequence in the search results.\n\nGenerated from protobuf enum `DISABLED = 1;`\n\n### SIMPLE\n\n Value: 2\n\nDefault diversifying behavior. The result list is ordered so that\nhighly similar results are pushed to the end of the last page of search\nresults.\n\nGenerated from protobuf enum `SIMPLE = 2;`\n\n### ONE_PER_COMPANY\n\n Value: 3\n\nOnly one job from the same company will be shown at once, other jobs\nunder same company are pushed to the end of the last page of search\nresult.\n\nGenerated from protobuf enum `ONE_PER_COMPANY = 3;`\n\n### TWO_PER_COMPANY\n\n Value: 4\n\nSimilar to ONE_PER_COMPANY, but it allows at most two jobs in the\nsame company to be shown at once, the other jobs under same company are\npushed to the end of the last page of search result.\n\nGenerated from protobuf enum `TWO_PER_COMPANY = 4;`\n\n### MAX_THREE_PER_COMPANY\n\n Value: 6\n\nSimilar to ONE_PER_COMPANY, but it allows at most three jobs in the\nsame company to be shown at once, the other jobs under same company are\ndropped.\n\nGenerated from protobuf enum `MAX_THREE_PER_COMPANY = 6;`\n\n### DIVERSIFY_BY_LOOSER_SIMILARITY\n\n Value: 5\n\nThe result list is ordered such that somewhat similar results are pushed\nto the end of the last page of the search results. This option is\nrecommended if SIMPLE diversification does not diversify enough.\n\nGenerated from protobuf enum `DIVERSIFY_BY_LOOSER_SIMILARITY = 5;`"]]