Class: Google::Apis::ContentV2_1::RepricingRuleEffectiveTime
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::RepricingRuleEffectiveTime
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#fixed_time_periods ⇒ Array<Google::Apis::ContentV2_1::RepricingRuleEffectiveTimeFixedTimePeriod>
A list of fixed time periods combined with OR.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RepricingRuleEffectiveTime
constructor
A new instance of RepricingRuleEffectiveTime.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RepricingRuleEffectiveTime
Returns a new instance of RepricingRuleEffectiveTime.
12468 12469 12470 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12468 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fixed_time_periods ⇒ Array<Google::Apis::ContentV2_1::RepricingRuleEffectiveTimeFixedTimePeriod>
A list of fixed time periods combined with OR. The maximum number of entries
is limited to 5.
Corresponds to the JSON property fixedTimePeriods
12466 12467 12468 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12466 def fixed_time_periods @fixed_time_periods end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12473 12474 12475 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12473 def update!(**args) @fixed_time_periods = args[:fixed_time_periods] if args.key?(:fixed_time_periods) end |