Class: Google::Apis::ContentV2_1::RepricingRuleEffectiveTime

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RepricingRuleEffectiveTime

Returns a new instance of RepricingRuleEffectiveTime.



11160
11161
11162
# File 'generated/google/apis/content_v2_1/classes.rb', line 11160

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#fixed_time_periodsArray<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



11158
11159
11160
# File 'generated/google/apis/content_v2_1/classes.rb', line 11158

def fixed_time_periods
  @fixed_time_periods
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11165
11166
11167
# File 'generated/google/apis/content_v2_1/classes.rb', line 11165

def update!(**args)
  @fixed_time_periods = args[:fixed_time_periods] if args.key?(:fixed_time_periods)
end