# Google Cloud Talent Solution v4beta1 API - Class SearchJobsRequest.Types.CustomRankingInfo (3.0.0-beta07)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.0.0-beta07 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfo)
- [3.0.0-beta06](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/3.0.0-beta06/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfo)
- [2.0.0-beta07](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/2.0.0-beta07/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfo)

    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\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SearchJobsRequest.Types.CustomRankingInfo

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SearchJobsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types)[CustomRankingInfo](https://docs.cloud.google.com/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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types)[CustomRankingInfo](https://docs.cloud.google.com/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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types)[CustomRankingInfo](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Talent.V4Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1)

## Assembly

Google.Cloud.Talent.V4Beta1.dll

## Constructors

### CustomRankingInfo()

    public CustomRankingInfo()

### CustomRankingInfo(CustomRankingInfo)

    public CustomRankingInfo(SearchJobsRequest.Types.CustomRankingInfo other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfo` |

## Properties

### ImportanceLevel

    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.

An error is thrown if not specified.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfohttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfo.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SearchJobsRequest.Types.CustomRankingInfo.Types.ImportanceLevel` |   |

### RankingExpression

    public string RankingExpression { get; set; }

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.

Sample ranking expression
(year + 25) \* 0.25 - (freshness / 0.5)

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |