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:



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'proto_docs/google/cloud/channel/v1/repricing.rb', line 93

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.
  class ChannelPartnerGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

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

Returns Applies the repricing configuration at the channel partner level. This is the only supported value for ChannelPartnerRepricingConfig.

Returns:



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'proto_docs/google/cloud/channel/v1/repricing.rb', line 93

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



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'proto_docs/google/cloud/channel/v1/repricing.rb', line 93

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



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'proto_docs/google/cloud/channel/v1/repricing.rb', line 93

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.
  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. This is the only supported value for CustomerRepricingConfig.

Returns:



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'proto_docs/google/cloud/channel/v1/repricing.rb', line 93

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



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'proto_docs/google/cloud/channel/v1/repricing.rb', line 93

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.
  class ChannelPartnerGranularity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end