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
- (::Google::Cloud::Channel::V1::RepricingAdjustment) — Required. Information about the adjustment.
#adjustment=
def adjustment=(value) -> ::Google::Cloud::Channel::V1::RepricingAdjustment
- value (::Google::Cloud::Channel::V1::RepricingAdjustment) — Required. Information about the adjustment.
- (::Google::Cloud::Channel::V1::RepricingAdjustment) — Required. Information about the adjustment.
#channel_partner_granularity
def channel_partner_granularity() -> ::Google::Cloud::Channel::V1::RepricingConfig::ChannelPartnerGranularity
- (::Google::Cloud::Channel::V1::RepricingConfig::ChannelPartnerGranularity) — 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.
#channel_partner_granularity=
def channel_partner_granularity=(value) -> ::Google::Cloud::Channel::V1::RepricingConfig::ChannelPartnerGranularity
- value (::Google::Cloud::Channel::V1::RepricingConfig::ChannelPartnerGranularity) — 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.
- (::Google::Cloud::Channel::V1::RepricingConfig::ChannelPartnerGranularity) — 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
def conditional_overrides() -> ::Array<::Google::Cloud::Channel::V1::ConditionalOverride>
- (::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>
- 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.
- (::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
- (::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
- 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.
- (::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
-
(::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity) — 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.
#entitlement_granularity=
def entitlement_granularity=(value) -> ::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity
-
value (::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity) — 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.
-
(::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity) — 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
def rebilling_basis() -> ::Google::Cloud::Channel::V1::RebillingBasis
- (::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
- 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.
- (::Google::Cloud::Channel::V1::RebillingBasis) — Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.