lib/google/cloud/channel/v1/repricing_pb.rb in google-cloud-channel-v1-0.14.0 vs lib/google/cloud/channel/v1/repricing_pb.rb in google-cloud-channel-v1-0.15.0
- old
+ new
@@ -23,10 +23,11 @@
end
add_message "google.cloud.channel.v1.RepricingConfig" do
optional :effective_invoice_month, :message, 1, "google.type.Date"
optional :adjustment, :message, 2, "google.cloud.channel.v1.RepricingAdjustment"
optional :rebilling_basis, :enum, 3, "google.cloud.channel.v1.RebillingBasis"
+ repeated :conditional_overrides, :message, 6, "google.cloud.channel.v1.ConditionalOverride"
oneof :granularity do
optional :entitlement_granularity, :message, 4, "google.cloud.channel.v1.RepricingConfig.EntitlementGranularity"
optional :channel_partner_granularity, :message, 5, "google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity"
end
end
@@ -41,10 +42,23 @@
end
end
add_message "google.cloud.channel.v1.PercentageAdjustment" do
optional :percentage, :message, 2, "google.type.Decimal"
end
+ add_message "google.cloud.channel.v1.ConditionalOverride" do
+ optional :adjustment, :message, 1, "google.cloud.channel.v1.RepricingAdjustment"
+ optional :rebilling_basis, :enum, 2, "google.cloud.channel.v1.RebillingBasis"
+ optional :repricing_condition, :message, 3, "google.cloud.channel.v1.RepricingCondition"
+ end
+ add_message "google.cloud.channel.v1.RepricingCondition" do
+ oneof :condition do
+ optional :sku_group_condition, :message, 1, "google.cloud.channel.v1.SkuGroupCondition"
+ end
+ end
+ add_message "google.cloud.channel.v1.SkuGroupCondition" do
+ optional :sku_group, :string, 1
+ end
add_enum "google.cloud.channel.v1.RebillingBasis" do
value :REBILLING_BASIS_UNSPECIFIED, 0
value :COST_AT_LIST, 1
value :DIRECT_CUSTOMER_COST, 2
end
@@ -60,9 +74,12 @@
RepricingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.RepricingConfig").msgclass
RepricingConfig::EntitlementGranularity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.RepricingConfig.EntitlementGranularity").msgclass
RepricingConfig::ChannelPartnerGranularity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity").msgclass
RepricingAdjustment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.RepricingAdjustment").msgclass
PercentageAdjustment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.PercentageAdjustment").msgclass
+ ConditionalOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ConditionalOverride").msgclass
+ RepricingCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.RepricingCondition").msgclass
+ SkuGroupCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.SkuGroupCondition").msgclass
RebillingBasis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.RebillingBasis").enummodule
end
end
end
end