RepricingConfig

Stay organized with collections Save and categorize content based on your preferences.

Configuration for repricing a Google bill over a period of time.

JSON representation
{
  "effectiveInvoiceMonth": {
    object (Date)
  },
  "adjustment": {
    object (RepricingAdjustment)
  },
  "rebillingBasis": enum (RebillingBasis),

  // Union field granularity can be only one of the following:
  "entitlementGranularity": {
    object (EntitlementGranularity)
  },
  "channelPartnerGranularity": {
    object (ChannelPartnerGranularity)
  }
  // End of list of possible types for union field granularity.
}
Fields
effectiveInvoiceMonth

object (Date)

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

adjustment

object (RepricingAdjustment)

Required. Information about the adjustment.

rebillingBasis

enum (RebillingBasis)

Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.

Union field granularity. Required. Defines the granularity for repricing. granularity can be only one of the following:
entitlementGranularity

object (EntitlementGranularity)

Applies the repricing configuration at the entitlement level. This is the only supported value for CustomerRepricingConfig.

channelPartnerGranularity

object (ChannelPartnerGranularity)

Applies the repricing configuration at the channel partner level. This is the only supported value for ChannelPartnerRepricingConfig.

EntitlementGranularity

Applies the repricing configuration at the entitlement level.

JSON representation
{
  "entitlement": string
}
Fields
entitlement

string

Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

ChannelPartnerGranularity

Applies the repricing configuration at the channel partner level. The channel partner value is derived from the resource name. Takes an empty json object.

RepricingAdjustment

A type that represents the various adjustments you can apply to a bill.

JSON representation
{
  "percentageAdjustment": {
    object (PercentageAdjustment)
  }
}
Fields
percentageAdjustment

object (PercentageAdjustment)

Flat markup or markdown on an entire bill.

PercentageAdjustment

An adjustment that applies a flat markup or markdown to an entire bill.

JSON representation
{
  "percentage": {
    object (Decimal)
  }
}
Fields
percentage

object (Decimal)

The percentage of the bill to adjust. For example: Mark down by 1% => "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00"

RebillingBasis

Specifies the different costs that the modified bill can be based on.

Enums
REBILLING_BASIS_UNSPECIFIED Not used.
COST_AT_LIST Use the list cost, also known as the MSRP.
DIRECT_CUSTOMER_COST Pass through all discounts except the Reseller Program Discount. If this is the default cost base and no adjustments are specified, the output cost will be exactly what the customer would see if they viewed the bill in the Google Cloud Console.