Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::RepricingConfig.
Configuration for repricing a Google bill over a period of time.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#adjustment
def adjustment() -> ::Google::Cloud::Channel::V1::RepricingAdjustment
Returns
- (::Google::Cloud::Channel::V1::RepricingAdjustment) — Required. Information about the adjustment.
#adjustment=
def adjustment=(value) -> ::Google::Cloud::Channel::V1::RepricingAdjustment
Parameter
- value (::Google::Cloud::Channel::V1::RepricingAdjustment) — Required. Information about the adjustment.
Returns
- (::Google::Cloud::Channel::V1::RepricingAdjustment) — Required. Information about the adjustment.
#channel_partner_granularity
def channel_partner_granularity() -> ::Google::Cloud::Channel::V1::RepricingConfig::ChannelPartnerGranularity
Returns
- (::Google::Cloud::Channel::V1::RepricingConfig::ChannelPartnerGranularity) — Applies the repricing configuration at the channel partner level. This is the only supported value for ChannelPartnerRepricingConfig.
#channel_partner_granularity=
def channel_partner_granularity=(value) -> ::Google::Cloud::Channel::V1::RepricingConfig::ChannelPartnerGranularity
Parameter
- value (::Google::Cloud::Channel::V1::RepricingConfig::ChannelPartnerGranularity) — Applies the repricing configuration at the channel partner level. This is the only supported value for ChannelPartnerRepricingConfig.
Returns
- (::Google::Cloud::Channel::V1::RepricingConfig::ChannelPartnerGranularity) — Applies the repricing configuration at the channel partner level. This is the only supported value for ChannelPartnerRepricingConfig.
#conditional_overrides
def conditional_overrides() -> ::Array<::Google::Cloud::Channel::V1::ConditionalOverride>
Returns
- (::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.
#conditional_overrides=
def conditional_overrides=(value) -> ::Array<::Google::Cloud::Channel::V1::ConditionalOverride>
Parameter
- value (::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.
Returns
- (::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.
#effective_invoice_month
def effective_invoice_month() -> ::Google::Type::Date
Returns
- (::Google::Type::Date) — Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
#effective_invoice_month=
def effective_invoice_month=(value) -> ::Google::Type::Date
Parameter
- value (::Google::Type::Date) — Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
Returns
- (::Google::Type::Date) — Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
#entitlement_granularity
def entitlement_granularity() -> ::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity
Returns
- (::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity) — Applies the repricing configuration at the entitlement level. This is the only supported value for CustomerRepricingConfig.
#entitlement_granularity=
def entitlement_granularity=(value) -> ::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity
Parameter
- value (::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity) — Applies the repricing configuration at the entitlement level. This is the only supported value for CustomerRepricingConfig.
Returns
- (::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity) — Applies the repricing configuration at the entitlement level. This is the only supported value for CustomerRepricingConfig.
#rebilling_basis
def rebilling_basis() -> ::Google::Cloud::Channel::V1::RebillingBasis
Returns
- (::Google::Cloud::Channel::V1::RebillingBasis) — Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.
#rebilling_basis=
def rebilling_basis=(value) -> ::Google::Cloud::Channel::V1::RebillingBasis
Parameter
- value (::Google::Cloud::Channel::V1::RebillingBasis) — Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.
Returns
- (::Google::Cloud::Channel::V1::RebillingBasis) — Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.