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.
Required. TheRebillingBasisto
use for this bill. Specifies the relative cost based on repricing costs you
will apply.
Returns
Type
Description
int
setRebillingBasis
Required. TheRebillingBasisto
use for this bill. Specifies the relative cost based on repricing costs you
will apply.
Parameter
Name
Description
var
int
Returns
Type
Description
$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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Channel V1 Client - Class RepricingConfig (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-channel/latest/V1.RepricingConfig)\n- [2.2.0](/php/docs/reference/cloud-channel/2.2.0/V1.RepricingConfig)\n- [2.1.4](/php/docs/reference/cloud-channel/2.1.4/V1.RepricingConfig)\n- [2.0.0](/php/docs/reference/cloud-channel/2.0.0/V1.RepricingConfig)\n- [1.9.5](/php/docs/reference/cloud-channel/1.9.5/V1.RepricingConfig)\n- [1.8.2](/php/docs/reference/cloud-channel/1.8.2/V1.RepricingConfig)\n- [1.7.0](/php/docs/reference/cloud-channel/1.7.0/V1.RepricingConfig)\n- [1.6.0](/php/docs/reference/cloud-channel/1.6.0/V1.RepricingConfig)\n- [1.5.0](/php/docs/reference/cloud-channel/1.5.0/V1.RepricingConfig)\n- [1.4.0](/php/docs/reference/cloud-channel/1.4.0/V1.RepricingConfig)\n- [1.3.0](/php/docs/reference/cloud-channel/1.3.0/V1.RepricingConfig)\n- [1.2.1](/php/docs/reference/cloud-channel/1.2.1/V1.RepricingConfig)\n- [1.1.1](/php/docs/reference/cloud-channel/1.1.1/V1.RepricingConfig)\n- [1.0.1](/php/docs/reference/cloud-channel/1.0.1/V1.RepricingConfig) \nReference documentation and code samples for the Google Cloud Channel V1 Client class RepricingConfig.\n\nConfiguration for repricing a Google bill over a period of time.\n\nGenerated from protobuf message `google.cloud.channel.v1.RepricingConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Channel \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEntitlementGranularity\n\nApplies the repricing configuration at the entitlement level.\n\nNote: If a\n[ChannelPartnerRepricingConfig](/php/docs/reference/cloud-channel/latest/V1.ChannelPartnerRepricingConfig)\nusing\n[RepricingConfig.EntitlementGranularity](/php/docs/reference/cloud-channel/latest/V1.RepricingConfig.EntitlementGranularity)\nbecomes effective, then no existing or future\nRepricingConfig.ChannelPartnerGranularity\nwill apply to the\n[RepricingConfig.EntitlementGranularity.entitlement](/php/docs/reference/cloud-channel/latest/V1.RepricingConfig.EntitlementGranularity#_Google_Cloud_Channel_V1_RepricingConfig_EntitlementGranularity__getEntitlement__).\nThis is the recommended value for both\n[CustomerRepricingConfig](/php/docs/reference/cloud-channel/latest/V1.CustomerRepricingConfig)\nand\n[ChannelPartnerRepricingConfig](/php/docs/reference/cloud-channel/latest/V1.ChannelPartnerRepricingConfig).\n\n### hasEntitlementGranularity\n\n### setEntitlementGranularity\n\nApplies the repricing configuration at the entitlement level.\n\nNote: If a\n[ChannelPartnerRepricingConfig](/php/docs/reference/cloud-channel/latest/V1.ChannelPartnerRepricingConfig)\nusing\n[RepricingConfig.EntitlementGranularity](/php/docs/reference/cloud-channel/latest/V1.RepricingConfig.EntitlementGranularity)\nbecomes effective, then no existing or future\nRepricingConfig.ChannelPartnerGranularity\nwill apply to the\n[RepricingConfig.EntitlementGranularity.entitlement](/php/docs/reference/cloud-channel/latest/V1.RepricingConfig.EntitlementGranularity#_Google_Cloud_Channel_V1_RepricingConfig_EntitlementGranularity__getEntitlement__).\nThis is the recommended value for both\n[CustomerRepricingConfig](/php/docs/reference/cloud-channel/latest/V1.CustomerRepricingConfig)\nand\n[ChannelPartnerRepricingConfig](/php/docs/reference/cloud-channel/latest/V1.ChannelPartnerRepricingConfig).\n\n### getChannelPartnerGranularity\n\nApplies the repricing configuration at the channel partner level.\n\nOnly\n[ChannelPartnerRepricingConfig](/php/docs/reference/cloud-channel/latest/V1.ChannelPartnerRepricingConfig)\nsupports this value. Deprecated: This is no longer supported. Use\n[RepricingConfig.entitlement_granularity](/php/docs/reference/cloud-channel/latest/V1.RepricingConfig#_Google_Cloud_Channel_V1_RepricingConfig__getEntitlementGranularity__)\ninstead.\n\n### hasChannelPartnerGranularity\n\n### setChannelPartnerGranularity\n\nApplies the repricing configuration at the channel partner level.\n\nOnly\n[ChannelPartnerRepricingConfig](/php/docs/reference/cloud-channel/latest/V1.ChannelPartnerRepricingConfig)\nsupports this value. Deprecated: This is no longer supported. Use\n[RepricingConfig.entitlement_granularity](/php/docs/reference/cloud-channel/latest/V1.RepricingConfig#_Google_Cloud_Channel_V1_RepricingConfig__getEntitlementGranularity__)\ninstead.\n\n### getEffectiveInvoiceMonth\n\nRequired. The YearMonth when these adjustments activate. The Day field\nneeds to be \"0\" since we only accept YearMonth repricing boundaries.\n\n### hasEffectiveInvoiceMonth\n\n### clearEffectiveInvoiceMonth\n\n### setEffectiveInvoiceMonth\n\nRequired. The YearMonth when these adjustments activate. The Day field\nneeds to be \"0\" since we only accept YearMonth repricing boundaries.\n\n### getAdjustment\n\nRequired. Information about the adjustment.\n\n### hasAdjustment\n\n### clearAdjustment\n\n### setAdjustment\n\nRequired. Information about the adjustment.\n\n### getRebillingBasis\n\nRequired. The [RebillingBasis](/php/docs/reference/cloud-channel/latest/V1.RebillingBasis) to\nuse for this bill. Specifies the relative cost based on repricing costs you\nwill apply.\n\n### setRebillingBasis\n\nRequired. The [RebillingBasis](/php/docs/reference/cloud-channel/latest/V1.RebillingBasis) to\nuse for this bill. Specifies the relative cost based on repricing costs you\nwill apply.\n\n### getConditionalOverrides\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### setConditionalOverrides\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### getGranularity"]]