Class: Google::Apis::DisplayvideoV1::InventorySourceFilter

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/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.



6055
6056
6057
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6055

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


6053
6054
6055
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6053

def inventory_source_ids
  @inventory_source_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6060
6061
6062
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6060

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