Class: Google::Apis::DisplayvideoV2::BulkUpdateLineItemsResponse

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

Response message for LineItemService.BulkUpdateLineItems.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkUpdateLineItemsResponse

Returns a new instance of BulkUpdateLineItemsResponse.



2354
2355
2356
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2354

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

Instance Attribute Details

#errorsArray<Google::Apis::DisplayvideoV2::Status>

Errors returned by line items that failed to update. Corresponds to the JSON property errors



2335
2336
2337
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2335

def errors
  @errors
end

#failed_line_item_idsArray<Fixnum>

The IDs of line items that failed to update. Corresponds to the JSON property failedLineItemIds

Returns:

  • (Array<Fixnum>)


2340
2341
2342
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2340

def failed_line_item_ids
  @failed_line_item_ids
end

#skipped_line_item_idsArray<Fixnum>

The IDs of line items that are skipped for updates. For example, unnecessary mutates that will result in effectively no changes to line items will be skipped and corresponding line item IDs can be tracked here. Corresponds to the JSON property skippedLineItemIds

Returns:

  • (Array<Fixnum>)


2347
2348
2349
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2347

def skipped_line_item_ids
  @skipped_line_item_ids
end

#updated_line_item_idsArray<Fixnum>

The IDs of successfully updated line items. Corresponds to the JSON property updatedLineItemIds

Returns:

  • (Array<Fixnum>)


2352
2353
2354
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2352

def updated_line_item_ids
  @updated_line_item_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2359
2360
2361
2362
2363
2364
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2359

def update!(**args)
  @errors = args[:errors] if args.key?(:errors)
  @failed_line_item_ids = args[:failed_line_item_ids] if args.key?(:failed_line_item_ids)
  @skipped_line_item_ids = args[:skipped_line_item_ids] if args.key?(:skipped_line_item_ids)
  @updated_line_item_ids = args[:updated_line_item_ids] if args.key?(:updated_line_item_ids)
end