public sealed class RepricingConfig : IMessage<RepricingConfig>, IEquatable<RepricingConfig>, IDeepCloneable<RepricingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Channel v1 API class RepricingConfig.
Configuration for repricing a Google bill over a period of time.
Applies the repricing configuration at the channel partner level.
Only
[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
supports this value. Deprecated: This is no longer supported. Use
[RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity]
instead.
public RepeatedField<ConditionalOverride> ConditionalOverrides { get; }
The conditional overrides to apply for this configuration. If you list
multiple overrides, only the first valid override is used. If you don't
list any overrides, the API uses the normal adjustment and rebilling basis.
public RepricingConfig.Types.EntitlementGranularity EntitlementGranularity { get; set; }
Applies the repricing configuration at the entitlement level.
Note: If a
[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
using
[RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity]
becomes effective, then no existing or future
[RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity]
will apply to the
[RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].
This is the recommended value for both
[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
and
[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig].
public RebillingBasis RebillingBasis { get; set; }
Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
use for this bill. Specifies the relative cost based on repricing costs you
will apply.
[[["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\u003eThe latest version of the \u003ccode\u003eRepricingConfig\u003c/code\u003e class in the Cloud Channel v1 API is 2.14.0, and is used for repricing Google bills over time.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eRepricingConfig\u003c/code\u003e, is part of the \u003ccode\u003eGoogle.Cloud.Channel.V1\u003c/code\u003e namespace within the Google.Cloud.Channel.V1.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRepricingConfig\u003c/code\u003e class allows configuration at either the channel partner or entitlement level, with the latter being the recommended approach for both \u003ccode\u003eCustomerRepricingConfig\u003c/code\u003e and \u003ccode\u003eChannelPartnerRepricingConfig\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eRepricingConfig\u003c/code\u003e class include \u003ccode\u003eAdjustment\u003c/code\u003e, \u003ccode\u003eConditionalOverrides\u003c/code\u003e, \u003ccode\u003eEffectiveInvoiceMonth\u003c/code\u003e, and \u003ccode\u003eRebillingBasis\u003c/code\u003e, which allow for the specification of repricing adjustments, conditional overrides, activation dates, and rebilling methods.\u003c/p\u003e\n"],["\u003cp\u003eIt implements various interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Channel v1 API - Class RepricingConfig (2.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.15.0 (latest)](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.14.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.13.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.12.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.11.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.10.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.9.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.8.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.7.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.6.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.5.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.4.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.3.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.2.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.1.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.0.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.7.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.6.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.5.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.4.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.3.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.2.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.1.0/Google.Cloud.Channel.V1.RepricingConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.0.0/Google.Cloud.Channel.V1.RepricingConfig) \n\n public sealed class RepricingConfig : IMessage\u003cRepricingConfig\u003e, IEquatable\u003cRepricingConfig\u003e, IDeepCloneable\u003cRepricingConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Channel v1 API class RepricingConfig.\n\nConfiguration for repricing a Google bill over a period of time. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RepricingConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RepricingConfig](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RepricingConfig](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RepricingConfig](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig), [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.Channel.V1](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Channel.V1.dll\n\nConstructors\n------------\n\n### RepricingConfig()\n\n public RepricingConfig()\n\n### RepricingConfig(RepricingConfig)\n\n public RepricingConfig(RepricingConfig other)\n\nProperties\n----------\n\n### Adjustment\n\n public RepricingAdjustment Adjustment { get; set; }\n\nRequired. Information about the adjustment.\n\n### ChannelPartnerGranularity\n\n [Obsolete]\n public RepricingConfig.Types.ChannelPartnerGranularity ChannelPartnerGranularity { get; set; }\n\nApplies the repricing configuration at the channel partner level.\nOnly\n\\[ChannelPartnerRepricingConfig\\]\\[google.cloud.channel.v1.ChannelPartnerRepricingConfig\\]\nsupports this value. Deprecated: This is no longer supported. Use\n\\[RepricingConfig.entitlement_granularity\\]\\[google.cloud.channel.v1.RepricingConfig.entitlement_granularity\\]\ninstead.\n\n### ConditionalOverrides\n\n public RepeatedField\u003cConditionalOverride\u003e ConditionalOverrides { get; }\n\nThe conditional overrides to apply for this configuration. If you list\nmultiple overrides, only the first valid override is used. If you don't\nlist any overrides, the API uses the normal adjustment and rebilling basis.\n\n### EffectiveInvoiceMonth\n\n public Date EffectiveInvoiceMonth { get; set; }\n\nRequired. The YearMonth when these adjustments activate. The Day field\nneeds to be \"0\" since we only accept YearMonth repricing boundaries.\n\n### EntitlementGranularity\n\n public RepricingConfig.Types.EntitlementGranularity EntitlementGranularity { get; set; }\n\nApplies the repricing configuration at the entitlement level.\n\nNote: If a\n\\[ChannelPartnerRepricingConfig\\]\\[google.cloud.channel.v1.ChannelPartnerRepricingConfig\\]\nusing\n\\[RepricingConfig.EntitlementGranularity\\]\\[google.cloud.channel.v1.RepricingConfig.EntitlementGranularity\\]\nbecomes effective, then no existing or future\n\\[RepricingConfig.ChannelPartnerGranularity\\]\\[google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity\\]\nwill apply to the\n\\[RepricingConfig.EntitlementGranularity.entitlement\\]\\[google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement\\].\nThis is the recommended value for both\n\\[CustomerRepricingConfig\\]\\[google.cloud.channel.v1.CustomerRepricingConfig\\]\nand\n\\[ChannelPartnerRepricingConfig\\]\\[google.cloud.channel.v1.ChannelPartnerRepricingConfig\\].\n\n### GranularityCase\n\n public RepricingConfig.GranularityOneofCase GranularityCase { get; }\n\n### RebillingBasis\n\n public RebillingBasis RebillingBasis { get; set; }\n\nRequired. The \\[RebillingBasis\\]\\[google.cloud.channel.v1.RebillingBasis\\] to\nuse for this bill. Specifies the relative cost based on repricing costs you\nwill apply."]]