Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingCondition
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingCondition
- 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
Represents the various repricing conditions you can use for a conditional override.
Instance Attribute Summary collapse
-
#sku_group_condition ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroupCondition
A condition that applies the override if a line item SKU is found in the SKU group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1RepricingCondition
constructor
A new instance of GoogleCloudChannelV1RepricingCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1RepricingCondition
Returns a new instance of GoogleCloudChannelV1RepricingCondition.
3063 3064 3065 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3063 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sku_group_condition ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroupCondition
A condition that applies the override if a line item SKU is found in the SKU
group.
Corresponds to the JSON property skuGroupCondition
3061 3062 3063 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3061 def sku_group_condition @sku_group_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3068 3069 3070 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3068 def update!(**args) @sku_group_condition = args[:sku_group_condition] if args.key?(:sku_group_condition) end |