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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb

Overview

A filtering option for filtering on Inventory Source entities.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InventorySourceFilter

Returns a new instance of InventorySourceFilter.



177
178
179
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 177

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


175
176
177
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 175

def inventory_source_ids
  @inventory_source_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



182
183
184
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 182

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