Class: Google::Apis::DisplayvideoV1::LineItemFlight
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::LineItemFlight
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb
Overview
Settings that control the active duration of a line item.
Instance Attribute Summary collapse
-
#date_range ⇒ Google::Apis::DisplayvideoV1::DateRange
A date range.
-
#flight_date_type ⇒ String
Required.
-
#trigger_id ⇒ Fixnum
The ID of the manual trigger associated with the line item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LineItemFlight
constructor
A new instance of LineItemFlight.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LineItemFlight
Returns a new instance of LineItemFlight.
5490 5491 5492 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5490 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date_range ⇒ Google::Apis::DisplayvideoV1::DateRange
A date range.
Corresponds to the JSON property dateRange
5474 5475 5476 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5474 def date_range @date_range end |
#flight_date_type ⇒ String
Required. The type of the line item's flight dates.
Corresponds to the JSON property flightDateType
5479 5480 5481 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5479 def flight_date_type @flight_date_type end |
#trigger_id ⇒ Fixnum
The ID of the manual trigger associated with the line item. * Required when
flight_date_type is LINE_ITEM_FLIGHT_DATE_TYPE_TRIGGER
. Must not be set
otherwise. * When set, the line item's flight dates are inherited from its
parent insertion order. * Active line items will spend when the selected
trigger is activated within the parent insertion order's flight dates.
Corresponds to the JSON property triggerId
5488 5489 5490 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5488 def trigger_id @trigger_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5495 5496 5497 5498 5499 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5495 def update!(**args) @date_range = args[:date_range] if args.key?(:date_range) @flight_date_type = args[:flight_date_type] if args.key?(:flight_date_type) @trigger_id = args[:trigger_id] if args.key?(:trigger_id) end |