class Google::Apis::DisplayvideoV1::GenerateDefaultLineItemRequest
Request message for LineItemService.GenerateDefaultLineItem.
Attributes
display_name[RW]
Required. The display name of the line item. Must be UTF-8 encoded with a maximum size of 240 bytes. Corresponds to the JSON property `displayName` @return [String]
insertion_order_id[RW]
Required. The unique ID of the insertion order that the line item belongs to. Corresponds to the JSON property `insertionOrderId` @return [Fixnum]
line_item_type[RW]
Required. The type of the line item. Corresponds to the JSON property `lineItemType` @return [String]
mobile_app[RW]
A mobile app promoted by a mobile app install line item. Corresponds to the JSON property `mobileApp` @return [Google::Apis::DisplayvideoV1::MobileApp]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 4725 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 4730 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @insertion_order_id = args[:insertion_order_id] if args.key?(:insertion_order_id) @line_item_type = args[:line_item_type] if args.key?(:line_item_type) @mobile_app = args[:mobile_app] if args.key?(:mobile_app) end