Class: Google::Apis::DisplayvideoV2::BulkUpdateLineItemsRequest

Inherits:
Object
  • Object
show all
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.BulkUpdateLineItems.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkUpdateLineItemsRequest

Returns a new instance of BulkUpdateLineItemsRequest.



2251
2252
2253
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2251

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#line_item_idsArray<Fixnum>

Required. IDs of line items to update. Corresponds to the JSON property lineItemIds

Returns:

  • (Array<Fixnum>)


2238
2239
2240
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2238

def line_item_ids
  @line_item_ids
end

#target_line_itemGoogle::Apis::DisplayvideoV2::LineItem

A single line item. Corresponds to the JSON property targetLineItem



2243
2244
2245
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2243

def target_line_item
  @target_line_item
end

#update_maskString

Required. A field mask identifying which fields to update. Only the following fields are currently supported: * entityStatus Corresponds to the JSON property updateMask

Returns:

  • (String)


2249
2250
2251
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2249

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2256
2257
2258
2259
2260
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2256

def update!(**args)
  @line_item_ids = args[:line_item_ids] if args.key?(:line_item_ids)
  @target_line_item = args[:target_line_item] if args.key?(:target_line_item)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end