2.17.0 (latest) 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    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.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[RepricingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RepricingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[RepricingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.RepricingConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Channel.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.md.txt)

## Assembly

Google.Cloud.Channel.V1.dll

## Constructors

### RepricingConfig()

    public RepricingConfig()

### RepricingConfig(RepricingConfig)

    public RepricingConfig(RepricingConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `RepricingConfig` |

## Properties

### Adjustment

    public RepricingAdjustment Adjustment { get; set; }

Required. Information about the adjustment.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepricingAdjustment` |   |

### ChannelPartnerGranularity

    [Obsolete]
    public RepricingConfig.Types.ChannelPartnerGranularity ChannelPartnerGranularity { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepricingConfigTypesChannelPartnerGranularity` |   |

### ConditionalOverrides

    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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldConditionalOverride` |   |

### EffectiveInvoiceMonth

    public Date EffectiveInvoiceMonth { get; set; }

Required. The YearMonth when these adjustments activate. The Day field
needs to be "0" since we only accept YearMonth repricing boundaries.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Date` |   |

### EntitlementGranularity

    public RepricingConfig.Types.EntitlementGranularity EntitlementGranularity { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepricingConfigTypesEntitlementGranularity` |   |

### GranularityCase

    public RepricingConfig.GranularityOneofCase GranularityCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepricingConfigGranularityOneofCase` |   |

### RebillingBasis

    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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RebillingBasis` |   |