Class: Google::Apis::DisplayvideoV3::BulkUpdateLineItemsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::BulkUpdateLineItemsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Request message for LineItemService.BulkUpdateLineItems.
Instance Attribute Summary collapse
-
#line_item_ids ⇒ Array<Fixnum>
Required.
-
#target_line_item ⇒ Google::Apis::DisplayvideoV3::LineItem
A single line item.
-
#update_mask ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BulkUpdateLineItemsRequest
constructor
A new instance of BulkUpdateLineItemsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BulkUpdateLineItemsRequest
Returns a new instance of BulkUpdateLineItemsRequest.
2872 2873 2874 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2872 def initialize(**args) update!(**args) end |
Instance Attribute Details
#line_item_ids ⇒ Array<Fixnum>
Required. IDs of line items to update.
Corresponds to the JSON property lineItemIds
2859 2860 2861 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2859 def line_item_ids @line_item_ids end |
#target_line_item ⇒ Google::Apis::DisplayvideoV3::LineItem
A single line item.
Corresponds to the JSON property targetLineItem
2864 2865 2866 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2864 def target_line_item @target_line_item end |
#update_mask ⇒ String
Required. A field mask identifying which fields to update. Only the following
fields are currently supported: * entityStatus
Corresponds to the JSON property updateMask
2870 2871 2872 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2870 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2877 2878 2879 2880 2881 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2877 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 |