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.
11851 11852 11853 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11851 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
11849 11850 11851 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11849 def fixed_time_periods @fixed_time_periods end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11856 11857 11858 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11856 def update!(**args) @fixed_time_periods = args[:fixed_time_periods] if args.key?(:fixed_time_periods) end |