public sealed class CompensationInfo.Types.CompensationRange : IMessage<CompensationInfo.Types.CompensationRange>, IEquatable<CompensationInfo.Types.CompensationRange>, IDeepCloneable<CompensationInfo.Types.CompensationRange>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Talent Solution v4 API class CompensationInfo.Types.CompensationRange.
The maximum amount of compensation. If left empty, the value is set
to a maximal compensation value and the currency code is set to
match the [currency code][google.type.Money.currency_code] of
min_compensation.
The minimum amount of compensation. If left empty, the value is set
to zero and the currency code is set to match the
[currency code][google.type.Money.currency_code] of max_compensation.
[[["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 webpage provides documentation for the \u003ccode\u003eCompensationInfo.Types.CompensationRange\u003c/code\u003e class within the Google Cloud Talent Solution v4 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompensationRange\u003c/code\u003e class represents a range of compensation and can have a minimum and maximum compensation value, both of which are represented by the \u003ccode\u003eMoney\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the documentation available, ranging from version 1.0.0 to the latest version, 2.7.0, which are listed on the page.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Talent Solution v4 API - Class CompensationInfo.Types.CompensationRange (2.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.6.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.5.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.4.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.3.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.2.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.1.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.0.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.4.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.3.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.2.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.1.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.0.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange) \n\n public sealed class CompensationInfo.Types.CompensationRange : IMessage\u003cCompensationInfo.Types.CompensationRange\u003e, IEquatable\u003cCompensationInfo.Types.CompensationRange\u003e, IDeepCloneable\u003cCompensationInfo.Types.CompensationRange\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Talent Solution v4 API class CompensationInfo.Types.CompensationRange.\n\nCompensation range. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CompensationInfo.Types.CompensationRange \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CompensationInfo](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo)[Types](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types)[CompensationRange](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CompensationInfo](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo)[Types](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types)[CompensationRange](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CompensationInfo](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo)[Types](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types)[CompensationRange](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationRange), [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.V4](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4)\n\nAssembly\n--------\n\nGoogle.Cloud.Talent.V4.dll\n\nConstructors\n------------\n\n### CompensationRange()\n\n public CompensationRange()\n\n### CompensationRange(CompensationRange)\n\n public CompensationRange(CompensationInfo.Types.CompensationRange other)\n\nProperties\n----------\n\n### MaxCompensation\n\n public Money MaxCompensation { get; set; }\n\nThe maximum amount of compensation. If left empty, the value is set\nto a maximal compensation value and the currency code is set to\nmatch the \\[currency code\\]\\[google.type.Money.currency_code\\] of\nmin_compensation.\n\n### MinCompensation\n\n public Money MinCompensation { get; set; }\n\nThe minimum amount of compensation. If left empty, the value is set\nto zero and the currency code is set to match the\n\\[currency code\\]\\[google.type.Money.currency_code\\] of max_compensation."]]