Reference documentation and code samples for the Google Cloud Channel V1 Client class RepricingConfig.
Configuration for repricing a Google bill over a period of time.
Generated from protobuf message google.cloud.channel.v1.RepricingConfig
Namespace
Google \ Cloud \ Channel \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ entitlement_granularity
Google\Cloud\Channel\V1\RepricingConfig\EntitlementGranularity
Applies the repricing configuration at the entitlement level. Note: If a ChannelPartnerRepricingConfig using RepricingConfig.EntitlementGranularity becomes effective, then no existing or future RepricingConfig.ChannelPartnerGranularity will apply to the RepricingConfig.EntitlementGranularity.entitlement . This is the recommended value for both CustomerRepricingConfig and ChannelPartnerRepricingConfig .
↳ channel_partner_granularity
Google\Cloud\Channel\V1\RepricingConfig\ChannelPartnerGranularity
Applies the repricing configuration at the channel partner level. Only ChannelPartnerRepricingConfig supports this value. Deprecated: This is no longer supported. Use RepricingConfig.entitlement_granularity instead.
↳ effective_invoice_month
Google\Type\Date
Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
↳ adjustment
↳ rebilling_basis
int
Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.
↳ conditional_overrides
array< Google\Cloud\Channel\V1\ConditionalOverride
>
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.
getEntitlementGranularity
Applies the repricing configuration at the entitlement level.
Note: If a ChannelPartnerRepricingConfig using RepricingConfig.EntitlementGranularity becomes effective, then no existing or future RepricingConfig.ChannelPartnerGranularity will apply to the RepricingConfig.EntitlementGranularity.entitlement . This is the recommended value for both CustomerRepricingConfig and ChannelPartnerRepricingConfig .
hasEntitlementGranularity
setEntitlementGranularity
Applies the repricing configuration at the entitlement level.
Note: If a ChannelPartnerRepricingConfig using RepricingConfig.EntitlementGranularity becomes effective, then no existing or future RepricingConfig.ChannelPartnerGranularity will apply to the RepricingConfig.EntitlementGranularity.entitlement . This is the recommended value for both CustomerRepricingConfig and ChannelPartnerRepricingConfig .
$this
getChannelPartnerGranularity
Applies the repricing configuration at the channel partner level.
Only ChannelPartnerRepricingConfig supports this value. Deprecated: This is no longer supported. Use RepricingConfig.entitlement_granularity instead.
Google\Cloud\Channel\V1\RepricingConfig\ChannelPartnerGranularity
|null
hasChannelPartnerGranularity
setChannelPartnerGranularity
Applies the repricing configuration at the channel partner level.
Only ChannelPartnerRepricingConfig supports this value. Deprecated: This is no longer supported. Use RepricingConfig.entitlement_granularity instead.
var
Google\Cloud\Channel\V1\RepricingConfig\ChannelPartnerGranularity
$this
getEffectiveInvoiceMonth
Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
hasEffectiveInvoiceMonth
clearEffectiveInvoiceMonth
setEffectiveInvoiceMonth
Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
$this
getAdjustment
Required. Information about the adjustment.
hasAdjustment
clearAdjustment
setAdjustment
Required. Information about the adjustment.
$this
getRebillingBasis
Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.
int
setRebillingBasis
Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.
var
int
$this
getConditionalOverrides
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.
setConditionalOverrides
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.
$this
getGranularity
string