Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ChannelPartnerRepricingConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1ChannelPartnerRepricingConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb
Overview
Configuration for how a distributor will rebill a channel partner (also known as a distributor-authorized reseller).
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#repricing_config ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfig
Configuration for repricing a Google bill over a period of time.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1ChannelPartnerRepricingConfig
constructor
A new instance of GoogleCloudChannelV1ChannelPartnerRepricingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1ChannelPartnerRepricingConfig
Returns a new instance of GoogleCloudChannelV1ChannelPartnerRepricingConfig.
332 333 334 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 332 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. Resource name of the ChannelPartnerRepricingConfig. Format:
accounts/account_id
/channelPartnerLinks/channel_partner_id
/
channelPartnerRepricingConfigs/id
.
Corresponds to the JSON property name
318 319 320 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 318 def name @name end |
#repricing_config ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfig
Configuration for repricing a Google bill over a period of time.
Corresponds to the JSON property repricingConfig
323 324 325 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 323 def repricing_config @repricing_config end |
#update_time ⇒ String
Output only. Timestamp of an update to the repricing rule. If update_time
is
after RepricingConfig.effective_invoice_month then it indicates this was set
mid-month.
Corresponds to the JSON property updateTime
330 331 332 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 330 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
337 338 339 340 341 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 337 def update!(**args) @name = args[:name] if args.key?(:name) @repricing_config = args[:repricing_config] if args.key?(:repricing_config) @update_time = args[:update_time] if args.key?(:update_time) end |