Class: Google::Apis::ContentV2_1::CutoffTime
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::CutoffTime
- 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 more...
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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ CutoffTime
Returns a new instance of CutoffTime
1536 1537 1538 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1536 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
1522 1523 1524 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1522 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
1528 1529 1530 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1528 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
1534 1535 1536 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1534 def timezone @timezone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1541 1542 1543 1544 1545 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1541 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 |