Class: Google::Apis::DisplayvideoV3::BulkEditAssignedTargetingOptionsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkEditAssignedTargetingOptionsResponse

Returns a new instance of BulkEditAssignedTargetingOptionsResponse.



3275
3276
3277
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3275

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

Instance Attribute Details

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

The error information for each line item that failed to update. Corresponds to the JSON property errors



3263
3264
3265
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3263

def errors
  @errors
end

#failed_line_item_idsArray<Fixnum>

Output only. The IDs of the line items which failed. Corresponds to the JSON property failedLineItemIds

Returns:

  • (Array<Fixnum>)


3268
3269
3270
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3268

def failed_line_item_ids
  @failed_line_item_ids
end

#updated_line_item_idsArray<Fixnum>

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

Returns:

  • (Array<Fixnum>)


3273
3274
3275
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3273

def updated_line_item_ids
  @updated_line_item_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3280
3281
3282
3283
3284
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3280

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)
  @updated_line_item_ids = args[:updated_line_item_ids] if args.key?(:updated_line_item_ids)
end