class Google::Apis::DisplayvideoV1::LineItemFlight

Settings that control the active duration of a line item.

Attributes

date_range[RW]

A date range. Corresponds to the JSON property `dateRange` @return [Google::Apis::DisplayvideoV1::DateRange]

flight_date_type[RW]

Required. The type of the line item's flight dates. Corresponds to the JSON property `flightDateType` @return [String]

trigger_id[RW]

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` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 6138
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 6143
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