Class: Google::Cloud::Channel::V1::RepricingConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/channel/v1/repricing.rb

Overview

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

Defined Under Namespace

Classes: ChannelPartnerGranularity, EntitlementGranularity

Instance Attribute Summary collapse

Instance Attribute Details

#adjustment::Google::Cloud::Channel::V1::RepricingAdjustment

Returns Required. Information about the adjustment.

Returns:



110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'proto_docs/google/cloud/channel/v1/repricing.rb', line 110

class RepricingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Applies the repricing configuration at the entitlement level.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  class EntitlementGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Applies the repricing configuration at the channel partner level.
  # The channel partner value is derived from the resource name. Takes an
  # empty json object.
  # Deprecated: This is no longer supported. Use
  # {::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity RepricingConfig.EntitlementGranularity}
  # instead.
  # @deprecated This message is deprecated and may be removed in the next major version update.
  class ChannelPartnerGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#channel_partner_granularity::Google::Cloud::Channel::V1::RepricingConfig::ChannelPartnerGranularity

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns 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.

Returns:



110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'proto_docs/google/cloud/channel/v1/repricing.rb', line 110

class RepricingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Applies the repricing configuration at the entitlement level.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  class EntitlementGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Applies the repricing configuration at the channel partner level.
  # The channel partner value is derived from the resource name. Takes an
  # empty json object.
  # Deprecated: This is no longer supported. Use
  # {::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity RepricingConfig.EntitlementGranularity}
  # instead.
  # @deprecated This message is deprecated and may be removed in the next major version update.
  class ChannelPartnerGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#conditional_overrides::Array<::Google::Cloud::Channel::V1::ConditionalOverride>

Returns 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.



110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'proto_docs/google/cloud/channel/v1/repricing.rb', line 110

class RepricingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Applies the repricing configuration at the entitlement level.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  class EntitlementGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Applies the repricing configuration at the channel partner level.
  # The channel partner value is derived from the resource name. Takes an
  # empty json object.
  # Deprecated: This is no longer supported. Use
  # {::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity RepricingConfig.EntitlementGranularity}
  # instead.
  # @deprecated This message is deprecated and may be removed in the next major version update.
  class ChannelPartnerGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#effective_invoice_month::Google::Type::Date

Returns 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.



110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'proto_docs/google/cloud/channel/v1/repricing.rb', line 110

class RepricingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Applies the repricing configuration at the entitlement level.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  class EntitlementGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Applies the repricing configuration at the channel partner level.
  # The channel partner value is derived from the resource name. Takes an
  # empty json object.
  # Deprecated: This is no longer supported. Use
  # {::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity RepricingConfig.EntitlementGranularity}
  # instead.
  # @deprecated This message is deprecated and may be removed in the next major version update.
  class ChannelPartnerGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#entitlement_granularity::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity

Returns 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.

Returns:



110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'proto_docs/google/cloud/channel/v1/repricing.rb', line 110

class RepricingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Applies the repricing configuration at the entitlement level.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  class EntitlementGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Applies the repricing configuration at the channel partner level.
  # The channel partner value is derived from the resource name. Takes an
  # empty json object.
  # Deprecated: This is no longer supported. Use
  # {::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity RepricingConfig.EntitlementGranularity}
  # instead.
  # @deprecated This message is deprecated and may be removed in the next major version update.
  class ChannelPartnerGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#rebilling_basis::Google::Cloud::Channel::V1::RebillingBasis

Returns Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.

Returns:



110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'proto_docs/google/cloud/channel/v1/repricing.rb', line 110

class RepricingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Applies the repricing configuration at the entitlement level.
  # @!attribute [rw] entitlement
  #   @return [::String]
  #     Resource name of the entitlement.
  #     Format:
  #     accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
  class EntitlementGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Applies the repricing configuration at the channel partner level.
  # The channel partner value is derived from the resource name. Takes an
  # empty json object.
  # Deprecated: This is no longer supported. Use
  # {::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity RepricingConfig.EntitlementGranularity}
  # instead.
  # @deprecated This message is deprecated and may be removed in the next major version update.
  class ChannelPartnerGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end