Skip to content

Commit

Permalink
feat: mark ChannelPartnerGranularity as deprecated and offer alternat…
Browse files Browse the repository at this point in the history
…ives

PiperOrigin-RevId: 563530090
  • Loading branch information
Google APIs authored and Copybara-Service committed Sep 7, 2023
1 parent 1d7c70b commit a549fb2
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions google/cloud/channel/v1/repricing.proto
Expand Up @@ -106,7 +106,12 @@ message RepricingConfig {
// Applies the repricing configuration at the channel partner level.
// The channel partner value is derived from the resource name. Takes an
// empty json object.
message ChannelPartnerGranularity {}
// Deprecated: This is no longer supported. Use
// [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity]
// instead.
message ChannelPartnerGranularity {
option deprecated = true;
}

// Required. Defines the granularity for repricing.
oneof granularity {
Expand All @@ -129,8 +134,11 @@ message RepricingConfig {
// Applies the repricing configuration at the channel partner level.
// Only
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
// supports this value.
ChannelPartnerGranularity channel_partner_granularity = 5;
// supports this value. Deprecated: This is no longer supported. Use
// [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity]
// instead.
ChannelPartnerGranularity channel_partner_granularity = 5
[deprecated = true];
}

// Required. The YearMonth when these adjustments activate. The Day field
Expand Down

0 comments on commit a549fb2

Please sign in to comment.