Skip to content

Commit

Permalink
feat: A new enum RelevanceThreshold is added
Browse files Browse the repository at this point in the history
feat: A new field `relevance_threshold` is added to message `.google.cloud.talent.v4beta1.SearchJobsRequest`

PiperOrigin-RevId: 711468273

Source-Link: googleapis/googleapis@528ea46

Source-Link: googleapis/googleapis-gen@7adb146
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuVGFsZW50LlY0QmV0YTEvLk93bEJvdC55YW1sIiwiaCI6IjdhZGIxNDZmOTM1MDVjMGJhMjU0ZjcyYTRmNWRmYzAyNDM3MjZjMDcifQ==
  • Loading branch information
gcf-owl-bot[bot] authored and jskeet committed Jan 3, 2025
1 parent 1c32932 commit d704518
Show file tree
Hide file tree
Showing 7 changed files with 199 additions and 113 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public async Task SearchJobsForAlertRequestObjectAsync()
CustomRankingInfo = new SearchJobsRequest.Types.CustomRankingInfo(),
DisableKeywordMatch = false,
KeywordMatchMode = SearchJobsRequest.Types.KeywordMatchMode.Unspecified,
RelevanceThreshold = SearchJobsRequest.Types.RelevanceThreshold.Unspecified,
};
// Make the request
PagedAsyncEnumerable<SearchJobsResponse, SearchJobsResponse.Types.MatchingJob> response = jobServiceClient.SearchJobsForAlertAsync(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public void SearchJobsForAlertRequestObject()
CustomRankingInfo = new SearchJobsRequest.Types.CustomRankingInfo(),
DisableKeywordMatch = false,
KeywordMatchMode = SearchJobsRequest.Types.KeywordMatchMode.Unspecified,
RelevanceThreshold = SearchJobsRequest.Types.RelevanceThreshold.Unspecified,
};
// Make the request
PagedEnumerable<SearchJobsResponse, SearchJobsResponse.Types.MatchingJob> response = jobServiceClient.SearchJobsForAlert(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public async Task SearchJobsRequestObjectAsync()
CustomRankingInfo = new SearchJobsRequest.Types.CustomRankingInfo(),
DisableKeywordMatch = false,
KeywordMatchMode = SearchJobsRequest.Types.KeywordMatchMode.Unspecified,
RelevanceThreshold = SearchJobsRequest.Types.RelevanceThreshold.Unspecified,
};
// Make the request
SearchJobsResponse response = await jobServiceClient.SearchJobsAsync(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public void SearchJobsRequestObject()
CustomRankingInfo = new SearchJobsRequest.Types.CustomRankingInfo(),
DisableKeywordMatch = false,
KeywordMatchMode = SearchJobsRequest.Types.KeywordMatchMode.Unspecified,
RelevanceThreshold = SearchJobsRequest.Types.RelevanceThreshold.Unspecified,
};
// Make the request
SearchJobsResponse response = jobServiceClient.SearchJobs(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4987,12 +4987,12 @@
"segments": [
{
"start": 20,
"end": 61,
"end": 62,
"type": "FULL"
},
{
"start": 34,
"end": 59,
"end": 60,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -5036,12 +5036,12 @@
"segments": [
{
"start": 20,
"end": 62,
"end": 63,
"type": "FULL"
},
{
"start": 35,
"end": 60,
"end": 61,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -5084,12 +5084,12 @@
"segments": [
{
"start": 20,
"end": 93,
"end": 94,
"type": "FULL"
},
{
"start": 36,
"end": 91,
"end": 92,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -5133,12 +5133,12 @@
"segments": [
{
"start": 20,
"end": 95,
"end": 96,
"type": "FULL"
},
{
"start": 38,
"end": 93,
"end": 94,
"type": "SHORT"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1414,6 +1414,7 @@ public void SearchJobsRequestObject()
CustomRankingInfo = new SearchJobsRequest.Types.CustomRankingInfo(),
DisableKeywordMatch = false,
KeywordMatchMode = SearchJobsRequest.Types.KeywordMatchMode.Unspecified,
RelevanceThreshold = SearchJobsRequest.Types.RelevanceThreshold.Unspecified,
};
// Make the request
SearchJobsResponse response = jobServiceClient.SearchJobs(request);
Expand Down Expand Up @@ -1448,6 +1449,7 @@ public async Task SearchJobsRequestObjectAsync()
CustomRankingInfo = new SearchJobsRequest.Types.CustomRankingInfo(),
DisableKeywordMatch = false,
KeywordMatchMode = SearchJobsRequest.Types.KeywordMatchMode.Unspecified,
RelevanceThreshold = SearchJobsRequest.Types.RelevanceThreshold.Unspecified,
};
// Make the request
SearchJobsResponse response = await jobServiceClient.SearchJobsAsync(request);
Expand Down Expand Up @@ -1479,6 +1481,7 @@ public void SearchJobsForAlertRequestObject()
CustomRankingInfo = new SearchJobsRequest.Types.CustomRankingInfo(),
DisableKeywordMatch = false,
KeywordMatchMode = SearchJobsRequest.Types.KeywordMatchMode.Unspecified,
RelevanceThreshold = SearchJobsRequest.Types.RelevanceThreshold.Unspecified,
};
// Make the request
PagedEnumerable<SearchJobsResponse, SearchJobsResponse.Types.MatchingJob> response = jobServiceClient.SearchJobsForAlert(request);
Expand Down Expand Up @@ -1542,6 +1545,7 @@ public async Task SearchJobsForAlertRequestObjectAsync()
CustomRankingInfo = new SearchJobsRequest.Types.CustomRankingInfo(),
DisableKeywordMatch = false,
KeywordMatchMode = SearchJobsRequest.Types.KeywordMatchMode.Unspecified,
RelevanceThreshold = SearchJobsRequest.Types.RelevanceThreshold.Unspecified,
};
// Make the request
PagedAsyncEnumerable<SearchJobsResponse, SearchJobsResponse.Types.MatchingJob> response = jobServiceClient.SearchJobsForAlertAsync(request);
Expand Down
Loading

0 comments on commit d704518

Please sign in to comment.