Cloud Channel v1 API - Class RepricingConfig (2.10.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 > RepricingConfig

Namespace

Google.Cloud.Channel.V1

Assembly

Google.Cloud.Channel.V1.dll

Constructors

RepricingConfig()

public RepricingConfig()

RepricingConfig(RepricingConfig)

public RepricingConfig(RepricingConfig other)
Parameter
NameDescription
otherRepricingConfig

Properties

Adjustment

public RepricingAdjustment Adjustment { get; set; }

Required. Information about the adjustment.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Date

EntitlementGranularity

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

Property Value
TypeDescription
RepricingConfigTypesEntitlementGranularity

GranularityCase

public RepricingConfig.GranularityOneofCase GranularityCase { get; }
Property Value
TypeDescription
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
TypeDescription
RebillingBasis