Class: Google::Apis::DisplayvideoV3::InventorySourceFilter

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

Overview

A filtering option for filtering on Inventory Source entities.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InventorySourceFilter

Returns a new instance of InventorySourceFilter.



7610
7611
7612
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7610

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

Instance Attribute Details

#inventory_source_idsArray<Fixnum>

Inventory Sources to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Leave empty to download all Inventory Sources for the selected Advertiser or Partner. Corresponds to the JSON property inventorySourceIds

Returns:

  • (Array<Fixnum>)


7608
7609
7610
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7608

def inventory_source_ids
  @inventory_source_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7615
7616
7617
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7615

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