Class: Google::Apis::ContentV2::CutoffTime
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::CutoffTime
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#hour ⇒ Fixnum
Hour of the cutoff time until which an order has to be placed to be processed in the same day.
-
#minute ⇒ Fixnum
Minute of the cutoff time until which an order has to be placed to be processed in the same day.
-
#timezone ⇒ String
Timezone identifier for the cutoff time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CutoffTime
constructor
A new instance of CutoffTime.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CutoffTime
Returns a new instance of CutoffTime.
1811 1812 1813 |
# File 'lib/google/apis/content_v2/classes.rb', line 1811 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hour ⇒ Fixnum
Hour of the cutoff time until which an order has to be placed to be processed
in the same day. Required.
Corresponds to the JSON property hour
1797 1798 1799 |
# File 'lib/google/apis/content_v2/classes.rb', line 1797 def hour @hour end |
#minute ⇒ Fixnum
Minute of the cutoff time until which an order has to be placed to be
processed in the same day. Required.
Corresponds to the JSON property minute
1803 1804 1805 |
# File 'lib/google/apis/content_v2/classes.rb', line 1803 def minute @minute end |
#timezone ⇒ String
Timezone identifier for the cutoff time. A list of identifiers can be found in
the AdWords API documentation. E.g. "Europe/Zurich". Required.
Corresponds to the JSON property timezone
1809 1810 1811 |
# File 'lib/google/apis/content_v2/classes.rb', line 1809 def timezone @timezone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1816 1817 1818 1819 1820 |
# File 'lib/google/apis/content_v2/classes.rb', line 1816 def update!(**args) @hour = args[:hour] if args.key?(:hour) @minute = args[:minute] if args.key?(:minute) @timezone = args[:timezone] if args.key?(:timezone) end |