Class: Google::Apis::DisplayvideoV2::BulkEditAssignedTargetingOptionsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkEditAssignedTargetingOptionsResponse

Returns a new instance of BulkEditAssignedTargetingOptionsResponse.



1912
1913
1914
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1912

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

Instance Attribute Details

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

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



1900
1901
1902
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1900

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>)


1905
1906
1907
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1905

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>)


1910
1911
1912
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1910

def updated_line_item_ids
  @updated_line_item_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1917
1918
1919
1920
1921
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1917

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