NAME

Google::Cloud::Channel::V1::Repricing - Compiled Protocol Buffers messages for google/cloud/channel/v1/repricing.proto

SYNOPSIS

use Google::Cloud::Channel::V1::Repricing;

my $msg = Google::Cloud::Channel::V1::Repricing::CustomerRepricingConfig->new({
    name => $name,
    repricing_config => $repricing_config,
    update_time => $update_time,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Channel::V1::Repricing::CustomerRepricingConfig->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/channel/v1/repricing.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Channel::V1::Repricing::CustomerRepricingConfig

Configuration for how a reseller will reprice a Customer.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. Resource name of the CustomerRepricingConfig. Format: accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.

  • $msg->repricing_config() / $msg->repricing_config($value)

    Type: Message (Google::Cloud::Channel::V1::Repricing::RepricingConfig)

    Required. The configuration for bill modifications made by a reseller before sending it to customers.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp of an update to the repricing rule. If `update_time` is after [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set mid-month.

Google::Cloud::Channel::V1::Repricing::ChannelPartnerRepricingConfig

Configuration for how a distributor will rebill a channel partner (also known as a distributor-authorized reseller).

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. Resource name of the ChannelPartnerRepricingConfig. Format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.

  • $msg->repricing_config() / $msg->repricing_config($value)

    Type: Message (Google::Cloud::Channel::V1::Repricing::RepricingConfig)

    Required. The configuration for bill modifications made by a reseller before sending it to ChannelPartner.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp of an update to the repricing rule. If `update_time` is after [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set mid-month.

Google::Cloud::Channel::V1::Repricing::RepricingConfig

Configuration for repricing a Google bill over a period of time.

Inherits from Protobuf::Message.

Accessors

  • $msg->entitlement_granularity() / $msg->entitlement_granularity($value)

    Type: Message (Google::Cloud::Channel::V1::Repricing::RepricingConfig::EntitlementGranularity)

    Required. Applies the repricing configuration at the entitlement level.

    Note: If a [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] using [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] becomes effective, then no existing or future [RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity] will apply to the [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. This is the recommended value for both [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] and [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig].

  • $msg->channel_partner_granularity() / $msg->channel_partner_granularity($value)

    Type: Message (Google::Cloud::Channel::V1::Repricing::RepricingConfig::ChannelPartnerGranularity)

    Applies the repricing configuration at the channel partner level. Only [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] supports this value. Deprecated: This is no longer supported. Use [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity] instead.

  • $msg->effective_invoice_month() / $msg->effective_invoice_month($value)

    Type: Message (Google::Type::Date::Date)

    Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.

  • $msg->adjustment() / $msg->adjustment($value)

    Type: Message (Google::Cloud::Channel::V1::Repricing::RepricingAdjustment)

    Required. Information about the adjustment.

  • $msg->rebilling_basis() / $msg->rebilling_basis($value)

    Type: Enum (Google::Cloud::Channel::V1::RebillingBasis)

    Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost based on repricing costs you will apply.

  • $msg->conditional_overrides() / $msg->conditional_overrides($value)

    Type: Message (Google::Cloud::Channel::V1::Repricing::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.

Google::Cloud::Channel::V1::Repricing::RepricingAdjustment

A type that represents the various adjustments you can apply to a bill.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Channel::V1::Repricing::PercentageAdjustment

An adjustment that applies a flat markup or markdown to an entire bill.

Inherits from Protobuf::Message.

Accessors

  • $msg->percentage() / $msg->percentage($value)

    Type: Message (Google::Type::Decimal::Decimal)

    The percentage of the bill to adjust. For example: Mark down by 1% => "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00"

Google::Cloud::Channel::V1::Repricing::ConditionalOverride

Specifies the override to conditionally apply.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Channel::V1::Repricing::RepricingCondition

Represents the various repricing conditions you can use for a conditional override.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Channel::V1::Repricing::SkuGroupCondition

A condition that applies the override if a line item SKU is found in the SKU group.

Inherits from Protobuf::Message.

Accessors

  • $msg->sku_group() / $msg->sku_group($value)

    Type: String

    Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Channel::V1::Repricing::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.