class Google::Apis::ContentV2_1::RepricingRuleEffectiveTimeFixedTimePeriod
Definition of a fixed time period.
Attributes
end_time[RW]
The end time (exclusive) of the period. It can only be hour granularity. Corresponds to the JSON property `endTime` @return [String]
start_time[RW]
The start time (inclusive) of the period. It can only be hour granularity. Corresponds to the JSON property `startTime` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 12492 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 12497 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) end