pub struct GoogleCloudChannelV1RepricingConfig {
pub adjustment: Option<GoogleCloudChannelV1RepricingAdjustment>,
pub channel_partner_granularity: Option<GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity>,
pub conditional_overrides: Option<Vec<GoogleCloudChannelV1ConditionalOverride>>,
pub effective_invoice_month: Option<GoogleTypeDate>,
pub entitlement_granularity: Option<GoogleCloudChannelV1RepricingConfigEntitlementGranularity>,
pub rebilling_basis: Option<String>,
}
Expand description
Configuration for repricing a Google bill over a period of time.
This type is not used in any activity, and only used as part of another schema.
Fields§
§adjustment: Option<GoogleCloudChannelV1RepricingAdjustment>
Required. Information about the adjustment.
channel_partner_granularity: Option<GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity>
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.
conditional_overrides: Option<Vec<GoogleCloudChannelV1ConditionalOverride>>
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.
effective_invoice_month: Option<GoogleTypeDate>
Required. The YearMonth when these adjustments activate. The Day field needs to be “0” since we only accept YearMonth repricing boundaries.
entitlement_granularity: Option<GoogleCloudChannelV1RepricingConfigEntitlementGranularity>
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.
rebilling_basis: Option<String>
Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.
Trait Implementations§
source§impl Clone for GoogleCloudChannelV1RepricingConfig
impl Clone for GoogleCloudChannelV1RepricingConfig
source§fn clone(&self) -> GoogleCloudChannelV1RepricingConfig
fn clone(&self) -> GoogleCloudChannelV1RepricingConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more