Class: Google::Apis::DisplayvideoV2::GenerateDefaultLineItemRequest
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::GenerateDefaultLineItemRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
Request message for LineItemService.GenerateDefaultLineItem.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Required.
-
#insertion_order_id ⇒ Fixnum
Required.
-
#line_item_type ⇒ String
Required.
-
#mobile_app ⇒ Google::Apis::DisplayvideoV2::MobileApp
A mobile app promoted by a mobile app install line item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateDefaultLineItemRequest
constructor
A new instance of GenerateDefaultLineItemRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateDefaultLineItemRequest
Returns a new instance of GenerateDefaultLineItemRequest.
5941 5942 5943 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5941 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
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
5924 5925 5926 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5924 def display_name @display_name end |
#insertion_order_id ⇒ Fixnum
Required. The unique ID of the insertion order that the line item belongs to.
Corresponds to the JSON property insertionOrderId
5929 5930 5931 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5929 def insertion_order_id @insertion_order_id end |
#line_item_type ⇒ String
Required. The type of the line item.
Corresponds to the JSON property lineItemType
5934 5935 5936 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5934 def line_item_type @line_item_type end |
#mobile_app ⇒ Google::Apis::DisplayvideoV2::MobileApp
A mobile app promoted by a mobile app install line item.
Corresponds to the JSON property mobileApp
5939 5940 5941 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5939 def mobile_app @mobile_app end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5946 5947 5948 5949 5950 5951 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5946 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 |