- JSON representation
- EntitlementGranularity
- ChannelPartnerGranularity
- RepricingAdjustment
- PercentageAdjustment
- RebillingBasis
- ConditionalOverride
- RepricingCondition
- SkuGroupCondition
Configuration for repricing a Google bill over a period of time.
JSON representation |
---|
{ "effectiveInvoiceMonth": { object ( |
Fields | |
---|---|
effectiveInvoiceMonth |
Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries. |
adjustment |
Required. Information about the adjustment. |
rebillingBasis |
Required. The |
conditionalOverrides[] |
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. |
Union field granularity . Required. Defines the granularity for repricing. granularity can be only one of the following: |
|
entitlementGranularity |
Applies the repricing configuration at the entitlement level. Note: If a |
channelPartnerGranularity |
Applies the repricing configuration at the channel partner level. Only |
EntitlementGranularity
Applies the repricing configuration at the entitlement level.
JSON representation |
---|
{ "entitlement": string } |
Fields | |
---|---|
entitlement |
Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} |
ChannelPartnerGranularity
This type has no fields.
Applies the repricing configuration at the channel partner level. The channel partner value is derived from the resource name. Takes an empty json object. Deprecated: This is no longer supported. Use RepricingConfig.EntitlementGranularity
instead.
RepricingAdjustment
A type that represents the various adjustments you can apply to a bill.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field adjustment . A oneof that represents the different types for this adjustment. adjustment can be only one of the following: |
|
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 ( |
Fields | |
---|---|
percentage |
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. |
ConditionalOverride
Specifies the override to conditionally apply.
JSON representation |
---|
{ "adjustment": { object ( |
Fields | |
---|---|
adjustment |
Required. Information about the applied override's adjustment. |
rebillingBasis |
Required. The |
repricingCondition |
Required. Specifies the condition which, if met, will apply the override. |
RepricingCondition
Represents the various repricing conditions you can use for a conditional override.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field condition . Represents the types of existing conditional statements. condition can be only one of the following: |
|
skuGroupCondition |
SKU Group condition for override. |
SkuGroupCondition
A condition that applies the override if a line item SKU is found in the SKU group.
JSON representation |
---|
{ "skuGroup": string } |
Fields | |
---|---|
skuGroup |
Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource name of SKU group. Format: accounts/{account}/skuGroups/{skuGroup}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041". |