public sealed class SearchJobsRequest.Types.CustomRankingInfo : IMessage<SearchJobsRequest.Types.CustomRankingInfo>, IEquatable<SearchJobsRequest.Types.CustomRankingInfo>, IDeepCloneable<SearchJobsRequest.Types.CustomRankingInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Talent Solution v4beta1 API class SearchJobsRequest.Types.CustomRankingInfo.
Custom ranking information for
[SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
public SearchJobsRequest.Types.CustomRankingInfo.Types.ImportanceLevel ImportanceLevel { get; set; }
Required. Controls over how important the score of
[CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression]
gets applied to job's final ranking position.
Required. Controls over how job documents get ranked on top of existing
relevance score (determined by API algorithm). A combination of the
ranking expression and relevance score is used to determine job's final
ranking position.
The syntax for this expression is a subset of Google SQL syntax.
Supported operators are: +, -, *, /, where the left and right side of
the operator is either a numeric
[Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes]
key, integer/double value or an expression that can be evaluated to a
number.
Parenthesis are supported to adjust calculation precedence. The
expression must be < 200 characters in length.
The expression is considered invalid for a job if the expression
references custom attributes that are not populated on the job or if the
expression results in a divide by zero. If an expression is invalid for a
job, that job is demoted to the end of the results.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eSearchJobsRequest.Types.CustomRankingInfo\u003c/code\u003e class within the Google Cloud Talent Solution v4beta1 API, providing reference and code samples.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCustomRankingInfo\u003c/code\u003e class, which inherits from \u003ccode\u003eobject\u003c/code\u003e, is used to define custom ranking information for job search requests.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eImportanceLevel\u003c/code\u003e, controlling the weight of custom ranking, and \u003ccode\u003eRankingExpression\u003c/code\u003e, which uses a Google SQL-like syntax to define custom ranking formulas.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCustomRankingInfo\u003c/code\u003e class has constructors that allow for the creation of new instances, either default or by copying from an existing \u003ccode\u003eCustomRankingInfo\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt implements the interfaces IMessage, IEquatable, IDeepCloneable, and IBufferMessage, giving it certain functionalities such as deep cloning, and allowing it to be used as a buffer message.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Talent Solution v4beta1 API - Class SearchJobsRequest.Types.CustomRankingInfo (3.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfo)\n- [3.0.0-beta05](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/3.0.0-beta05/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfo)\n- [2.0.0-beta07](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/2.0.0-beta07/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfo) \n\n public sealed class SearchJobsRequest.Types.CustomRankingInfo : IMessage\u003cSearchJobsRequest.Types.CustomRankingInfo\u003e, IEquatable\u003cSearchJobsRequest.Types.CustomRankingInfo\u003e, IDeepCloneable\u003cSearchJobsRequest.Types.CustomRankingInfo\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Talent Solution v4beta1 API class SearchJobsRequest.Types.CustomRankingInfo.\n\nCustom ranking information for\n\\[SearchJobsRequest\\]\\[google.cloud.talent.v4beta1.SearchJobsRequest\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SearchJobsRequest.Types.CustomRankingInfo \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SearchJobsRequest](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest)[Types](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types)[CustomRankingInfo](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SearchJobsRequest](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest)[Types](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types)[CustomRankingInfo](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SearchJobsRequest](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest)[Types](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types)[CustomRankingInfo](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfo), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Talent.V4Beta1](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Talent.V4Beta1.dll\n\nConstructors\n------------\n\n### CustomRankingInfo()\n\n public CustomRankingInfo()\n\n### CustomRankingInfo(CustomRankingInfo)\n\n public CustomRankingInfo(SearchJobsRequest.Types.CustomRankingInfo other)\n\nProperties\n----------\n\n### ImportanceLevel\n\n public SearchJobsRequest.Types.CustomRankingInfo.Types.ImportanceLevel ImportanceLevel { get; set; }\n\nRequired. Controls over how important the score of\n\\[CustomRankingInfo.ranking_expression\\]\\[google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression\\]\ngets applied to job's final ranking position.\n\nAn error is thrown if not specified.\n\n### RankingExpression\n\n public string RankingExpression { get; set; }\n\nRequired. Controls over how job documents get ranked on top of existing\nrelevance score (determined by API algorithm). A combination of the\nranking expression and relevance score is used to determine job's final\nranking position.\n\nThe syntax for this expression is a subset of Google SQL syntax.\n\nSupported operators are: +, -, \\*, /, where the left and right side of\nthe operator is either a numeric\n\\[Job.custom_attributes\\]\\[google.cloud.talent.v4beta1.Job.custom_attributes\\]\nkey, integer/double value or an expression that can be evaluated to a\nnumber.\n\nParenthesis are supported to adjust calculation precedence. The\nexpression must be \\\u003c 200 characters in length.\n\nThe expression is considered invalid for a job if the expression\nreferences custom attributes that are not populated on the job or if the\nexpression results in a divide by zero. If an expression is invalid for a\njob, that job is demoted to the end of the results.\n\nSample ranking expression\n(year + 25) \\* 0.25 - (freshness / 0.5)"]]