Class: Google::Apis::DoubleclickbidmanagerV1::UploadLineItemsRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DoubleclickbidmanagerV1::UploadLineItemsRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/doubleclickbidmanager_v1/classes.rb,
 generated/google/apis/doubleclickbidmanager_v1/representations.rb,
 generated/google/apis/doubleclickbidmanager_v1/representations.rb
Overview
Request to upload line items.
Instance Attribute Summary collapse
- 
  
    
      #dry_run  ⇒ Boolean 
    
    
      (also: #dry_run?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Set to true to get upload status without actually persisting the line items. 
- 
  
    
      #format  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Format the line items are in. 
- 
  
    
      #line_items  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Line items in CSV to upload. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UploadLineItemsRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UploadLineItemsRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UploadLineItemsRequest
Returns a new instance of UploadLineItemsRequest
| 744 745 746 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 744 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#dry_run ⇒ Boolean Also known as: dry_run?
Set to true to get upload status without actually persisting the line items.
Corresponds to the JSON property dryRun
| 730 731 732 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 730 def dry_run @dry_run end | 
#format ⇒ String
Format the line items are in. Default to CSV.
Corresponds to the JSON property format
| 736 737 738 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 736 def format @format end | 
#line_items ⇒ String
Line items in CSV to upload. Refer to  Entity Write File Format for more
information on file format.
Corresponds to the JSON property lineItems
| 742 743 744 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 742 def line_items @line_items end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 749 750 751 752 753 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 749 def update!(**args) @dry_run = args[:dry_run] if args.key?(:dry_run) @format = args[:format] if args.key?(:format) @line_items = args[:line_items] if args.key?(:line_items) end |